Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.3.6 Update released for Drupal core (10.3.6)! Release: Drupal 11.0.5 Update released for Drupal core (11.0.5)! Release: Drupal 10.2.9 Update released for Drupal core (10.2.9)! Release: Drupal 10.2.10 Update released for Drupal core (10.2.10)! Release: Drupal 10.3.7 Update released for Drupal core (10.3.7)! Release: Drupal 11.0.6 Update released for Drupal core (11.0.6)! Release: Drupal 10.3.8 Update released for Drupal core (10.3.8)! Release: Drupal 11.0.7 Update released for Drupal core (11.0.7)! Module Revived: Translation Management Tool 8.x-1.19 Module tmgmt updated after 7 months of inactivity (8.x-1.19). Usage Milestone: Account field split Module account_field_split crossed 10,000 active installs.

Import or aggregrate Commerce entities (e.g. products) using Feeds

Using the power of Feeds, almost any type of data can be imported into commerce entities, be it data in the Comma-Separated Values (CSV) format, XML format (use Feeds XPath Parser), or any other format for which a feeds importer exists. Data can also be synchronized from a remote location, e.g. from an XML or RSS feed, handling potential issues associated with duplicate content. Large amounts of data can be comfortably imported because of the Feeds usage of Drupal's core Batch API. This module can import both commerce entities and their associated commerce display nodes in two consecutive steps.

The module contains:

  • Product processor for Feeds that creates product entities in Drupal.
  • Profile processor for Feeds that creates customer profile entities in Drupal.
  • Commerce coupon processor for Feeds that creates coupon entities in Drupal.
  • Commerce price mapper supporting the creation of price amounts and currency codes from raw input.
  • Commerce product reference mapper supporting the creation of relationships between product displays and product entities.

Installation

It is strongly recommended to use the latest version of Feeds module
If you don't know feeds, check the site builder's guide to Feeds

  • Install & enable the Feeds (including UI) and Commerce modules (including product, price and their UI modules)
  • Go to admin/structure/feeds and add a new importer
  • Select the "Commerce Product processor"
  • In Settings, select a product type to use to create new product entities
  • In Mapping, select how raw input fields map on fields of the product entity.
  • Select at least Product SKU (make unique) and Product Title.

Example configuration

A feature is included to quickly show how a comma-separated file can be used to import product entities.

  1. Install the Commerce Kickstart profile.
  2. Install the Commerce Feeds module (commerce_feeds); this requires the Feeds module and its dependencies
  3. Enable the Commerce Feeds Example feature (commerce_feeds_example) which contains the example feeds configuration; this requires the Features module and its dependencies
  4. Go to /import and click on 'Product import'
  5. Select the file 'example_products.csv' that is inside the module (commerce_feeds/commerce_feeds_products/example_products.csv) and click Import
  6. Go to /admin/commerce/products to see the imported products
  7. If you want to import product displays (i.e. Drupal nodes), repeat from step 4. and click on 'Product display import' and select the file 'example_products_display.csv'. Go to your homepage to see the updated products.

Related modules

Commerce Feeds multitype provides a processor that handles multiple types of products in one import.

Documentation

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Oct 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
8.x-1.0-alpha5 Pre-release Oct 10, 2024