Resources

Drush commands for Acquia Commerce Manager

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.

Drush commands

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.

Command details

sync-commerce-cats

Run a full synchronization of all commerce product categories.

Alias

Arguments

acsc

none

commerce-cats-remove-duplicates

Removes all duplicate categories available in the system.

Alias

Arguments

acccrd

none

sync-commerce-product-options

Run a full product synchronization of all available product options.

Alias

Arguments

acspo

none

sync-commerce-products

Run a full product synchronization of all available products.

Alias

Arguments

acsp

none

commerce-products-remove-duplicates

Removes duplicated products from the system.

Alias

Arguments

accprd

none

sync-commerce-promotions

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.

clean-synced-data

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

clear-linked-skus-cache

Clears the linked SKUs cache for all SKUs.

Alias

Arguments

acclsc

SKU - drush acclsc --skus=SKU where SKU is a single SKU number.

acm_customer:push-customers

Push all the subscribers available in Drupal to upstream system.

Alias

Arguments

push-customers

Customer email: push-customer [email protected]

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Acquia Help

Filter by product:

Common questions