Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How do i remove the search link from product filters Rate Topic   - - - - -

 
  • Catch1fish
  • Member
  • Members
  • Join Date: 26-May 09
  • 82 posts

Posted 16 March 2011 - 12:00 AM #1

I have a product filter on most pages using manufacturer names & price, all sweet and working like a charm, but how do I remove the link for the advanced search within the block?

Have looked within the product_filters.tpl & product_filters_extended.tpl but cannot see a reference to it to remove :confused:

Have tried updating

<div class="float-right"><a {if "FILTER_CUSTOM_ADVANCED"|defined}href="{"products.search?advanced_filter=Y"|fn_url}"{else}href="{$filter_qstring|fn_link_attach:"advanced_filter=Y"|fn_url}"{/if} rel="nofollow" class="secondary-link lowercase">{$lang.advanced}</a></div>

and setting "advanced_filter=N"

<div class="float-right"><a {if "FILTER_CUSTOM_ADVANCED"|defined}href="{"products.search?advanced_filter=N"|fn_url}"{else}href="{$filter_qstring|fn_link_attach:"advanced_filter=N"|fn_url}"{/if} rel="nofollow" class="secondary-link lowercase">{$lang.advanced}</a></div>

but this doesnt change it

Has anyone come across this?

Attached Thumbnails

  • filter.png

cs-cart V2.1.4

 
  • whiplash13
  • PM Extraordinaire
  • Members
  • Join Date: 01-Feb 08
  • 704 posts

Posted 16 March 2011 - 02:20 AM #2

Just comment out the line with {* code *}
John
CS Cart 4.2.4

 
  • Catch1fish
  • Member
  • Members
  • Join Date: 26-May 09
  • 82 posts

Posted 16 March 2011 - 12:10 PM #3

Just comment out the line with {* code *}

<ahem> of course, or I could just do the above... many thanks :rolleyes:
cs-cart V2.1.4