Add Upload Field to a featured product

Add Upload Field to a featured product

The integration depends on your theme. With the official Shopify themes it is often quite easy to display the button on a featured product. For this you just need to know if your theme is an OS 1.0 or 2.0 theme. For external themes we recommend to contact us.

Integration on OS 1.0 Themes #

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

5. 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>

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

<form></form>

{% form %}{% endform %}

Integration on OS 2.0 Themes #