How can I export product metafields with orders?

How can I export product metafields with orders?

greensparkstech
Tourist
5 0 9

I have metafields that are associated with products and product variants. I would like to include the data in these metafields as columns when exporting a csv of orders.

 

I have had a look at a few apps but none a straightforward. Can anyone recommend an app and/or explain how to do this?

 

Thanks

 

 

Reply 1 (1)

Jonathan-HA
Shopify Partner
337 26 107

Hey there @greensparkstech ,

 

Our app EZ Exporter can export the product and variant metafields along with the order data as separate columns.

 

The way it works in our app is we basically look at the product_id and variant_id fields from the order's line item data and make separate API calls to the Product Metafield and Product Variant Metafield endpoints to retrieve them and then join them back with the order data.

 

In our app, there's a section to specify just the "key" portion of the Metafield:

 

JonathanHA_0-1649883672366.png

 

We support more advanced use cases as well where you might want to manipulate the metafield value further on export or combine multiple metafield values in one column.

 

You can learn more about our metafields support here: https://www.highviewapps.com/kb/ez-exporter-metafields/

 

Please feel free to reach out to us directly if you have any further questions on this. 🙂

 

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill