Jump to content

Remove the sort by and compare buttons


Recommended Posts

  • 2 weeks later...
  • 2 weeks later...
  • 3 weeks later...

Hi everyone,

as for the removal of the compare functionality, you can disable that by setting the "max items in the comparator" in the back office to 0.
That'll automatically make the module disappear.

back office » preferences » products » max items in the comparator

As for the sorting functionality, remove the following code from your theme's category.tpl:

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



If that does not work (do not forget to delete smarty's cache before testing!!) your theme might call product-sort.tpl from a different location. In that case you can add an empty file named product-sort.tpl to you theme or delete the contents of your themes preexisting product-sort.tpl.

Link to comment
Share on other sites

  • 10 months later...
  • 1 month later...
  • 1 month later...

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