WooCommerce CSV Column Header Reference

Here is an description of column headers that you will use in your CSV for all product types in WooCommerce.

Main Product File Column Headers

ColumnDescriptionAccepted valuesExample
idAssigned by WordPress.N/AN/A
tax:product_typeRequired. Whether your product is Simple, Grouped, External, or Variable.simple / variable / grouped / externalsimple
post_idAssigned by WordPress.N/AN/A
post_typeBy default, this is product.productproduct
menu_orderUse this to sort your products.Numerical5
post_statusChoose whether your post should be published or not.draft / publish / pending / privatedraft
post_titleRequired. Name of the product.TextKiller Heels
post_dateDate/time from your WordPress admin. You only need to add a date if you don’t want to use the current date. If you’re updating products, leave this as the exported value unless you want to make the product appear more/less recent.mm/dd/yyyy
dd-mm-yyyy
More accepted date formats
01/02/2015
02-01-2015*Both of these are January 2, 2015
post_contentPost content, normally a description of the product.TextSuper high heels are all the rage. Look beautiful this season with a gorgeous pair of killer heels. Available in 5 colors!
post_excerptShort description of the product.TextThis season’s latest heels!
post_parentUse for grouped products and variations. Enter the ID of the parent product. Note: Variables should be imported in a separate spreadsheet.Post ID234
post_passwordIf your post is private, include the password.Text!MyAwesomePassw!
visibilityChoose visibility for your product.
Learn more about product visibility.
visible / catalog / search / hiddenvisible
skuRecommended. SKU of the product. Must be unique.TextSH99786
upsell_skusSKU(s) of the product to which you wish to upsell.Text – multiple skus separated by a “|” character.SKU1|SKU2
upsell_idsID of the product to which you wish to upsell.post ID – multiple IDs separated by a “|” character.236|569
crosssell_skusSKU(s) of the product with which you wish to crosssell.Text – multiple skus separated by a “|” character.SKU1|SKU2
crosssell_idsID of the product that can be purchased with this product.post ID – multiple IDs separated by a “|” character.236|569
featuredWhether this product should be featured or not.yes/noyes
downloadableWhether your product is downloadable or not.yes/nono
virtualWhether your item is a non-physical object or not.yes/nono
regular_priceRequired for all products except variable products.
Normal price of your product.
Float (Decimal number)99.99
sale_priceSale price of your product, if on sale.Float (Decimal number)69.99
manage_stockWhether or not you are managing stock for the product.yes/nono
stockNumber of this item you have in stock. Can be relative to the value currently configured in the product.Numerical3
+10
-3
stock_statusWhether you have any in stock or not.instock / outofstockinstock
backordersWhether you’re accepting backorders.yes/no/ notifyyes
weightWeight of your product. Complete if you’re using weight-based shipping rules or a shipping method that pulls rates from an external service.
Use the same measurement unit set for your site.
Numerical0.73
lengthLength of your product. Use if you pull rates from an external service, such as USPS.
Use the same measurement unit set for your site.
Numerical10.5
widthWidth of your product. Use if you pull rates from an external service, such as USPS.
Use the same measurement unit set for your site.
Numerical15
heightHeight of your product. Use if you pull rates from an external service, such as USPS.
Use the same measurement unit setted in your site.
Numerical8
tax_statusUse to determine whether your product is taxable or not.taxable / shipping / nonetaxable
tax_classTax class of your product.zero-rate, reduced-rate
Notice that you have to use the slug of the tax class.
Leave blank if the value should be Standard Rate.
reduced-rate
tax:product_shipping_classProduct’s shipping classAllows you to set the Shipping Class when uploading a product to your store.Class 1
sale_price_dates_fromDate from when your sale price is used.MM DD YYdd MM YY MM” / “DD” / “YYDD” / “MM” / “YY”
More accepted date formats
01/02/2013
sale_price_dates_toDate when your sale ends for this product.MM DD YYdd MM YY MM” / “DD” / “YYDD” / “MM” / “YY”
More accepted date formats
01/04/2013
imagesImport images. Use a pipe to separate multiple images. Enter the image URL or file name. The importer will look in wp-content/uploads/year/month where year/month are the year and month in which the import is run. The first image is the main product image and will be used for the featured image.Textimage1.jpg | image2.jpg | image3.jpg
product_urlUse if the product is sold on another site. Used by External/Affiliate products only.URLhttp://amazon.com/etc
button_textText that will appear on your “Add to cart” button. Used by External/Affiliate products only.TextBuy on Amazon!
meta:_sold_individuallyCan the product only be sold on its own?yes/nono
meta:total_salesTotal sales for this product.Numerical56

