Do you need to provide shipping information for some products in the feed? Add this information in the feed using our option to attribute mapping rules.
As shipping information needs to be given in a structured form, we can't use a simple string, but need to transfer a json object into a xml structure.
The XML structure is described in this article and looks like this:
<g:shipping> <g:country>US</g:country> <g:region>MA</g:region> <g:service>Express</g:service> <g:price>15.99 USD</g:price> <g:min_handling_time>1</g:min_handling_time> <g:max_handling_time>3</g:max_handling_time> <g:min_transit_time>2</g:min_transit_time> <g:max_transit_time>5</g:max_transit_time> </g:shipping>
We are going to take a metafield in JSON format with the same information as input and transfer it to the needed XML format for the feed item. If the JSON can't be parsed correctly, we will add the shipping attribute as a string.
The integration will look like this:
Shopify Settings Metafields
Shopify Product Page
Flexify Settings Page
Flexify Product action page
Flexify Feed