I did enable the wishlist module, but I don't see the "Add to wishlist" button or link inside the product page. What can I do? Can I manually add this "Add to wishlist" link to the product page or even category page as well?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
The wishlist configurations can be found in the following section and the highlighted config should be set to "Yes"
Also please check if any of customized modules / themes have removed the Wishlist feature from the layout files - view/frontend/layout/catalog_category_view.xml view/frontend/layout/catalog_product_view.xml
In default Magento the above two files can be found in vendor/magento/module-wishlist/
<referenceBlock name="product.info.addto"> <block class="Magento\Wishlist\Block\Catalog\Product\View\AddTo\Wishlist" name="view.addto.wishlist" template="Magento_Wishlist::catalog/product/view/addto/wishlist.phtml" /> </referenceBlock>
Please check on this file /Magento_Catalog/layout/catalog_product_view.xml or the module default.xml file, if this code is available so just remove it and check. I think it might have been removed using XML files.
<referenceBlock name="wishlist_sidebar" remove="true" /> <referenceBlock name="view.addto.wishlist" remove="true" /> <referenceBlock name="category.product.addto.wishlist" remove="true" />