morethanthemes / commerce_product_outofstock_extra
UX fixes for the out-of-stock functionality of Drupal Commerce.
Package info
github.com/morethanthemes/commerce_product_outofstock_extra
Type:drupal-module
pkg:composer/morethanthemes/commerce_product_outofstock_extra
This package is auto-updated.
Last update: 2026-03-01 00:36:36 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.