Prices and formulas

Eight ways to price an option, prices per choice, and formulas for made to measure products.

On this page: How each price type works, how choices are priced, and how to write a formula.

2 minutes read Updated 30 November 2026

Open an option and go to its Price tab. Pick how it is priced, then the amount.

The Price tab: per character, 0.50 for each letter.
Price typeWhat the customer pays
No chargeNothing.
Per itemThe amount, added to the price of each item. 2 items, twice the amount.
Once per order lineThe amount once, whatever the quantity. Shows as its own fee in the cart.
Percent of product priceA percent of the product price, for each item.
Per characterThe amount times the number of letters typed. Spaces are free.
Per wordThe amount times the number of words typed.
Times the number enteredThe amount times the number the customer enters, for each item.
FormulaYour own calculation, for each item.

Use a minus for a discount, for example -5.

Once per order line: a set up fee that does not grow with the quantity.

Choices

Every choice has its own price. By default it is priced like the option (Like the option), but each choice can pick its own type. That is how a group of checkboxes mixes “Gift wrap, $4 per item” with “Rush printing, $6 once”.

Formulas

A formula calculates the price from what the customer chose. Write it in the Formula box: the builder checks it as you type and says The formula works or what is wrong.

A formula: one square metre minimum, then 24 per square metre.

Click a name under Insert to add it. You can use:

NameValue
{width}, {height}…The value of an option, by its Name in formulas. A choice uses its Number for formulas.
{qty}The quantity.
{price}The product price.
{product_weight}, {product_length}, {product_width}, {product_height}From the product’s Shipping tab.

Comparisons (>, <, >=, <=, ==, !=) and and, or, not work in if(). And the functions min(a, b), max(a, b), round(x, decimals), ceil(x), floor(x), abs(x), sqrt(x), pow(x, y) and if(test, then, else).

Some examples:

FormulaMeans
max(1, {width} * {height} / 10000) * 4545 per square metre, at least one square metre (sizes in cm)
{length} * 0.240.24 per cm
if({qty} >= 10, 0, 15)A 15 setup fee, free from 10 items
ceil({length} / 50) * 55 for every started 50 cm

Tip. An option that only feeds a formula, like a hidden multiplier, can use Hide in cart and order under More settings, so customers see only the result.

A price set by the customer

Add a Customer price option and turn on Replace the product price. Give the product a price of 0 or leave it empty. Set a lowest amount if you need one. The customer’s amount becomes the price of the item.

Tax

Option prices are entered the same way as your product prices, with or without tax, as set in WooCommerce > Settings > Tax, and use the product’s tax class. Once per order line fees use the product’s tax class too.

Good to know. A cart item keeps the options and prices it was added with. If you change a price later, it applies to items added after you save.