Acquia Commerce Manager includes several Drush commands for both normal product use, and for more advanced administration. You can use the commands to manage your products, and product categories from the command line.
Note
For more information about Drush, see the Introduction to Drush Acquia Knowledge Base article.
Command | Description |
---|---|
sync-commerce-cats | Synchronizes all product categories between Acquia Commerce Manager and your commerce solution. |
commerce-cats-remove-duplicates | Removes all duplicate categories available in the system. |
sync-commerce-product-options | Synchronizes product options between Acquia Commerce Manager and your commerce solution. |
sync-commerce-products | Synchronizes products. |
commerce-products-remove-duplicates | Removes all products duplicated in the system. |
sync-commerce-promotions | Synchronize all commerce promotion records. |
clean-synced data | Flush all commerce data from the website. |
clear-linked-skus-cache | Clear linked SKUs cache for all SKUs. |
acm_customer:push-customers | Push all the subscribers available in Drupal to upstream system. |
Run a full synchronization of all commerce product categories.
Alias | Arguments |
---|---|
acsc |
none |
Removes all duplicate categories available in the system.
Alias | Arguments |
---|---|
acccrd |
none |
Run a full product synchronization of all available product options.
Alias | Arguments |
---|---|
acspo |
none |
Run a full product synchronization of all available products.
Alias | Arguments |
---|---|
acsp |
none |
Removes duplicated products from the system.
Alias | Arguments |
---|---|
accprd |
none |
Run a full product synchronization of all available products.
Alias | Options |
---|---|
acspm |
--types synchronizes a type of promotion; for example,
drush acspm --types=cart synchronizes all available cart
promotions. |
Flush all commerce data from the website (including products, SKUs, and product categories).
Important
This command removes all your commerce-related data.
Alias | Arguments |
---|---|
accd |
none |
Clears the linked SKUs cache for all SKUs.
Alias | Arguments |
---|---|
acclsc |
SKU - drush acclsc --skus=SKU where SKU is a single SKU number. |
Push all the subscribers available in Drupal to upstream system.
Alias | Arguments |
---|---|
push-customers | Customer email: push-customer abc@xyz.com |