Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Cms 2.1.4 Update released for Drupal core (2.1.4)! Release: Facets 3.0.6 Minor update available for module facets (3.0.6). Release: Facets 3.0.5 Minor update available for module facets (3.0.5). Release: Pantheon Advanced Page Cache 2.4.1 Minor update available for module pantheon_advanced_page_cache (2.4.1). Release: Flag 5.1.0 Minor update available for module flag (5.1.0). Release: Workbench Email 3.0.8 Minor update available for module workbench_email (3.0.8). Release: Drupal CMS Helper 2.1.4 Minor update available for module drupal_cms_helper (2.1.4). Release: PDFa11y 1.0.9 Minor update available for module pdfa11y (1.0.9). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Module Revived: ЮKassa (YooMoney) для Drupal v7 2.6.1 Module yoomoney_api updated after 7 months of inactivity (2.6.1).

Commerce Product Alternative

1 sites Security covered Drupal 11 · not 10

Part of the Commerce ecosystem · 351 projects

View on drupal.org

This module allows shoppers to easily swap one product variation for another directly within their shopping cart. Store administrators can define which product variations are interchangeable, and customers will see links to easily make these exchanges without needing to remove and re-add items. This is especially useful for products with different formats, bundles, or configurations that customers might want to switch between during checkout.

Commerce Product Alternative lets shoppers swap a product variation in their cart for a different one - without removing and re-adding items. Store managers configure which variations are valid alternatives for each other, then expose swap links in any cart view.

Features

  • Define alternative variations per variation using a configurable trait on the variation type
  • Expose swap links in the cart view via a dedicated Views field plugin
  • Swapping replaces the underlying order item — no manual remove/re-add needed

Useful when you sell products with meaningfully different variations — formats, bundles, or configurations — and want shoppers to switch without losing their place in checkout.

Post-Installation

  1. Go to Commerce → Configuration → Product variation types, edit the relevant variation type, and enable the Alternative Variations trait.
  2. Edit individual product variations and assign which other variations are valid alternatives.
  3. Open your cart View and add the Alternative variations field from the order item fields.

Additional Requirements

None required beyond Drupal Commerce.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jun 2026
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0 Stable 11 Jun 29, 2026
1.x-dev Dev 11 Jun 3, 2026