Home > Docs > Product Import Export Plugin for WooCommerce > Import WooCommerce Products Attributes using CSV

Import WooCommerce Products Attributes using CSV

Last updated on September 4, 2024

An attribute defines the additional data related to a product. Product attributes include size, color, and other features that distinguish it from other products. The WebToffee plugin, Product Import Export for WooCommerce helps import the WooCommerce products with attributes. To import products with attributes:

  • Step 1: Select the post type as Product.
  • Step 2: Select an import method.
  • Step 3: Ensure the necessary attribute columns are mapped.
  • Step 4: Use advanced options/ batch import and scheduling.

Local and Global Attributes

New attributes can be added to an existing product by importing the CSV file and updating the existing product data. It is essential to map the column headers of the CSV file correctly to the WooCommerce fields so that all product attributes appear correctly.

Attributes in the WooCommerce product page
Attributes on the product page

Suppose you have a CSV file with a product containing attributes ‘Size’ and ‘Color.’ Here, the attributes with the prefix “pa_” are global.

Global and local attributes
Global and local attributes

Attribute values

The value for an attribute is given in the format: position | visible | variation.

  • position: Defines the position of the attribute in the front-end.

    NOTE: Existing attribute will be moved down if you set a lower position value for the new attribute. Attributes with a low position value will be placed at the top and attribute with a bigger position value will be placed last.
  • visible: Displays 1, if the attribute is visible at the front end. Else, displays 0.
  • variation: Displays 1, If the attribute is used for variation. Else, displays 0.

Import products with attributes

Install and activate the product import export plugin. Then, from the WordPress admin panel, click on the WebToffee Import Export (Pro) > Import menu.

Step 1: Select a post type

  • Select Products under post type.Selecting post type as product

Step 2: Select import method

  • One can choose between Quick import, Pre-saved template, and Advanced import.

Step 3: Map import columns:

  • To map import columns. Here, you can map the commercial names to WooCommerce columns. Use the Evaluation Field to fix/update the required value for a particular field.Mapping Product Attributes During Import

Step 4: Advanced Options/Batch Import/Scheduling:

  • Provides advanced options for import and scheduling import.advanced-step-during-import-of-products
  • Click on Import to import the WooCommerce products with attributes.
Details of import
Product imported successfully
  • Finally, head on to Products from the WordPress dashboard to view the imported products as shown below:
Listing imported products
Listing imported products
  • Move to the Attributes section on the respective product page to view a product’s attributes.
Attributes section for the products
Attributes
  • Here is the view of the attributes on the product page.
View of attributes in product page.
View of attributes on the product page.
  • To check Global attributes, go to Products > Attributes
Product global attributes
Added the global attribute ‘color’