Unit pricing: show price per piece, liter, or kilo in your store
Show the price per unit below the price on product cards and the product page. Here is how to add a unit price (per piece, per liter, or per kilo) to your products in Shoporama.
If you sell products in packs, rolls, or specific quantities, it helps customers to see what the product costs per unit. A crate of soda for 79 DKK doesn't say much on its own, but "3.29 DKK per piece" makes it easy to compare. It's exactly the kind of unit pricing you know from online grocers such as Nemlig.com and from supermarket shelf labels.
In Shoporama, you can show a unit price below the price on both product cards and the product page. You fill in two small fields on the product, and the theme shows the rest automatically. The feature is optional and takes up no space if you don't use it.
Good to know: For food and beverages sold at retail, showing the unit price is a legal requirement under the Danish Price Marking Order (prismærkningsbekendtgørelsen). With this feature, you can show the unit price without touching your theme's code. The rules use whole base units: price per liter for beverages and price per kilo for products sold by weight. You choose the right unit for your product yourself.
How to add a unit price to a product
Open the product in the admin and go to the General tab. In the Package contents (optional) field, you fill in two things:
- Quantity in the package. This is the number of base units the price is divided by. For a crate of 24 cans, enter 24. For a 500-gram bag, enter 0.5 (half a kilo).
- Unit. Choose the unit in the dropdown: stk (pieces), kg, L (liters), m, or m². Use price per liter for beverages and price per kilo for products sold by weight, so the unit price follows the rules.
Save, and the unit price appears in your store. If you leave the fields empty, no unit price is shown. That way, you decide which products get one.

Three examples
- Price per piece: A crate of 24 cans for 79 DKK. Set the quantity to 24 and the unit to stk. The store shows 3.29 DKK/stk (79 divided by 24).
- Price per kilo: A 500-gram bag of candy for 20 DKK. Set the quantity to 0.5 and the unit to kg. The store shows 40 DKK/kg (20 divided by 0.5).
- Price per liter: A crate of 24 cans of 0.33 liters each holds 7.92 liters in total. Set the quantity to 7.92 and the unit to L, and the store shows the price per liter.
Where is the unit price shown?
The unit price appears in smaller, gray text right below the regular price:

- On product cards in categories, on the front page, and in recommendations.
- On the product page below the total price.
The unit price is deliberately not shown in the cart or at checkout, to keep the purchase simple there. If a product has more than one price (for example, different prices per variant), the unit price is not shown, because it would be ambiguous.
The unit price always follows the displayed price
You don't need to think about VAT or sales when you set the unit price. It is calculated from the price the customer actually sees. If the product is on sale, the unit price is calculated from the sale price. If your store shows prices incl. VAT, the unit price is also incl. VAT. If you run a B2B store with prices excl. VAT, the unit price is shown without VAT. If the customer has a special customer group price, the unit price follows it. In short, the unit price always matches the main price.
Which themes support unit prices?
The feature works automatically in Shoporama's built-in themes Delaware, DelawareDK, Montana, and MontanaB2B. If you use a fully custom theme, the display has to be added to the theme's code. Write to us at support@shoporama.dk if you're unsure about your theme.
Unit price or deposit?
The two look similar but are different things. A unit price is only a display of the product's own price broken down per unit. It doesn't add anything, and the customer pays exactly the price shown. A deposit, on the other hand, is a separate amount that is added at checkout and refunded on return. If you sell beverages, you can easily use both on the same product: the deposit as an extra amount, and the unit price to help the customer compare.
Frequently asked questions
What exactly is a unit price, and should I use it on all my products?
The unit price shows what the product costs per piece, liter, kilo, or similar, for example 3.29 DKK per piece for a crate of 24 cans. It makes it easy for customers to compare prices. The field is optional, so you don't have to fill it in on every product. It makes the most sense for food and beverages, where it is often relevant to the customer.
Where do I find the field when I create a product?
You find it when editing the product, on the General tab. There is one field for the quantity and one for the unit. For example, enter 24 as the quantity and stk as the unit, or 0.5 and kg for a 500 g bag. You choose the unit from a fixed dropdown with stk, kg, L, m, and m².
Is the unit price shown with or without VAT?
The unit price always follows the price the customer actually sees. If your store shows prices incl. VAT to consumers, the unit price is calculated incl. VAT. If the customer buys B2B and sees prices excl. VAT, it is calculated excl. VAT. You don't need to do anything; it adjusts automatically.
Is it still correct when the product is on sale or the customer has a special price?
Yes. The unit price is calculated from the price that is actually shown and divided by the quantity you entered. If the product is on sale, or the customer has a customer group price, the unit price goes down with it. So it always matches the current price on the screen.
I have a lot of products. Where is the unit price shown in the store?
It appears as a small gray line below the price, both on product cards (categories, front page, and recommendations) and on the product page itself. It is not shown in the cart or at checkout. You fill in the field once per product, and the display is handled automatically in both places.
Why doesn't a unit price appear on my product with variants?
If the product has different prices per variant, the unit price is not shown. This is intentional, because it would be ambiguous when the price changes depending on which variant the customer chooses. On products with one fixed price, the unit price is shown as usual.
Related features
Unit price
What is a unit price? A product's price per item, liter, or kilo, so customers can compare easily. Required for food and beverages sold at retail...
MontanaB2B theme settings: fields and B2B features
Every field in MontanaB2B's theme settings explained, plus the login wall, prices excl. VAT, customer groups, company accounts, and quick order.