morethanthemes/commerce_product_outofstock_extra

UX fixes for the out-of-stock functionality of Drupal Commerce.

Installs: 1 552

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

Type:drupal-module

pkg:composer/morethanthemes/commerce_product_outofstock_extra

1.0.0 2025-08-29 09:36 UTC

This package is auto-updated.

Last update: 2025-10-29 10:05:48 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.