WooCommerce product options and price calculators: variations, a plugin or custom code?
WooCommerce offers three ways to sell products with choices: variations (each combination has its own stock), add-ons via a plugin (engraving, gift wrap, file upload) and a custom calculator (price by formula — per m², per metre, by component). When each fits; why the server recalculates.
4 min read
In this article
WooCommerce gives you three ways to sell a product with choices. Variations, when each combination needs its own stock level or SKU (size × colour). Product add-ons from a plugin, when a choice changes the price but not the stock you pick (engraving text, gift wrap, an uploaded print file). A custom price calculator or configurator, when the price comes from a formula — per square metre, per metre, by combination of components — or rules no plugin supports. Whichever you choose, the server must always recalculate the final price; a price sent from the browser can be tampered with.
The official Product Add-Ons extension was listed at €71 a year on woocommerce.com in October 2026 (shown in euros for European visitors). It covers most field types and price adjustments, but has no conditional logic of its own — the vendor points to Gravity Forms with a separate add-on for that.
Variations vs add-ons vs a custom calculator
| Variations | Add-ons plugin | Custom calculator | |
|---|---|---|---|
| Use when | each combination has its own stock, SKU, image | a choice changes price, not stock | price follows a formula or complex rules |
| Examples | T-shirts S–XL × 5 colours | engraving, gift wrap, print file, installation | made-to-measure blinds, flooring per m², configurable furniture |
| Limits | combinations multiply; above 30 variations load via AJAX | conditional logic and formulas are limited | needs a developer and maintenance |
| Cost | included in WooCommerce | plugin licence | build + maintenance |
| Stock | per variation | no — stock stays on the parent product | as designed |
When to use variations
When the warehouse genuinely holds different items: sizes, colours, capacities. Each variation has its own stock, price, image and SKU, which matters for fulfilment and accounting. Trouble starts when combinations explode: 5 sizes × 8 colours × 3 materials is 120 variations, most of which don't physically exist. At that point some choices should become add-ons rather than variations.
When to use an add-ons plugin
When a choice adds cost or information but doesn't change which item comes off the shelf:
- text for engraving or printing, with a character limit;
- gift wrap, a card or rush production (flat fee or percentage);
- a file upload — a logo or print-ready artwork;
- a date for delivery or production;
- a customer-defined amount for gift cards or donations.
Product Add-Ons supports multiple choice (dropdown, images or radio buttons), checkboxes, short and long text, file upload, customer-defined price, quantity, date picker and headings, with flat, percentage or quantity-based price adjustments.
When to build a custom calculator
- Price by dimensions: width × height × material rate, with a minimum area, rounding and cutting allowance.
- A configurator: modular furniture or a PC built from components, with compatibility rules ("this worktop doesn't fit this frame").
- Prices from your own systems: price lists or costings maintained in accounting or production software.
- Output for production: each order must become a work ticket with every dimension and a drawing.
This is where plugins run out, and a "nearly right" plugin turns into daily manual fixes. For the wider buy-versus-build question, see WordPress vs custom-coded website.
Five rules whichever route you take
- The server recalculates the price. The browser can display a live price, but only the server-calculated amount goes into the cart and order — otherwise a shopper can change it.
- Options travel everywhere: cart, order, emails, invoice and the warehouse or production ticket.
- Validate inputs: dimensions within minimum and maximum, text within the character limit, files of allowed type and size.
- Block cart and checkout compatibility — older add-on plugins don't always display options in the block cart.
- Speed: the calculator should compute in the browser rather than calling the server on every keystroke, with the server confirming at add-to-cart.
What drives the cost
The route (variation structure, plugin setup or a calculator), the complexity of the formula and rules, where options must appear (invoices, production, accounting), and compatibility with your theme and checkout. Send us an example product and explain how you price it today, and we will reply within 24 hours with a scope, estimate and timeline: contact us. More on our WooCommerce work.
What to do tomorrow
Take your most complex product and sort its choices into three lists: choices that change what is picked from stock (variations), choices that only add cost or information (add-ons), and choices priced by a formula (a calculator). Often half of the "variations" turn out to be add-ons — and the store gets simpler straight away.
FAQ
How many variations can a WooCommerce product have?
Technically a lot, but above 30 variations WooCommerce loads them via AJAX, and hundreds of variations slow down both the product page and the admin. If most combinations don't carry separate stock, use add-ons.
Does Product Add-Ons support conditional logic?
Not on its own. The vendor says fields that depend on earlier selections need Gravity Forms with the Gravity Forms Product Add-Ons extension; other add-on plugins include conditional logic natively.
How do I sell by the square metre in WooCommerce?
Ready-made measurement calculator plugins exist; when you need minimums, rounding, cutting allowances and rules per material, a custom calculator with server-side price recalculation is the safer route.
Will product options appear on invoices?
They should, but confirm with a test order — invoice plugins don't always show add-on fields.
Can customers upload a file with their order?
Yes — add-on plugins include a file upload field. Restrict file types and size, and store uploads outside publicly browsable folders.