Part of the Commerce ecosystem · 497 projects
This module allows users to move a product variation from one product to another without losing its historical data. It preserves the variation's internal ID, ensuring that order history and stock transactions remain linked.
Provides functionality to transfer a product variation to another product in Drupal Commerce.
Use Case
This module was created to have an easy way to move a product variation to another product without having to re-create or migrate the variation. The internal ID of the variation is not modified, keeping references to the variation intact for data such as order history and stock transactions.
Installation / Usage
- Install the module (https://www.drupal.org/docs/develop/using-composer/manage-dependencies#a...)
- Edit permissions and give "transfer commerce_product_variation access" to users who should be allowed to transfer product variations. The user must also have access to manage the variation type they intend to transfer.
- Visit a product's variation listing page (e.g. /product/PRODUCT_ID/variations).
- Click the operations dropdown and click the "Transfer" link.
- Search for a product that you wish to transfer the variation to.
- Click the submit button. If successful, you will be redirected to the product's variation listing that you transferred the variation to.
- If the transfer was not successful, you will be shown a message for why the transfer did not go through. See the restrictions for transferring variations section.
Transfer Restrictions
- Variation's may not transfer to the product they already belong to.
- Variation's may not transfer to a product type that does not allow variations of that type.
- Variation's may not transfer to a product that only allows one variation that already has one variation.
Permissions
In order to transfer a variation, the user must have the "transfer commerce_product_variation access" permission, as well as permission to manage the variation type.
Ask your assistant about Commerce Product Variation Transfer
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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.
More in the Commerce ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 9–10 | May 8, 2023 |