Search through more than a hundred articles on every aspect of Growave

Polly T.
Written by Polly T.

Legacy theme: How to integrate Add to Wishlist button into product page

A quick guide to implementing the "Add to Wishlist" button

To integrate the "Add to Wishlist" button please go to your Shopify admin panel > Themes > Edit HTML/CSS > product.liquid and add this code where you want to show Add to Wishlist button:

{% capture the_snippet_fave %}{% render 'socialshopwave-widget-fave' %}{% endcapture %}
{% unless the_snippet_fave contains 'Liquid error' %}
 {{ the_snippet_fave }}
{% endunless %}

In our example, we put our code after this code:

<button type="submit" name="add" id="add" class="btn">
<span id="addText">{{ 'products.product.add_to_cart' | t }}</span>

This is how "Add to Wishlist" button looks on the product page:

Save changes and check them on your site. Or contact us to get professional installation on your site for free.