Add button to featured product

To support featured product sections, you have to add a code snippet.

This should be placed  inside the product form in sections/featured-product.liquid. 

If that template doesn’t exist, it may have another name.

Steps to follow:

Go to your Shopify Admin

1.    Navigate to Online Store

2.    Select Themes

3.    Navigate to Actions

4.    Click on Edit code

6.    Locate sections/featured-product.liquid and paste this code

<div class="photouploadapp" data-photouploadapp-product-json="{{ product | json | escape }}" data-photouploadapp-collections-json="{{ product.collections | json | escape }}"></div>

And always make sure to place the code in the form → Before the add to cart button.

7. Click Save to save the changes

Make sure this code goes inside one of these tags, or it won’t work:

<form></form>

{% form %}{% endform %}