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.

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. ★
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:

If you need any help with that, contact us here:

Maris | Bulk Import Export Update Migrate |