Skip to content
Inchworth

Inchworth / Blog / Shopify custom size pricing without hidden variants or draft orders

Shopify custom size pricing without hidden variants or draft orders

You can charge a custom price for each size on Shopify without hidden variants or draft orders by using an app built on Shopify Functions. A cart transform Function sets each line's price at checkout from your pricing rule, so customers can check out straight away and your product list stays clean.

Ask any made-to-measure shop how they set up custom pricing on Shopify a few years ago and you'll hear the same workarounds: hundreds of hidden variants, a "price adjustment" product added to every cart, or a draft order for every sale. Each one works, up to a point. This guide explains why those workarounds exist, the problems they cause, and the cleaner way that Shopify Functions now allow.

Why the workarounds exist

Shopify charges what a variant costs. A product with a 120 × 150 cm blind and a 121 × 150 cm blind needs two prices, and for a long time the only way to have two prices was to have two variants. A size calculator could show any price on the product page, but at checkout Shopify would charge the variant's price.

So calculator apps found ways to get the right total into the cart:

  1. Hidden variants. The app creates a new variant with the calculated price, hides it from the storefront, and adds it to the cart.
  2. Price-adjuster products. The app adds a second line, such as an "Options fee" product priced at 0.01, with a quantity that makes up the difference.
  3. Draft orders. The customer sends a request, and the merchant (or an app) creates a draft order with a custom price and emails an invoice.

The problems with hidden variants

Hidden variants get the price right, but they leave a trail.

  • Clutter. Every unique size and option combination can become a variant. Over months, a single product can collect a long list of one-off variants that clutter the admin, exports and some reports.
  • Variant limits. Shopify caps the number of variants a product can have. An app that creates variants as it goes can hit the cap on a busy product, and then new sizes can't be priced.
  • Feeds and search. Variants can leak into Google Shopping or marketplace feeds, showing strange sizes and prices, unless they are carefully excluded.
  • Inventory. Each variant has its own stock count, which rarely means anything for a made-to-order item.
  • Clean-up. If you uninstall the app, the variants usually stay.

The problems with price-adjuster products

Adding a second "fee" line is lighter on the admin but harder on the customer.

  • Confusing carts. The cart shows "Curtain £45.00" and "Options fee × 2,350 £23.50". Customers ask what the fee is, or remove it.
  • Lines can get separated. If the customer removes the main product, the fee may stay, or the other way round, unless something checks.
  • Discounts. A percentage discount may apply to one line and not the other, so the total isn't what you intended.
  • Reports. Sales of the fee product mix with sales of everything, which makes product reports harder to read.

The problems with draft orders

Draft orders are a real Shopify feature and they're excellent for quotes, trade customers and unusual one-offs. You set any price you like by hand, add a note, and send an invoice.

As the main way to sell made-to-measure products, though, they slow everything down:

  • The customer can't pay when they're ready; they wait for a reply.
  • Someone has to create every order, often outside working hours.
  • Some customers who would have paid on the spot don't come back for the invoice.

If most of your orders follow your price list, draft orders turn a self-service shop into a quoting service.

The modern way: Shopify Functions at checkout

Shopify Functions let an app run its own small piece of logic inside Shopify's checkout. Two kinds matter for custom sizes.

A cart transform Function can change the lines in a cart, including the price of a line. A size-pricing app can read the size and options saved on the line, look up your pricing rule, and set the price for that exact size. No new variant is created and no extra line is added: the customer sees one line, with the size, at the right price.

A cart and checkout validation Function can stop checkout with a message. A size-pricing app can use it to block a line that has no size, or a size outside your limits, so nothing reaches the payment step at the wrong price.

There is one plan detail to know. The Cart Transform API has more than one way to set a price, and some of them are limited to Shopify Plus while others work on every plan. Apps that need to work on all plans pick an operation that is allowed everywhere. Before you install an app, check that it says it works on your Shopify plan.

What you get from this approach:

  • One product, one variant per real choice. Your colours and fabrics stay as variants if you like; sizes don't.
  • Instant checkout. Customers pay as soon as they've chosen.
  • Prices that can't be edited in the browser, if the Function works the price out from your rule rather than reading it from the cart. More on that in how to stop customers changing the price in a Shopify price calculator.
  • Nothing to clean up if you uninstall: no generated variants or fee products are left behind.

Moving from an older setup

If you already use hidden variants or a fee product, move in this order:

  1. Install and set up the new app on one product first. Copy your rates, limits and options, and compare prices for a few sizes against your old setup.
  2. Place test orders for that product, including with a discount code, and check the order, email and packing slip.
  3. Switch the remaining products over in batches.
  4. Remove the old app's leftovers: generated variants, hidden fee products and any theme code it added.
  5. Check your feeds and collections a day later for stray variants or fee products.

Inchworth works this way: it prices every made-to-measure line at checkout with a cart transform Function and blocks invalid sizes with a validation Function, on every Shopify plan. The setup guide shows each step, and the comparison page shows how several size-pricing apps describe their checkout pricing. If you're starting from scratch, how to add a width × height price calculator to Shopify covers the pricing decisions.

Questions

Why do some Shopify apps create hidden variants?

Before Shopify Functions could set prices at checkout, the only way to charge a price that wasn't already on a variant was to create one. Some apps create a hidden variant for each calculated price, or add a separate product priced at one cent and set its quantity to make up the difference.

Are draft orders a good way to sell made-to-measure products?

Draft orders work well for quotes and one-off trade orders, because you can set any price by hand and send the customer an invoice. They don't suit a shop where customers expect to see a price and pay straight away, since every order waits for someone to create it.

Do I need Shopify Plus to set custom prices at checkout?

Not for every method. Shopify's Cart Transform API has operations with different plan rules, and some are limited to Shopify Plus, while others are available on all plans. Ask an app which one it uses, or check that it says it works on your plan.

What happens to my existing hidden variants if I switch apps?

They stay on the product until you remove them. After moving to a Functions-based app, delete the generated variants or the price-adjuster product, then check that collections, feeds and inventory look right.

Inchworth adds a size price calculator to your Shopify product pages, and checkout charges the same price. 14-day free trial.

Start your free trial