This module helps developers quickly generate sample Commerce products, product types, product variations, and orders to populate a Drupal site. It allows for clearing existing data and setting specific quantities and age ranges for the generated entities using Drush commands.
Description
This module is a development purpose solution that is used to auto-generation of
- Products
- Product Types
- Product Variations
- Orders
Features
There is the possibility to delete all the data before generation and also to set up the specific amount of each of the commerce entity types.
There is also the possibility to set the how old may products, product types, product variations, orders be.
Use drush command for generation commerce content.
The basic functional tests coverage.
Dependencies
Usage
Basic example: drush devel-generate:commerce
Advanced example: drush devel-generate:commerce --products_num=10 --kill
Read the documentation for more information.
Related modules
Configuration page
Generate commerce: admin/config/development/generate/commerce
Depends on
Dependencies of the latest stable release
- commerce Drupal core
- commerce_checkout Drupal core
- commerce_order Drupal core
- commerce_price Drupal core
- commerce_product Drupal core
- commerce_store Drupal core
- devel Drupal core
- devel_generate Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.2.0 | Stable | 10–11 | Feb 19, 2026 |