Variable Product File Column Headers

ColumnDescriptionAccepted valuesExample
post_parentParent product of the variation. This should be that product’s ID.Numerical273
parent_skuParent product of the variation. This should be that product’s SKU.TextSH9988
post_statusChoose whether the variation should be published or not.draft / publish / pending / privatedraft
skuRecommended. The SKU of the variation. Must be unique.TextSH99786
downloadableWhether the variation is a downloadable item or not.yes/nono
virtualWhether your item’s variation is a non-physical object or not.yes/nono
regular_priceRequired for all variations.
Normal price of your variation.
Float (Decimal number)99.99
sale_priceSale price of your variation, if it’s on sale.Float (Decimal number)69.99
stockNumber of this item’s variation you have in stock.Numerical3
weightWeight of your variation. Complete if you are using weight based shipping rules, or a shipping method that pulls rates from an external service.
Use the same measurement unit set for your site.
Numerical0.73
lengthLength of your variation. Use if you pull rates from an external service, such as USPS.
Use the same measurement unit set for your site.
Numerical10.5
widthWidth of your variation. Use if you get rates from an external service such as USPS.
Use the same measurement unit setted in your site.
Numerical15
heightHeight of your variation. Use if you get rates from an external service such as USPS.
Use the same measurement unit setted in your site.
Numerical8
tax_statusUse to determine whether your variation is taxable or not.taxable/ shipping/nonetaxable
WooCommerce CSV Column Header Reference

Here is an description of column headers that you will use in your CSV for all product types in WooCommerce.

Main Product File Column Headers

ColumnDescriptionAccepted valuesExample
idAssigned by WordPress.N/AN/A
tax:product_typeRequired. Whether your product is Simple, Grouped, External, or Variable.simple / variable / grouped / externalsimple
post_idAssigned by WordPress.N/AN/A
post_typeBy default, this is product.productproduct
menu_orderUse this to sort your products.Numerical5
post_statusChoose whether your post should be published or not.draft / publish / pending / privatedraft
post_titleRequired. Name of the product.TextKiller Heels
post_dateDate/time from your WordPress admin. You only need to add a date if you don’t want to use the current date. If you’re updating products, leave this as the exported value unless you want to make the product appear more/less recent.mm/dd/yyyy
dd-mm-yyyy
More accepted date formats
01/02/2015
02-01-2015*Both of these are January 2, 2015
post_contentPost content, normally a description of the product.TextSuper high heels are all the rage. Look beautiful this season with a gorgeous pair of killer heels. Available in 5 colors!
post_excerptShort description of the product.TextThis season’s latest heels!
post_parentUse for grouped products and variations. Enter the ID of the parent product. Note: Variables should be imported in a separate spreadsheet.Post ID234
post_passwordIf your post is private, include the password.Text!MyAwesomePassw!
visibilityChoose visibility for your product.
Learn more about product visibility.
visible / catalog / search / hiddenvisible
skuRecommended. SKU of the product. Must be unique.TextSH99786
upsell_skusSKU(s) of the product to which you wish to upsell.Text – multiple skus separated by a “|” character.SKU1|SKU2
upsell_idsID of the product to which you wish to upsell.post ID – multiple IDs separated by a “|” character.236|569
crosssell_skusSKU(s) of the product with which you wish to crosssell.Text – multiple skus separated by a “|” character.SKU1|SKU2
crosssell_idsID of the product that can be purchased with this product.post ID – multiple IDs separated by a “|” character.236|569
featuredWhether this product should be featured or not.yes/noyes
downloadableWhether your product is downloadable or not.yes/nono
virtualWhether your item is a non-physical object or not.yes/nono
regular_priceRequired for all products except variable products.
Normal price of your product.
Float (Decimal number)99.99
sale_priceSale price of your product, if on sale.Float (Decimal number)69.99
manage_stockWhether or not you are managing stock for the product.yes/nono
stockNumber of this item you have in stock. Can be relative to the value currently configured in the product.Numerical3
+10
-3
stock_statusWhether you have any in stock or not.instock / outofstockinstock
backordersWhether you’re accepting backorders.yes/no/ notifyyes
weightWeight of your product. Complete if you’re using weight-based shipping rules or a shipping method that pulls rates from an external service.
Use the same measurement unit set for your site.
Numerical0.73
lengthLength of your product. Use if you pull rates from an external service, such as USPS.
Use the same measurement unit set for your site.
Numerical10.5
widthWidth of your product. Use if you pull rates from an external service, such as USPS.
Use the same measurement unit set for your site.
Numerical15
heightHeight of your product. Use if you pull rates from an external service, such as USPS.
Use the same measurement unit setted in your site.
Numerical8
tax_statusUse to determine whether your product is taxable or not.taxable / shipping / nonetaxable
tax_classTax class of your product.zero-rate, reduced-rate
Notice that you have to use the slug of the tax class.
Leave blank if the value should be Standard Rate.
reduced-rate
tax:product_shipping_classProduct’s shipping classAllows you to set the Shipping Class when uploading a product to your store.Class 1
sale_price_dates_fromDate from when your sale price is used.MM DD YYdd MM YY MM” / “DD” / “YYDD” / “MM” / “YY”
More accepted date formats
01/02/2013
sale_price_dates_toDate when your sale ends for this product.MM DD YYdd MM YY MM” / “DD” / “YYDD” / “MM” / “YY”
More accepted date formats
01/04/2013
imagesImport images. Use a pipe to separate multiple images. Enter the image URL or file name. The importer will look in wp-content/uploads/year/month where year/month are the year and month in which the import is run. The first image is the main product image and will be used for the featured image.Textimage1.jpg | image2.jpg | image3.jpg
product_urlUse if the product is sold on another site. Used by External/Affiliate products only.URLhttp://amazon.com/etc
button_textText that will appear on your “Add to cart” button. Used by External/Affiliate products only.TextBuy on Amazon!
meta:_sold_individuallyCan the product only be sold on its own?yes/nono
meta:total_salesTotal sales for this product.Numerical56

Variable Product File Column Headers

ColumnDescriptionAccepted valuesExample
post_parentParent product of the variation. This should be that product’s ID.Numerical273
parent_skuParent product of the variation. This should be that product’s SKU.TextSH9988
post_statusChoose whether the variation should be published or not.draft / publish / pending / privatedraft
skuRecommended. The SKU of the variation. Must be unique.TextSH99786
downloadableWhether the variation is a downloadable item or not.yes/nono
virtualWhether your item’s variation is a non-physical object or not.yes/nono
regular_priceRequired for all variations.
Normal price of your variation.
Float (Decimal number)99.99
sale_priceSale price of your variation, if it’s on sale.Float (Decimal number)69.99
stockNumber of this item’s variation you have in stock.Numerical3
weightWeight of your variation. Complete if you are using weight based shipping rules, or a shipping method that pulls rates from an external service.
Use the same measurement unit set for your site.
Numerical0.73
lengthLength of your variation. Use if you pull rates from an external service, such as USPS.
Use the same measurement unit set for your site.
Numerical10.5
widthWidth of your variation. Use if you get rates from an external service such as USPS.
Use the same measurement unit setted in your site.
Numerical15
heightHeight of your variation. Use if you get rates from an external service such as USPS.
Use the same measurement unit setted in your site.
Numerical8
tax_statusUse to determine whether your variation is taxable or not.taxable/ shipping/nonetaxable
Phuket
More
Addresses
Contact Us
Intouch
newsletter
© 2019 Imarketingonly All rights reserved.
  • We will use the data you submit to fulfil your request. Privacy Policy.

Imarketingonly

The Great Oast, Steep Marsh Petersfield Hampshire GU32 2BN
125/5A Srisoonthorn Road. Cherngtalay District. Thalang Phuket 83110
+66 (0) 76 324184 +66(0) 898 740 040 +44 (0) 1730 895648 +44 (0) 208 1234 164 +44 (0) 7798 554540 Start Price 120 GBP