cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict only 5 products in Wishlist

Restrict only 5 products in Wishlist

how to allow only 5 products in wish list 

1 REPLY

Re: Restrict only 5 products in Wishlist

Hi @shahzaib_ali hassan,

 

Maybe this thread helps you to see how to listen every time a product is added: https://magento.stackexchange.com/questions/170407/magento-2-add-to-wish-list-event

 

Then you can count how many products the user has and restrict the action and/or show a message.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"