thegeneralyst/AnopaDocs
Product

Quantity Incrementer

The + button for the quantity selector on a PDP. Increments the quantity in the shared variant store by 1 on each click and disables itself at the variant's quantityAvailable limit.

Increment Button

AP_QuantityIncrementer is the plus button for a PDP quantity selector. Each click increases the shared quantity by 1. It disables itself and fades to 40% opacity when no variant is selected, when the variant is marked unavailable, or when the current quantity has reached the variant’s maximum available stock. Connect your designed plus button instance to the slot.

Property Controls

ControlTypeDefaultDescription

Button

ComponentInstance

Connect your designed plus (+) button instance here. The component wraps it and increments the quantity on click. Disabled when no variant is selected, the variant is unavailable, or max stock is reached.