Daniel Patilea Posted February 24, 2014 Share Posted February 24, 2014 How can I show the number of products from my wishlist header menu? This is how I want to look like: I tried something like this: <a href="/index.php?fc=module&module=blockwishlist&controller=mywishlist" title="{l s='My wishlists' mod='blockwishlist'}" rel="nofollow">{l s='Wishlist' mod='blockwishlist'} ({'wishlist'|count}) </a> But this seems to count my wishlists and not my products from the wishlist. Link to comment Share on other sites More sharing options...
NemoPS Posted February 26, 2014 Share Posted February 26, 2014 Seems complicated. It counts wishlists because you can have more than one. You probably need to hook it to the top of pages, or use the header one, and use one of the user's wishlist's id to grab the products, then count and assign them to the template Link to comment Share on other sites More sharing options...
bilalahmad Posted August 11, 2014 Share Posted August 11, 2014 hello , i also have the same issue wishlist is count (1) .we need to count the number of product in wishlist. how you resolve this issue. thanks Link to comment Share on other sites More sharing options...
sandipchandela Posted August 19, 2014 Share Posted August 19, 2014 hello guys, Is any one solved this issue? I have made the module for same but none found. Thanks Link to comment Share on other sites More sharing options...
Daniel Patilea Posted August 19, 2014 Author Share Posted August 19, 2014 (edited) Here's a solution to this: http://stackoverflow.com/questions/25382197/prestashop-show-the-number-of-products-to-my-wishlist-header-menu-item/25382460 Edited August 19, 2014 by iDan (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts