Array ( [0] => GDPR Cookie Consent [1] => CCPA [2] => Getting Started [3] => Changelog [4] => GDPR [5] => Add and Categorise Cookies [8] => Auto-block cookies with Script Blocker [13] => Create Privacy Policy Page [15] => Customize Cookie Notice [18] => Customize Settings Pop up [19] => Change Toggle button color [21] => Display Cookie List [22] => FAQ [23] => Getting Started [24] => Multilingual Support [25] => Overview [26] => Import Export Suite for WooCommerce [28] => Order / Coupon / Subscription Export Import Plugin for WooCommerce [29] => PayPal Express Checkout Payment Gateway for WooCommerce [30] => Changelog [31] => Getting Started [32] => Issue Refund [34] => Video Tutorial [35] => Print Invoice, Packing Slip, Delivery Note & Label for WooCommerce [36] => Address Label [39] => Changelog [41] => Credit Note [43] => Delivery Note [45] => Dispatch Label [47] => FAQ [48] => Invoice [49] => Adding meta data [50] => Customizations [51] => Email PDF Invoice [52] => FAQ [53] => Getting Started [54] => Invoice Number [55] => Multilingual Support [56] => Overview [57] => Packing Slip [58] => Customizations [59] => Getting Started [60] => Pick List [62] => Proforma Invoice [65] => Shipping Label [68] => Product Import Export Plugin for WooCommerce [69] => Smart Coupons for WooCommerce [70] => Abandoned Cart Discount [71] => Advanced Coupon Options [72] => Bulk Generate [73] => Changelog [76] => Getting Started [78] => Import Coupon [80] => Sales Countdown Timer [81] => SignUp Coupon [82] => Store Credit [84] => Volume/Quantity based coupon [85] => Stripe Payment Gateway for WooCommerce [86] => Alipay [87] => Apple Pay [88] => Changelog [89] => Compatibility with Subscription [90] => Getting Started [93] => SCA Ready [94] => Stripe Checkout [95] => Stripe Overview [96] => Stripe via Credit Card [97] => Troubleshoot [98] => Video Tutorial [99] => Subscriptions for WooCommerce [100] => Changelog [101] => Email Notifications [102] => FAQ [103] => Getting Started [104] => Manually Add or Modify Subscriptions [105] => Subscriptions Payment Gateway Guide [106] => URL Coupons for WooCommerce [107] => Changelog [108] => FAQ [109] => Getting Started [110] => Import URL Coupons [111] => QR Code Coupon [112] => WordPress Users & WooCommerce Customers Import Export )

Documentation/Product Import Export Plugin for WooCommerce/Importing WooCommerce Products with Attributes – WooCommerce Product Import Export Plugin

Importing WooCommerce Products with Attributes – WooCommerce Product Import Export Plugin



The Best Product Import Export Plugin for WooCommerce

#1 in WordPress Official Plugin Repository With 60,000+ Active Installs

#1 in Customer Satisfaction With Most 5 Star Reviews

WebToffee Guarantee: Get Your Money Back if You Are Not Satisfied With The Product

Buy Now!


An attribute allows you to define additional data related to the product, such as size, color and so on. It helps in providing more information about the product on the product page of your online store. Also, you can create variable products based on the attributes you define for the product.

There are two types of product attributes in WooCommerce:

  1. Global attributes: These attributes and its respective terms, can be used by any product on your store. They are created in the Attributes section of WooCommerce settings and hence are defined globally.
  2. Local attributes: These are custom attributes, and are applied only for a particular product. They are created in the Attributes section of the respective product data meta-box.

Our Product Import Export Plugin for WooCommerce can be used to effortlessly import products with attributesIt imports all the details perfectly into your WooCommerce store. You can also add attributes to an existing product of your store by importing the CSV file and updating the existing product data. It is important that you map the column header of the CSV file correctly with the fields of WooCommerce so that all product attributes can come up without problems.

Note: The CSV Import file must be in UTF-8 format. For more information about UTF-8 encoding, See How to save CSV / Excel File as UTF-8 Encoded?

Now, let us get an understanding of importing a CSV file containing products with attributes.

Before importing the products with attributes, the exported CSV should contain attributes that can be configured in the WooCommerce Product page, as shown in the screenshot below:

WooCommerce variable productsLet us say you have a CSV file with a product containing attributes ‘Size’ and ‘Color’. In this file, the global attributes can be identified with the prefix “pa_” before the respective attribute, as shown in the screenshot below:

Attribute Values:

attribute_data value is displayed in the form of position | visible | variation.

  • position: Defines the position of the attribute in the front-end.
  • visible: If the attribute is visible at the front-end, the value will be displayed as 1. Else, 0.
  • variation: If the attribute is used for variation, the value will be displayed as 1. Else, 0.

Note: Click Sample CSV of Import Attributes to download it.

Following are the steps to import products with attributes:

  • Move to Import Products in CSV Format in the Import section of Product settings tab. Further settings appear as shown in the screenshot below.
Product Import Export-Import Products

Product Import Export-Import Products

  • You can choose either of the methods for uploading the CSV file. In this article, we are selecting the first method. That is, uploading a CSV file from your computer.
  • Click Choose File to browse a required CSV file from your computer.
  • Select a mapping file, or click Upload file and import to move ahead and create a new one.
  • Enter a mapping filename and map the required WooCommerce Product Fields with column headers of the CSV file. Use Evaluation Field to fix/update the required value for a particular field.
Product Import Export-Import Products-Map Fields

Product Import Export-Import Products-Map Fields

  • Click Submit to start importing products into your WooCommerce store.  

Based on the CSV file imported, the products and its attributes get added to your store, as shown in the screenshot below:

Variable product import successful

Once the import is successful, you can view the imported products in the WooCommerce Product page section.

Variable product in products page

To view its attributes, move to the Attributes section in the respective product page.

Attributes section for the products

The attributes in the product page will be displayed as shown below:

To check Global attributes, you can go to Products > Attributes. You can see the global attribute ‘color’ has been added under this section (see screenshot).

Product global attributesFrom the above screenshot, we can see the attributes – size and color, have been successfully imported using our plugin.

For more information on importing and exporting of products, read this documentation.



The Best Product Import Export Plugin for WooCommerce

#1 in WordPress Official Plugin Repository With 60,000+ Active Installs

#1 in Customer Satisfaction With Most 5 Star Reviews

WebToffee Guarantee: Get Your Money Back if You Are Not Satisfied With The Product

Buy Now!


  • Was this article helpful ?
  • YesNo