Integrate Add to Wishlist button into Product page

1) 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 %}{% include '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>

2) If you want to put Wishlist icon to a product page then use the following code:

{% capture the_snippet_fave_icon %}{% include 'ssw-widget-faveicon' with product icon %}{% endcapture %}
{% unless the_snippet_fave_icon contains 'Liquid error' %}
  {{ the_snippet_fave_icon }}
{% endunless %} 

3) Save changes and check it in your site. Or contact us to get professional installation on your site for free.

Feedback and Knowledge Base