Open an option and go to its Price tab. Pick how it is priced, then the amount.
| Price type | What the customer pays |
|---|---|
| No charge | Nothing. |
| Per item | The amount, added to the price of each item. 2 items, twice the amount. |
| Once per order line | The amount once, whatever the quantity. Shows as its own fee in the cart. |
| Percent of product price | A percent of the product price, for each item. |
| Per character | The amount times the number of letters typed. Spaces are free. |
| Per word | The amount times the number of words typed. |
| Times the number entered | The amount times the number the customer enters, for each item. |
| Formula | Your own calculation, for each item. |
Use a minus for a discount, for example -5.
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.
Click a name under Insert to add it. You can use:
| Name | Value |
|---|---|
{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:
| Formula | Means |
|---|---|
max(1, {width} * {height} / 10000) * 45 | 45 per square metre, at least one square metre (sizes in cm) |
{length} * 0.24 | 0.24 per cm |
if({qty} >= 10, 0, 15) | A 15 setup fee, free from 10 items |
ceil({length} / 50) * 5 | 5 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.