commerce_product_alternative
No security coverage
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
- Go to Commerce → Configuration → Product variation types, edit the relevant variation type, and enable the Alternative Variations trait.
- Edit individual product variations and assign which other variations are valid alternatives.
- Open your cart View and add the Alternative variations field from the order item fields.
Additional Requirements
- Drupal Commerce (including the Cart module)
Recommended modules/libraries
None required beyond Drupal Commerce.