Jump to content
Sign in to follow this  
toby_nator

removing advance search link

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

Share this post


Link to post
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 ======>>>>>.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
Guest acaso

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

Share this post


Link to post
Share on other sites

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!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×