support@kaviolabs.com Same-day reply on weekdays Help & Support Support

Sell by the metre, kilo or square foot on Shopify.

Shoppers type the exact amount they need, see the price as they type and check out with exactly that amount. Cart, checkout, orders and stock all agree, without draft orders or price overrides.

  • Free plan
  • 14-day free trial on paid plans
  • Billed by Shopify

The problem

Why Shopify sells in packs

Shopify quantities are whole numbers. To sell fabric, cable or coffee by measure, stores create a long list of variants (1 m, 1.5 m, 2 m...) or force shoppers into fixed packs.

Apps that change prices on the fly often rely on draft orders or hidden discounts, so the price on the product page and the price Shopify charges can drift apart.

Three ways to sell by measure on Shopify

ApproachHow it worksTrade-off
Variants per amountA variant for each length or weight.Limited amounts, and a long variant list per product.
Draft orders or price overridesAn app calculates a price and creates a draft order.Prices can differ from what Shopify charges, and checkout becomes a detour.
Steps with Shopify unit priceWhat Sell by Measure doesThe product is sold in steps (for example 10 cm); 2.5 m is 25 steps, priced by Shopify, with the unit price shown.The cart shows 25 for 2.5 m; the variant name ("10 cm") and the unit price make it clear.

Sell by Measure

How it works

  1. 01

    Pick a product

    In the app choose the product, the unit (for example metres), the step (0.1 m) and the price per unit ($12.00 / m).

  2. 02

    Add the block

    Click "Open theme editor" and add the Measure input block to your product template.

  3. 03

    Turn on the checkout check

    One click adds the checkout rule that enforces your minimum and maximum amounts, even if the cart was edited by hand.

What you get

Live price

"2.5 m = $30.00" as the shopper types, with quick amount buttons.

17 units

kg, g, lb, oz, m, cm, mm, yd, ft, in, m², sq ft, L, ml, m³, gal and fl oz.

Shopify unit price

"$12.00 / m" in the cart, at checkout and on the order.

Stock that adds up

50 m of fabric in 10 cm steps is 500 in stock and never oversells.

Length × width (Pro)

For flooring, glass or turf: shoppers enter the room size and buy the exact area.

Fast storefront

A theme app extension served from Shopify’s CDN; our server is never in the shopper’s path.

Made for

  • Fabric and trims
  • Cable, rope and chain
  • Deli, coffee and tea
  • Flooring and tiles
  • Seeds, soil and garden
  • Liquids and refills

Sell by Measure

Screenshots

How to sell by the metre, kilo or square foot on Shopify

Shopify counts in whole items. There is no native way for a shopper to type 2.5 m of fabric, 1.25 kg of coffee or 3.2 m² of flooring. Merchants usually create a variant per length, or ask shoppers to order 25 units of 10 cm with no price feedback.

Sell by Measure lets shoppers type the amount they need and see the price as they type. You set the unit, the smallest step, a minimum and a maximum. Cart, checkout, orders and stock all show the same amount, in units your team can read.

How the app works on Shopify

Shopify quantities must stay whole, so the app works with that rather than around it. A product is sold in steps. With a 10 cm step, 2.5 m is 25 steps, and the variant name and unit price make that clear:

  1. The shopper types 2.5 m in the measure block on the product page, or taps a quick amount, and sees the live price.
  2. The cart shows quantity 25 of the "10 cm" variant, with a unit price of $12.00 / m.
  3. A checkout rule blocks amounts below your minimum or above your maximum.
  4. The order shows the same, so your team cuts 2.5 m.

Stock is counted in steps: 50 m with a 10 cm step is 500 in stock. When overselling is off, shoppers cannot ask for more than is left. Shoppers can change the amount in the cart, since the quantity is the number of steps, so any change is still an exact amount.

Because Shopify prices each step like any other item, discounts, taxes and currencies keep working.

Setting it up

Main settings
SettingExampleMeaning
Unitm, kg, ft², LWeight, length, area and volume units.
Step10 cmThe variant you sell. Its price is the price of one step.
Minimum / maximum0.5 m / 20 mEnforced at checkout.
Quick amounts1 m, 2 m, 5 mButtons on the product page.
Length × widthOnFor area products such as flooring.

Then add the measure block to the product template in the theme editor. Choosing a step comes down to how you cut: a store that cuts fabric to 10 cm should use 10 cm, while a deli selling by 50 g should use 50 g. A smaller step means larger quantity numbers in the cart.

