Add Wishlist Button to Collections Page


You can enable the wishlist collection view icon to be added automatically from Apps then Wishlist:

  • Settings Page => Add to Wishlist from Collections & Quick View => Wishlist button on product tiles in collection pages and click enable

Alternatively, you can add the wishlist collection view icon manually:

  1. From your Shopify admin, go to Online Store > Themes.
  2. Click on "Edit code" from the Actions dropdown.
  3. In the Snippets folder, locate the file that displays your product card in one of these files like:
  • snippets/card-product.liquid
  • snippets/product-listing.liquid
  • snippets/products-grid.liquid
  • snippets/product-grid-item.liquid
  • snippets/product-card.liquid
  • snippets/product-listing-item.liquid
  • snippets/product-loop.liquid
  • snippets/product-item.liquid
  • snippets/product-thumbnail.liquid
  • snippets/product-card-grid.liquid
  • snippets/product-block.liquid
  • snippets/product-listing-slider.liquid
  • snippets/product-thumbnail.liquid
  • snippets/product-item.liquid
  • snippets/product-loop-grid.liquid
  • snippets/snippet-product-item.liquid

4. Copy and paste the following snippet where you want the button to appear in your code:

{% render 'wishlisthero-collection-product' with product: product %}

Alternatively, for Dawn theme or if you use a different snippet, use the following code:

{% render 'wishlisthero-collection-product' with product: product_card_product %}
{% render 'wishlisthero-collection-product' with product: card_product %}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us