Jump to content

I don't want "sort" and "comparator" in the product list ...


Recommended Posts

... and erased

 

  <a class="button" href="{$product.link|escape:'htmlall':'UTF-8'}" title="{l s='View'}">{l s='View'}</a>
   {if isset($comparator_max_item) && $comparator_max_item}
 <p class="compare"><input type="checkbox" class="comparator" id="comparator_item_{$product.id_product}" value="comparator_item_{$product.id_product}" {if isset($compareProducts) && in_array($product.id_product, $compareProducts)}checked{/if}/> <label for="comparator_item_{$product.id_product}">{l s='Select to compare'}</label></p>
   {/if}

 

from product-list.tpl.

But it has absolutely no effect!

 

Pls. help.

 

"How do I get properly get rid of the sort function as well as the compare function in my product lists?"

Link to comment
Share on other sites

To remove compare

 

Go to BO>Preferences> Product > max items in comparator

Set to 0 to disable this feature

 

To remove 'sort', go to your theme's category.tpl

 

/themes/yourtheme/category.tpl

 

find

{include file="$tpl_dir./product-sort.tpl"}

comment out

 

 {*include file="$tpl_dir./product-sort.tpl"*}

or delete.

 

Hope it helps

 

Note:I use prestashop 1.4.8.2

Edited by halennoor (see edit history)
Link to comment
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
×
×
  • Create New...