Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Commerce Product Variation Transfer

No security coverage

Part of the Commerce ecosystem · 355 projects

View on drupal.org

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

  1. Install the module (https://www.drupal.org/docs/develop/using-composer/manage-dependencies#a...)
  2. 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.
  3. Visit a product's variation listing page (e.g. /product/PRODUCT_ID/variations).
  4. Click the operations dropdown and click the "Transfer" link.
  5. Search for a product that you wish to transfer the variation to.
  6. Click the submit button. If successful, you will be redirected to the product's variation listing that you transferred the variation to.
  7. 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

  1. Variation's may not transfer to the product they already belong to.
  2. Variation's may not transfer to a product type that does not allow variations of that type.
  3. 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.

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
May 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.x-dev Dev May 8, 2023