Jump to content

Add Favorite Product on product-list.tpl for each product.


Recommended Posts

Hi, I'd like to add 'Favorite Product' on product-list.tpl for each product.

I've tried to add below code on product-list.tpl but seem not working

<li id="favoriteproducts_block_extra_added">
{l s='Remove this product from my favorite\'s list. ' mod='favoriteproducts'}
</li>
<li id="favoriteproducts_block_extra_removed">
{l s='Add this product to my list of favorites.' mod='favoriteproducts'}
</li>

there's script error which can't get the value for 'favorite_products_id_product'.

 

please give me some advice how to fix this problem or are there any method better than this?

Thank you in advance 

 
 

post-569040-0-99219600-1380708353_thumb.png

Link to comment
Share on other sites

  • 1 year 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...