🛒 Shop Assistant
💬

How to Import Your First WooCommerce Product XML CSV Feed

How to Import Your First WooCommerce Product XML CSV Feed

This tutorial explains how to import products into WooCommerce using an XML or CSV file.

Before You Start

Make sure that:

Step 1: Open the Product Importer

In your WordPress dashboard, go to:

Bootflow Importer → New Import

WooCommerce product import with automatic shipping class assignment
How to Automatically Assign Shipping Classes When Importing Products in WooCommerce
Basic Setup & Source
Feed Structure
Key Advanced Settings

Step 2: Upload Your Product Feed

Press Proceed to Field Mapping

Step 3: Configure the Import.

Mapping Templates and AI Auto-Mapping

The mapping screen may also include additional tools:

Always review automatically created mappings before importing. The importer displays a warning so that you can verify the suggestions.

Mapping Templates

Step Two Importing Woocommerce XML/CSV File

After the importer analyzes your XML or CSV file, it opens the Field Mapping & Processing screen.

This screen connects the fields from your source file with the WooCommerce product fields. In other words, you tell the importer where each product value comes from and how it should be processed.

How the Mapping Screen Works

The screen contains two important areas:

For example, your source file may contain these fields:

id
code
product_name
price
quantity
brand
category

These are source fields. The importer uses them to fill WooCommerce fields such as Product Name, SKU, Regular Price, Stock Quantity, Brand, and Categories.

The basic idea is:

WooCommerce target field <- Source field from your XML or CSV file

For example:

Product Name   <- {product_name}
Regular Price  <- {price}
Stock Quantity <- {quantity}

The WooCommerce field is the destination. The value inside curly brackets is the field from your source file.

Map a Source Field

Each WooCommerce field has its own mapping row. To map a field:

  1. Open the relevant field section, for example Basic Product Fields or Pricing Fields.
  2. Find the WooCommerce field you want to configure.
  3. Click inside its mapping input.
  4. Type { to open the list of available fields from your XML or CSV file.
  5. Select a field from the dropdown.
  6. The importer inserts the selected field in curly brackets. You can choose more than one field from xml/csv and add text.
    For example:
{product_name} BUY NOW FOR {price}

For example, to map the product name, select product_name. The mapping becomes:

{product_name}

You can also type part of a field name after { to filter the dropdown. For example, typing {pri will show source fields that contain pri.

Use Drag and Drop

You can map fields without typing them manually:

  1. Find the required source field in the File Structure panel.
  2. Drag the field to the mapping input for the WooCommerce field.
  3. Drop it into the input.

The importer inserts the field as a placeholder, for example:

This is useful when the source file contains many fields or uses long nested field names.

Processing Modes

The processing mode controls what happens to a mapped value after it is read from the source file.

For a standard product import, keep the mode set to Direct Mapping. Use the other modes only when you need to change prices, clean descriptions, translate text, or create a value from multiple source fields.

AI Processing Example

You write an AI prompt describing what you want done. For example:

Translate {description} into English and improve the grammar.

Or generate a completely new value using context from other fields:

Write a short, engaging product description for {product_name} in the {category} category, using {brand} and {price} as context.

The AI can process any field, and because it has access to the other mapped fields as context, it can combine or reference multiple source fields when generating the result — translating, summarizing, categorizing, rewriting, or creating a value from scratch.

Required and Optional Fields

Some fields are required and are marked with an asterisk. The Product Code (SKU) field is especially important because the importer uses the SKU to identify existing products.

When Update Existing Products is enabled, products with a matching SKU are updated instead of being created as duplicates.

Mapping Sections

WooCommerce fields are grouped into expandable sections. Open only the sections that you need for the current import.

Test the Mapping

Before starting the import, click Test Mapping to check whether the mapped fields return the expected values.

If a value is incorrect, you can:

Use Clear All only when you want to remove all current mappings and start again.

When the mappings return the correct values, continue to the next step and start the import.

Step 4: Start the Import

Review your settings and click Start Import.

The importer will create or update WooCommerce products based on the selected configuration.