B3 Swatches Article

Quantity Controls

Replace the native quantity field with styled controls, set limits and sizing, and tune stock messaging.

Introduction

The quantity and stock settings let the rest of the product form match the swatch UI. Use them to style the control, constrain values, and show cleaner stock feedback on selection.

Custom quantity buttons

Decide whether to replace native quantity controls with the B3 quantity interface.

Styling and limits

Configure quantity button style, position, sizing, and allowed values.

Stock feedback

Use stock text and out-of-stock display rules to keep unavailable choices clear.