Commerce Recipe Product Alternative
No security coverage
Commerce ecosystem
This module enables the "Commerce Product Alternative" feature for Drupal Commerce stores. It allows customers to switch between alternative product variations directly from the cart, with some basic styling provided for the Belgrade theme.
This recipe configures Commerce Product Alternative on a Drupal Commerce store. It:
- Enables alternative variation switching (the purchasable_entity_alternative trait) on all product variation types.
- Adds an "Alternatives" field to the cart form, positioned right after the item title.
- Applies Belgrade-theme-specific styling to the alternatives links out of the box, with unstyled fallback markup on other themes.