Jump to content

how to edit the property of the compare button?


Recommended Posts

i want to delete 1 of the compare button in my product list leaving only 1 compare button at the bottom of the page.

 

former:

compare button

--------------

product |

-------------

compare button

 

i want it to look like:

------------

product |

------------

compare button

 

any idea which .tpl to edit?

product-compare, product-comparison, product, product-list

 

i really hope someone can help me.. thanks

Link to comment
Share on other sites

You can try the following. Edit the category.tpl file of the theme that you use. Find the following code:

 

{if $products}
   {include file="$tpl_dir./product-compare.tpl"}
   {include file="$tpl_dir./product-sort.tpl"}
   {include file="$tpl_dir./product-list.tpl" products=$products}
   {include file="$tpl_dir./product-compare.tpl"}
   {include file="$tpl_dir./pagination.tpl"}

 

and comment out or delete the first instance of {include file="$tpl_dir./product-compare.tpl"}.

 

Hope this helps.

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