Ajax Update Count Products in Wishlist
-
Hello. I use this code to get the total number of items added to the wishlist in header:
<?php echo count(get_user_meta(get_current_user_id(), 'berocket_wish', true)); ?>
Help make sure that when adding/removing a product from the wishlist, the number of products in the block in header changes with the number of products in the list. Can you help me?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Ajax Update Count Products in Wishlist’ is closed to new replies.