Commmerce Docs

What it is

Numeric stepper for quantity selection. Reflects stock limits from the active variant.

When to use

  • Inside the buy box
  • Bundle builders

Attributes

AttributeTypeDefaultDescription
data-minnumber1Minimum allowed value.
data-maxnumberstockMaximum — defaults to available stock.
idstringUnique element identifier.
classstringCustom CSS class list.
hiddenbooleanfalseHide the element without removing it from the DOM.

Examples

Default

Stepper bound to the active variant.

<mmm-pdp-quantity></mmm-pdp-quantity>