• Priority: High
  • Status: Waiting on customer
  • Theme: Modules
  • Assigned To: Fred
  • Private: No
  • Open Date: 20.11.20, 03:36
  • Opened by: Igor Popic

Ticket #19893 - Favorite Products - not working on product list

I have Add “Add to Favorites” button to Product Listing Page, just copy below code:

{hook h=’displayWishButton’ product_id=$product.id product_comb_id=$product.id_product_attribute}
I have added 2d2d2d just like text to show change, just in case of cache...

to /templates/catalog/_partials/miniatures/product.tpl

but nothing happend. I cler cache, and try severyl things:

I have add this code {hook h=’displayProductButtons’ product=$product} to /templates/catalog/_partials/miniatures/product.tpl..... it that cas thare is icon of heart and click on it open alert message with added product to favorite..... but on list of favorites product is not added.

Curentily I can add products only from products details page.

Please help!


Igor Popic 20 Nov 2020, 03:51

Works with code:

{hook h='displayFavButton' product_id=$product.id}


Fred 20 Nov 2020, 10:25

Hi, Igor.
Sorry for the delay. Is the issue solved?