I can't seem to locate where the add to wishlist or compare buttons next to the add to cart button on the product listing page are?


1 Answer 1


Add xml code to catalog_product_view.xml in your

<magento-theme>/<magento-catalog> to remove wishlist and compare links
<referenceBlock name="catalog.compare.link" remove="true" /> <!--for My
Compare Link-->

 <referenceBlock name="wish-list-link" remove="true" /> <!--for My
Wishlist Link-->

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.