When inspecting the bellow
console.log(JSON.parse(localStorage.getItem('mage-cache-storage')).wishlist);
I get the count of 7 but items only returns 3 :
How Can one get all items ? in my case 7 ? Appreciate any help.
local-storagemagento2.2.2wishlist
Best Answer
As Magento had set limit in class
Magento\Wishlist\CustomerData\Wishlist
const SIDEBAR_ITEMS_NUMBER = 3;
So if you want to increase limit of product you have to override this class and set your custom limit as per your requirement.