Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.3.13 Minor update available for module search_api_solr (4.3.13). Search API Solr 4.3.12 Minor update available for module search_api_solr (4.3.12). smart 404 1.1.3 Minor update available for module smart_404 (1.1.3). smart 404 1.1.2 Minor update available for module smart_404 (1.1.2). IntelligenceBank DAM Connector 4.1.4 Minor update available for module intelligencebank (4.1.4). IntelligenceBank DAM Connector 5.2.3 Minor update available for module intelligencebank (5.2.3). Soccerbet 1.1.14 Minor update available for module soccerbet (1.1.14). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Ultimate Cron Summary 2.0.0 Major update available for module ultimate_cron_summary (2.0.0). Content Translation Redirect Module content_translation_redirect crossed 1,000 active installs.

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.

Activity

Total releases
2
First release
Jun 2026
Latest release
2 weeks ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

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