The quantity field
Add a field of type Quantity and choose how it looks under Display:- Stepper: − and + buttons around the number.
- Preset pills or Preset dropdown: only the quantities you list, such as 100 / 250 / 500 / 1000. Ideal for print runs.
- Plain input: a number box.
A quantity is always one the customer can actually order: a number typed
between steps is moved onto the step grid (with a step of 25, 333 becomes 325)
and kept within the minimum and maximum. The cart line always shows the
quantity the job is charged for.
If nothing in your pricing depends on the quantity, the builder warns that
changing the quantity does not change the price. See
The base price.
Show the next price break
Turn on Show ‘add N more’ hint on the quantity field, and the summary tells customers how many more items reach the next quantity break:- Add 15 more to get 15% off, when the break is a percentage discount (a Percent price change with quantity breaks, such as −10% from 10 and −15% from 25).
- Add 50 more for $8.90 each, for any other break: the price per item at the next break, for the same choices.
Quantity per option (size runs)
A bulk T-shirt order is one design printed on a mix of sizes. Without a count per size, the customer adds each size as a separate cart line, and five M plus three L plus two 3XL are priced as three small jobs instead of one order of ten. A Quantity per option field gives each option its own stepper. The total of the counts is the job’s quantity: it drives the base price per unit, quantity breaks, formulas and the cart.Quantity per option is available on Shopify, and on WooCommerce from
plugin version 0.4.16.
Set it up
- Add the field. Add a field of type Quantity per option. It starts as Sizes with S, M, L and XL; rename and add options on the Options tab (XS to 4XL, say).
- Choose the display. Grid of steppers shows a card per option; List shows one row per option.
-
Set the limits on the Basics tab:
-
Price it. Set the base price to Per unit × quantity (the
price of one shirt). Then:
- For a surcharge on some sizes, open that option’s details and add a Per item of this option price change: a 3XL at +€3 adds €3 for each 3XL ordered.
- For a volume discount on the whole order, add a Percent price change on the field’s own Pricing tab with quantity breaks, such as 0% up to 9, −10% up to 24, −15% up to 49 and −20% above.
- Publish, and remove your platform’s own size variants from the product: the grid replaces them.
Example
Base price €19.90 per unit, 3XL +€3 per item, and the volume discount above. An order of M × 5, L × 3 and 3XL × 2 is ten shirts:
With the hint on, the summary also says Add 15 more to get 15% off.
What the customer sees
A stepper for each size and a running Total: 10 shirts. If the order is below the minimum total, the field asks them to Choose at least 10 in total (or at most, above the maximum), and add to cart stops at the field until the order fits. On the cart line and the order, the field reads like this:Option ids on a quantity per option field may only use letters, digits,
- and _. Ids made by the builder always do; the builder flags any
other.Quantity fields that take turns
Some products are sold in different quantities depending on an earlier choice: one paper comes in packs of 100, 250 and 500, another only in 500 and 1000. Give each group its own quantity field, and let them take turns:- Add a Quantity field for each paper group, each with its own presets.
- On each one’s Logic tab, add a visibility rule on the paper field, so exactly one quantity field shows for any paper.
- Publish.