morethanthemes / commerce_product_outofstock_extra
UX fixes for the out-of-stock functionality of Drupal Commerce.
Installs: 1 246
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Type:drupal-module
This package is auto-updated.
Last update: 2025-04-12 17:31:17 UTC
README
A simplified Out of Stock
experience is introduced by just a checkbox that marks that for a product variation.
The problem
When the user selects a variation that is marked as out of stock
we need to take out (hide) the add to cart and replace it with a call for action (e.g. contact us)
The fix
The modules is listening for a selection of a variant and injects classes that are used for controling the visibility of various html elements in the page.