WPSyncSheets For WooCommerce

Documentation

Import WooCommerce Product Attributes with WPSyncSheets For WooCommerce plugin

With the WPSyncSheets plugin, you can add, update, or delete WooCommerce products and their attributes directly from Google Sheets.
This makes it easy to manage product attributes in bulk and keep your product data organized.

This guide explains how to import WooCommerce products with attributes using Google Sheets.

How to Import Attributes in WooCommerce Product?

Before You Start

Before importing product with attributes, make sure the attributes already exist in WooCommerce.

Go to:

WooCommerce → Products → Attributes

Create the attributes you want to use.

Example attributes:

  • Size
  • Color
  • Material

These attribute names can be added as column headers in the Sheet Headers section


Step 1: Enable Product Import

  1. Go to the Import Products option in the plugin settings.
  2. Enable Import Products.

You will see three options:

  • Insert – Add new products
  • Update – Update existing products
  • Delete – Remove products

Enable the options you need and click Save Settings.

Enabled options will automatically appear as sheet headers in the Google Spreadsheet.

Enable Import Products
Sheet Headers

Step 2: Open the Google Spreadsheet

After that, in Google Spreadsheet Settings click on View Spreadsheet.

Google Spreadsheets Settings

Original Spreadsheet

After saving the settings, the plugin will automatically add the selected sheet headers to the spreadsheet.

Original Spreadsheet

Insert Products

Step 1

Enable Insert to add your desired product in a new row.

Enable Import Products

Step 2

Enable/Disable the sheet headers as per your requirement and click on Save.

Insert Sheet Header

Step 3

After you save the settings, you will have the“Insert” column in your connected Google Spreadsheet parallelly Import Product option in the settings page.

Insert Column Added

Step 4

Add your product details in a new row in the spreadsheet.

  • Product ID must be left blank for new products
  • Product Name is mandatory.
  • Set Product Status as publish.

How to Add Product Attributes

To add attributes to a product, you only need to enter attribute values in their respective columns in the spreadsheet.

If an attribute column contains a value, that attribute and its value will automatically be assigned to the product.

Steps:

  1. Make sure the attribute already exists in WooCommerce → Products → Attributes.
  2. Ensure the spreadsheet has a column with the same name as the attribute.
  3. Enter the attribute value (term) in that column for the product.

If the column contains a value, the plugin will assign that attribute and value to the product.

Note: If the attribute column is empty, that attribute will not be added to the product.


Example: Product Attributes in Google Sheet

Below is a simple example of how your Google Sheet should look when importing a product with attributes.

Product NameProduct StatusProduct AttributeSizeColorMaterialShow Attribute on Product PageAttributes Visible at Product PageUse Attributes for VariationsAttributes to use for VariationsInsert
Silk ShirtpublishSize | Color | MaterialLRedSilkYesSize | ColorYesSize1

  1. Attribute Columns

Each attribute must have its own column in the sheet.

Example columns:

  • Size
  • Color
  • Material
  1. Attribute Values

Add the values for each attribute in their respective columns.

Example:

SizeColorMaterial
LRedSilk

These values will be added as product attributes in WooCommerce.

  1. Show Attribute on Product Page

Type: Yes => to display the attributes on the product page.

Or

Type: No => to hide them.

  1. Attributes Visible at Product Page

Write the attributes you want to display on the product page.

Example:

Size | Color

  1. Using Attributes for Variations

If your product uses attributes for variations (for example: Size or Color), make sure the following settings are configured correctly.

Set: Use Attributes for Variations = Yes

Then specify which attributes should be used for variation creation.

Example:

  1. Attributes to use for Variations

Size

This tells the plugin to create product variations based on the Size attribute.

  1. Variation Attribute Columns

The spreadsheet may also contain columns that start with- Variation:

Example headers:

  • Variation: Size
  • Variation: Color

These columns are used to define variation attribute values.

Example:

Variation: SizeVariation: Color
LRed

If values are added in the main product row, they can also be used as the default attribute values for the product.

  1. Insert Column

Type: 1

in the Insert column to insert the product.

Added google Sheet

Step 5

Click on the Import Product button.

Import Products

Step 6

Now, you will have the Proceed option, click on it.

Insert Proceed Product

Final Spreadsheet

New Row Inserted

Update Products

Step 1

Enable Update to update your existing product.

Update Products

Step 2

Enable/Disable the sheet headers as per your requirement and click on Save.

Update Sheet Header

Step 3

After you save the settings, you will have the “Update” column in your connected Google Spreadsheet parallelly Import Product option in the settings page.

Update Column Google Sheet

Step 4

Make the changes you want and in the Update column of that row, type “1”, to update a particular product.

Update 1

Step 5

Click on the Import Product button.

Update Product

Step 6

Now, you will have the Proceed option, click on it.

Update Proceed Product

Final Spreadsheet

Final Spreadsheet

Delete Products

Step 1

Enable Delete to delete your desired product.

Enable Delete Product

Step 2

Enable/Disable the sheet headers as per your requirement and click on Save.

Delete Sheet Header

Step 3

After you save the settings, you will have the “Delete” column in your connected Google Spreadsheet parallelly Import Product option in the settings page.

Delete Column Added

Step 4

In the Delete column of that row, type “1”, to delete a particular column.

Type 1 Delete Column

Step 5

Click on the Import Product button.

Delete Import Product

Step 6

Now, you will have the Proceed option, click on it.

Delete Proceed Product

Final Spreadsheet

Final Spreadsheet

Real-Time Import, Export, and Migration of WooCommerce Data.

WPSyncSheets For WooCommerce

5.0
View Plugin

Have a question?

We’re here to help, just send us a message.

Need help?

We're ready to help out & answer questions!