Quantity Buttons
A row of selectable quantity buttons — your own custom designs, or the built-in controls.
Last updated
How to use
Insert Quantity Buttons onto your product page.
Connect
⛁ Butter Datato the product's Butter Data CMS field.Choose
Quantity:Range(setMin/Max) orCustom(list exact values inOptions, comma-separated — e.g. "1, 3, 6, 12, 24"). SetDefaultfor the quantity selected before the customer picks anything.Leave
Maxat 0 for no limit beyond stock, or connect it to a Number-type CMS field to cap it per product. SetLimit bytoVariant(each variant capped separately, the default) orProduct(every variant shares one cap).Choose
Mode:Configto style built-in buttons, orConnectto use your own designs — see below.
How it relates to the other quantity components
Quantity Custom is a standalone picker — it doesn't sit underneath Quantity Stepper, Quantity Number, or Quantity Dropdown, and none of them depend on it. All four read and write the same shared quantity, so whichever one you place stays in sync with the others if you use more than one on a page.
Reach for this one when neither a plus/minus stepper nor a dropdown gives you the layout you want — for example, a row or grid of preset quantities ("1, 3, 6, 12") each rendered as its own button.
Config vs. Connect
Mode decides where the button design comes from:
| What you get |
|---|---|
| Built-in styled buttons — Layout (stack or grid), gaps, radius, padding, and Font/Color/BG/Border for the Default/Hover/Selected states. |
| Your own connected designs, with a |
Connect: Templated vs. Slots
The Type control decides how your connected designs map onto the numbers you're offering:
| What you connect | How it maps to numbers |
|---|---|---|
| One | The same design repeats once per number from |
| Set | Each slot renders exactly the number you gave it — the numbers offered are entirely defined by the slots themselves, not by |
Slots mode also hides Max and Limit by — it can't set its own per-order cap. If another quantity component or the Purchase Button sets one for this product, a Slots-mode instance still honors it; otherwise stock is the only limit.
In both Templated and Slots, a number shows as Disabled once it exceeds available stock or the item isn't available for sale.