Wishlist adds product events that will be used to define data after a successful item added to the wishlist.
If you want to trigger something once product added to wishlist or do some action after item added to the wishlist, you need to define
"wishlist_add_product" in your
Create Observer Class to handle your logic after adding items to the wishlist. In the observer file, You got Product, Wishlist, and Current Item object, based on that you can retrieve/modify your logic. Continue reading “How to use of wishlist_add_product event in Magento 2?”
Get Wishlist thumbnail image by the product SKU to display the Wishlist item image on the page Magento 2.
You need to required product SKU to fetch product object, based on the object, pass image id as wishlist_thumbnail to fetch thumb of the product.
Using ImageFactory class to fetch wishlist image programmatically, Continue reading “How to get wishlist image by product Magento 2?”
You can remove wishlist tabs from the customer edit page in Magento 2 admin panel.
Your eCommerce site doesn’t support the wishlist functionality, you need to remove tabs from the customer section of the admin also.
Wishlist section displays the list of wishlist items grid for the specific customer.
Create a customer_index_edit.xml file in your module with adminhtml scope, Continue reading “How to remove wishlist tabs from the admin Customer edit Page Magento 2?”