Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

removing advance search link


toby_nator

Recommended Posts

I have downloaded an add on that allows my customers to automatically search the product description as well as the title.

This means there is no need for the Advanced Searchlink in the quick find box any longer. In fact I want to totally disable the Advanced Search from any other parts of the site as well because I don't want my customers to see the names of the Manufacturers.

 

Anyone out there that can help me along with this?

 

Toby

Link to comment
Share on other sites

Try going to www.w3schools.com and searching for

 

php comment

 

Depends where the code for the box is, try /includes/column_left.php column_right.php or header.php

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Try going to www.w3schools.com and searching for

 

php comment

 

Depends where the code for the box is, try /includes/column_left.php column_right.php or header.php

 

G

 

Thanks Geoffrey

 

I found a bit of code that I could delete in includes/boxes/search.php and that seems to work fine now.

 

Thanks for the link to the tutor site, I haven't come across that one before and will have a look if it will be able to teach me a bit of the coding for php (I have a lot to learn)

 

Toby

Link to comment
Share on other sites

  • 1 month later...

Thanks Geoffrey

 

I found a bit of code that I could delete in includes/boxes/search.php and that seems to work fine now.

 

Thanks for the link to the tutor site, I haven't come across that one before and will have a look if it will be able to teach me a bit of the coding for php (I have a lot to learn)

 

Toby

 

Please what's the part of code that you deleted?

thanks

Link to comment
Share on other sites

  • 1 year later...

In case anyone does need to know where to remove this bit of code, in version 2.2.3:

 

go here: includes/modules/boxes/bm_search.php

 

Saving the original file!

 

Then about line 42 I deleted the following:

 

<div class="fl_left advserch"><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . MODULE_BOXES_SEARCH_BOX_ADVANCED_SEARCH . '</a></div>

 

 

 

Uploaded it, and refreshed my cart. The link for Advanced Search was gone and cart still works! Amazing!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...