i Want to display all wish-list items in the sidebar?
Currently only last added three items are showing up.
I wanted to display all items in current wishlist selection.
What should I change in this file:
vendor/magento/module-wishlist/view/frontend/templates/sidebar.phtml
Best Answer
You can do it by plugin or overwrite of
**Magento\Wishlist\CustomerData\Wishlist**
. I will cover pluginize**getSectionData**
for achieving this.Clear cache.
NB: Only refresh is not enough for testing working or not. Add/Remove wishlist item then magento fire sidebar section data and load.