Unit prices on Shopify
A 250 g bag of coffee for €8.90 has to say €35.60 per kg as well. The unit price lets a shopper compare a small pack with a large one, and EU law requires it for most goods sold by measure, with national exemptions. Shopify can print it, but only for variants where someone has entered the quantity. Many shops never do. This page explains the rule, the units, and two ways to get it onto your pages.
In short:
- The duty covers goods offered to consumers by weight, volume, length or area. Goods sold purely by the piece need no unit price. But a pack whose weight or volume has to be declared by law, as with most prepacked food, counts as offered by weight or volume even if you sell it by the piece.
- The unit price stands right next to the selling price, so that both can be seen at a glance, and has to be "unambiguous, easily identifiable and clearly legible". Behind a link, a tab or a mouse-over is not enough.
- In Germany the reference for packaged goods is 1 kilogram, 1 litre, 1 metre, 1 square metre or 1 cubic metre. "Per 100 g" has not been allowed for them since 28 May 2022. The few exceptions are in section 2.
- It applies wherever you show or advertise a price: product page, collection page, search results, cart.
- Shopify has a unit price field on every variant. The work is filling it in for the whole catalogue and keeping it right.
This page explains the requirement and the setup. It is not legal advice.
1. Which rule this is
The EU rule is the Price Indication Directive 98/6/EC. Article 3 says "the selling price and the unit price shall be indicated" and adds that the unit price "need not be indicated if it is identical to the sales price". Article 4 requires both to be "unambiguous, easily identifiable and clearly legible". The unit price is defined as the final price, including VAT and all other taxes, "for one kilogramme, one litre, one metre, one square metre or one cubic metre of the product", or another single unit that is customary in the member state.
It is a directive, so every member state has its own version, with its own units and exemptions. Germany's is the Preisangabenverordnung (PAngV): § 4 sets the duty and § 5 the units. The rest of this guide uses the German rules as the worked example. If you sell to another country, check its rules; Austria's, for example, are in §§ 10a to 10c of the Preisauszeichnungsgesetz (PrAG).
2. Which unit to use
Under § 5 PAngV the reference quantity is 1 kilogram, 1 litre, 1 cubic metre, 1 metre or 1 square metre of the product. Until 27 May 2022, small packs could be priced per 100 g or 100 ml. That option is gone for packaged goods: a 30 ml serum is priced per litre, even if the number looks odd.
A few special cases from § 5:
- Large quantities: goods usually sold in quantities of 100 litres, 50 kilograms or 100 metres or more use the unit that is customary in trade (§ 5(1), second sentence).
- Loose goods sold by weight or volume may use 1 kg or 100 g, 1 l or 100 ml, whichever is customary. Loose goods are unpackaged goods measured out in the consumer's presence, by the consumer or at their request (§ 2 no. 5 PAngV); that is rare in an online shop.
- Where a drained weight has to be declared (olives, tinned fruit), the unit price refers to the drained weight.
- Household detergents may be priced per usual application ("per wash"). The same goes for individually portioned washing and cleaning products, if the number of portions is stated together with the total quantity.
A pack counts as its total: "2 x 250 ml" is 500 ml.
3. What is exempt
§ 4(3) PAngV lists goods that need no unit price. The ones an online shop meets most often:
- goods with a nominal weight or volume of less than 10 g or 10 ml,
- packs containing different products that are not mixed or blended with each other (a gift set),
- cosmetics used only for colouring or beautifying skin, hair or nails, such as make-up or nail polish. A cream or a shampoo is not in this group,
- perfumes and scented waters with at least 3 % fragrance oil and 70 % pure ethyl alcohol by volume,
- goods offered as part of a service.
The exemption for small direct sellers and small retailers covers farm shops, winegrowers, beekeepers, kiosks and market stalls where goods are mainly handed over by staff. An online shop does not fall under it.
There is also a rule in § 4(1), second sentence: the unit price may be left out when it is identical to the selling price, for example exactly 1 kg for €12.
4. Where it has to appear
§ 4(1) applies to anyone who offers such goods or "advertises them with prices". Germany's Federal Court of Justice requires that the unit price and the selling price can be taken in "at a glance" (BGH, judgment of 19 May 2022, I ZR 69/21). A unit price further down the page, in a tab or in a tooltip does not meet that.
So the unit price belongs wherever the price is: the product page, collection and search pages,
the cart, and ads or shopping feeds that show a price. For Google Shopping that means sending
unit_pricing_measure (250 g) and unit_pricing_base_measure (1 kg) in the product feed. The unit
price has to change with the price, including during a sale, and each variant needs its own figure
when the sizes differ.
5. Doing it by hand in Shopify
Shopify calls this "unit pricing"; its help page is Displaying unit prices for products.
- Open a product (or a variant) and go to the Pricing section.
- Click Unit price, enter the pack's quantity in the Total amount field (250 g) and set the Base measure to 1 kg. Check that value rather than relying on the default. Click Done.
- Save. Shopify calculates the unit price from the current price and recalculates it when the price changes.
- Check your theme. Shopify says every Online Store 2.0 theme prints the unit price on product pages, collection pages, the cart and checkout. Vintage themes need a code change. Heavily customised themes and search results may still leave it out, so look at every page that shows a price.
- Repeat for every variant sold by measure. For a large catalogue, the CSV import or the bulk editor saves time.
Two limits: the units on offer follow your shop's unit system (set it to metric in the general settings), and Shopify shows the same unit type in every market.
This costs nothing. The weak points are scale and drift: new products arrive without the field, titles change from 250 g to 200 g and the measurement does not, and nobody notices until a competitor does.
6. Doing it with EU Kit
In EU Kit (on the App Store: "EU Compliance: Omnibus & GPSR") the Unit prices page, part of the Pro plan, audits the catalogue instead of drawing anything itself. Your theme still prints the unit price; the app makes sure Shopify has the data.
- Open Unit prices in the app. It reads the quantity from your product and variant titles ("500 g", "0,75 l", "2 x 250 ml") and compares it with what Shopify has.
- You get four groups: variants that already show a unit price, variants that should and do not, variants to review, and variants that are not sold by measure.
- One button sets the measurement for the missing ones, per 1 kg, 1 l, 1 m or 1 m², and activates the unit price. You see every planned value before you confirm.
The review group is there on purpose. A length in a title is as often a dimension as a quantity ("a metre of cable" or "a 30 cm vase"), so lengths are never set automatically. The same goes for measurements that disagree with the title and measurements that are set while the unit price is not active. You decide those on the product page.
Three limits you should know. The app reads titles, so a quantity that appears only in the description or in an image is not found. Piece counts are left alone. The app cannot tell whether a pack also has to be labelled by weight or volume by law, as most prepacked food does; check those by hand. And the audit covers the first 2,000 products; it tells you when it stopped there.
It also does not decide whether one of your products is exempt. A nail polish that the audit lists as missing may fall under the cosmetics exemption in section 3; that call is yours.
7. What it costs to leave it out
Enforcement is national. In Germany a missing or wrong unit price is an administrative offence under § 20 PAngV together with § 3 of the Wirtschaftsstrafgesetz, with fines of up to €25,000. In practice the more common consequence is a warning letter (Abmahnung) from a competitor or an association under unfair-competition law.
Frequently asked questions
Do I need a unit price for products sold by the piece?
Usually not. The duty covers goods offered by weight, volume, length or area. But Germany's Federal Court of Justice treats a pack as offered by weight as soon as the law requires its weight to be declared (coffee capsules, BGH I ZR 85/18). A box of 20 tea bags that has to state "40 g" therefore probably needs a price per kg, even if you sell it as "20 pieces". Screws or candles sold only by the piece need none.
Can I show the price per 100 g?
In Germany not for packaged goods. § 5 PAngV names 1 kilogram and 1 litre as the reference quantities; 100 g and 100 ml remain possible only for loose goods. Other member states have their own conventions, so check the rules of the country you sell to.
Does the unit price have to be on collection pages too?
Wherever you show a price for the product. § 4 PAngV covers offering goods and advertising them with prices, which includes collection pages, search results and the cart.
What about a set of two bottles?
The unit price refers to the total quantity: two bottles of 250 ml are 500 ml. A set of different products that are not mixed or blended, such as a shampoo with a conditioner, is as a rule exempt under § 4(3) no. 2 PAngV.
My product is on sale. Which price is the unit price based on?
The price you display. If you run the sale through the variant price (with a compare-at price), Shopify recalculates the unit price automatically. If a discount app or the theme shows a lower price some other way, check that the unit price matches it.