Commerce add-on

Drupal Commerce


Add to cart

With this add-on, you will be able to migrate your Drupal Commerce store to Woocommerce on WordPress.


The Commerce add-on migrates:

  • Customers with their logins and passwords
  • Customers billing data
  • Customers shipping data
  • Products
  • Products images
  • Product categories
  • Product attributes
  • Product variations
  • Product variation thumbnails
  • Orders with their items
  • Brands (requires the WooCommerce brands plugin)

It has been tested with:

  • Drupal Commerce 1 on Drupal 7
  • Drupal Commerce 2 on Drupal 8

If your version of Drupal Commerce is not supported please ask using the contact form.

It works with the latest versions of WordPress and WooCommerce.


The add-on requires the WooCommerce plugin to be installed and activated before the migration.
The add-on requires the main plugin FG Drupal to WordPress Premium.

If you want to import the brands, the WooCommerce Brands plugin is required.

Commerce add-on Change log


New: Import the product stocks
New: Import the product dimensions (weight, length, width, height)


New: Import the images from the table “field_data_field_product_multimedia”


New: Import the product types as product categories
Fixed: Product images not imported
Fixed: [ERROR] Error:SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘c.data_instance’ in ‘field list’
Fixed: [ERROR] Error:SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘commerce_product__field_product_category’ doesn’t exist
Fixed: [ERROR] Error:SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘pc.field_product_category_target_id’ in ‘field list’
Fixed: Notice: Undefined index: entity_type
Fixed: Notice: Undefined index
Fixed: Warning: count(): Parameter must be an array or an object that implements Countable


New: Import the fields stored in paragraphs (with the Paragraphs add-on)
New: Import the Youtube fields
New: Import the custom product attributes
Fixed: Only one value was imported for each product attribute
Tested with WordPress 5.5


Fixed: Taxes not imported


New: Don’t add a prefix to the attribute slug if the attribute name is not too long


New: Import the tax classes and the tax rates
Tweak: Refactoring


New: Try to get the images from the “commerce_product__field_image” table (Drupal 8)
Fixed: Extra product images were imported


New: Import products containing multiple product types
Fixed: Some “product” node types were not considered as products


New: Import the main product images
New: Try to get the images from the “field_data_field_product_photo” table


Fixed: Notice: Trying to access array offset on value of type bool


Fixed: Minimum and maximum prices were not calculated
Fixed: Prices may be wrong in the products list


New: Compatibility with Commerce 2 on Drupal 8
Tested with WordPress 5.4


New: Import billing and shipping first and last customer names
New: Import billing and shipping address premise
New: Import billing email address
New: Import the customer last active date
New: Import the order shipping cost
New: Import the order taxes
New: Import the order line items taxes
New: Import the order discounts
New: Compatible with WooCommerce 4.0
Fixed: [ERROR] Error:SQLSTATE[42000]: Syntax error or access violation
Fixed: WordPress database error: [You have an error in your SQL syntax]


New: Import the product variation thumbnails


New: Import the product categories named “product_category”
Fixed: Attributes not managed by a taxonomy were not imported


Initial version
Compatible with Drupal Commerce 1 on Drupal 7
Migrates the products
Migrates the categories
Migrates the attributes
Migrates the variations
Migrates the brands
Migrates the orders
Migrates the user informations (billing and shipping data)