How to import Products using CSV with metafields

New Member
1 0 0

Hi bros, I am working with PHP to generate a csv file used to import products to Shopify. However, I need some extra meta data for each product, how can I attach metafields in CSV file? Thank all.

0 Likes
Shopify Expert
9981 84 1492

You can't. Custom metafields are not supported via the product CSV import option in the Admin.

If you're already using PHP to create the csv, why not just push the product directly in via the API. You can then include the metafields in that call.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Highlighted
Shopify Partner
285 0 25

Hi, Huy!

If you are open for an app suggestion, then you can import custom Metafields using the Excelify app - just use the same Shopify CSV file, and add the Metafields columns to it with the column names like "Metafield: <namespace>.<name>".

For example: "Metafield: custom.length".

More about importing Metafields, here: https://excelify.io/shopify-excel-import-export-detailed-documentation/shopify-metafields/

If you need any help with that, contact us here: https://excelify.io/contact-us/

Maris
Excelify.io

Excelify.io | Bulk Import Export Update Migrate | https://excelify.io
0 Likes