Embed Code for Manual location (upload)

IMPORTANT: if your theme supports the new Shopify 2.0 block layout, you can also control the location using an app block as described here: Upload Field Block in Theme Editor


If you want to manually control the location of the upload widget, you can embed the following code on your theme:

<div data-upload-lift="{{ product.id }}"></div>

The app will look for this location when the page loads and insert the upload widget.


Note: when you provide a manual location you have to leave the Location setting on Automatic


The app embed must stay enabled

The embed code only marks the location. The upload widget itself is loaded by the Upload-Lift app embed in your theme. If the app embed is disabled, the location stays empty and no upload field is shown.

Check it in Online Store > Themes > Customize > App embeds and make sure Upload-Lift is turned on, then save the theme. See: How can I enable the upload app in the theme editor?


Show a specific upload field

If you have several upload fields for the same product and want one of them at this location, add the field name:

<div data-upload-lift="{{ product.id }}" data-upload-field="engraving"></div>

Set the same name in the app on the upload field under Upload field name.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.