Better handling of 'file metafields' from Shopify
M
Mark Patrick
Shopify has recently improved the data types available as metafields. Most notably they've added an image and video data type. However, your plugin appears to fetch a "gid" (global id) rather than the Shopify image URL. This shopify metafield file object does have a URL available to it, but you have to interact with the object to get the URL out.
I believe this is probably a straightforward improvement for the Shopify Plugin you've developed for DFW. It's a complete no-brainer development for DFW and something you should add: being able to specify image_link as a custom File from within Shopify is ideal. My workaround for the moment is storing images directly on AWS S3 and then storing those URLs in meta fields. This is unnecessary and sub-optimal since Shopify will store the images on their CDN through metafields.
You might ask why I'm doing this:
I want to have custom images for google merchant center rather than using the ones I choose to display in my Shopify gallery. I suspect this is not a very unconventional concern and something you may find many merchants would like.
Thank you for your support of this great product.
P.S. If you're looking into Shopify metafields, also note their "list" options - right now parsing these with regexp using "edit values" in DFW is onerous and unnecessary if you add native support.
M
Mark Patrick