The free plan covers up to 5 products sold by measure, with all units, the measure block and minimum and maximum checks. Paid plans raise the product limit, and length × width input for area products is on Pro. See the app page for current plans.

Options compared: variants, price calculators or Sell by Measure

Ways to sell measured goods on Shopify
VariantsDraft-order calculatorSell by Measure
Any amountNoYesYes, to your step
Normal Shopify checkoutYesOften noYes
Stock in real unitsPer variantOften noIn steps
Live priceFixedYesYes
Minimum at checkoutNoVariesYes

If you sell a few fixed sizes, variants are free and fine. Some calculator apps use draft orders or create new variants per price, which can clutter your product list. This app keeps one step variant and normal checkout.

Things to know

  • The cart shows the number of steps, so "25 × 10 cm" for 2.5 m. The variant name and unit price explain it.
  • The app needs an Online Store 2.0 theme with app blocks on the product page.
  • The Online Store sales channel is required, since the app adds a theme block.

Our fabric by the metre guide walks through a full setup, and the sell-by-weight comparison covers other platforms. See Sell by Measure on the apps site.

Who uses this kind of app

Fabric shops by the metre or yard, haberdashery, cable and rope, garden goods such as soil and gravel, flooring and tiles by area, wallpaper and vinyl, coffee, tea, deli and bulk foods. In each case, tell shoppers on the page how you cut and pack: one continuous piece or several, and whether you add a margin for waste.

For flooring, length × width with a rounded-up amount prevents short orders. For food, check the rules for pack labelling in your market.

Compatibility

Every Shopify plan, with no Plus features. Online Store 2.0 themes with app blocks, such as Dawn and Horizon. It requests only product and validation permissions, and no customer data. On uninstall, the block leaves your theme and the checkout check turns off, and variant prices and unit prices stay as normal Shopify prices.

Check your theme first

Before you set up all your products, test one. Add the block to your product template, and make sure it sits near the buy button. Then view the page on a phone, and check that the theme’s own quantity selector does not confuse shoppers. Look at the cart: the variant name and unit price should explain the amount. If your theme hides variant names in the cart, adjust that setting, so "10 cm" stays visible.

Shopify

Sell by Measure at a glance

Sell fabric, cable, deli, flooring and garden goods by the metre, kilo or square foot on Shopify. Exact amount input, live price, honest stock. Free plan.

Price
Free · $9 · $19 /mo
Trial
14-day free trial on paid plans
Billing
Billed by Shopify
Compatible with
Online Store 2.0 themes with app blocks (Dawn, Horizon and others)
Status
Coming soon to the Shopify App Store

Shopify

The Shopify products stores buy first

The most requested products on this platform. Each one has its own page, and you can buy it straight on the sales site.

Shop Shopify on our sales site

Prices, licences, full documentation and instant downloads are on the store.

apps.kaviolabs.com · 5 apps, each with a free plan

Sell by measure

The same feature on other platforms

Built natively for each platform, not ported. Each version has its own product page, documentation and price.

Guide

Related guide

Guide

Selling by weight compared

How five platforms handle 1.25 kg or 2.5 m, the usual workarounds and what to check before you choose.

Read the guide

FAQ

Questions and answers

Does it work on the Basic Shopify plan?

Yes, on every plan. The app uses no Shopify Plus features.

Why does the cart show 25 for 2.5 m?

The product is sold in steps, for example 10 cm. 25 steps are 2.5 m, and the variant name and unit price make this clear in the cart, at checkout and on the order.

Do discounts, taxes and currencies work?

Yes. Shopify prices each step like any other item, so all Shopify features work as usual.

What is in the free plan?

Up to 5 products sold by measure with every unit, the measure input with live price and the checkout check. Paid plans add more products and length × width.

Can shoppers change the amount in the cart?

Yes. The cart quantity is the number of steps, so any change is still an exact amount. The checkout check enforces your minimum and maximum.

Does stock work?

Yes. Stock is counted in steps: 50 m with a 10 cm step is 500 in stock.

Is length × width included?

Yes, for area products on the Pro plan.

What happens when I uninstall?

The block leaves your theme and the checkout check turns off. Variant prices and unit prices stay as normal Shopify prices.

Start free on Shopify

Plans, screenshots and the full documentation are on apps.kaviolabs.com.

Kavio Labs

Also by Kavio Labs

The same standards, the same support desk and one licence portal on every platform we build for.