< Back
Print

Shopify Mediaupload Field Plugin

This field plugin is used for the Shopify Transmitter. We also provide a configured Template.


Configuration of the base datamap

In the base datamap there are two options, depending on the use case:

 

Key mediaUpload upload
Allowed values Image, Video, 3d-Model File, Image, Video, 3d-Model
Upload While processing the object Before processing the product
Example Use-Case Product image PDF File that needs to be appended as a Metafield

 
Example
Base Datamap configuration for media upload to shopify
 

Configuration of the field plugin

Select the file type that is sent to Shopify in the configuration.
 
Shopify Mediaupload Field Plugin configuration
 
The “SourceField” should either be “SourceField” or an attribute of type “DAM-Reference”. As Export Plugin you need “Loop Head” where you can create an array.
 
Shopify media upload loop head configuration
 
The array needs the following values:

  • filename
  • exportURL
  • alt (optional)
  • lastChange

 
Important: The filename is used to identifiy the file in Shopify so this must be unique
 
Shopify mediaupload array for the needed values
 

 

Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents