Skip to content

Unit prices ​

For goods sold by weight, volume, length or area, the app Grundpreise (unit prices) shows the unit price under every price in the search, for example "13.32 € / 1 l". If you like, the content comes first: "780 g (44.74 € / 1 kg)".

The essentials

  1. Install the app Grundpreise in the account portal under Apps & integrations. It is included in every plan.
  2. Content and reference quantity must be in the product feed: findiyra:unit_pricing_measure and findiyra:unit_pricing_base_measure. The Shopware plugin sends them automatically from version 1.0.8 on.
  3. Always write numbers with a dot as decimal separator and without thousands separators, for example 0.15 kg.

What the app shows ​

  • The unit price under the price in all product cards and lists of the search, also in the product cards of the AI chat.
  • It is always calculated from the price that is currently shown, so also for sale prices and customer group prices.
  • When the search shows the price of another variant, the unit price changes with it.
  • Products without content and reference quantity in the feed only show the price, as before.

The calculation is price / content × reference quantity: 9.99 € with 0.75 l and 1 l gives 13.32 € / 1 l.

Settings ​

You open the settings in the app with Open settings. Every change is saved right away.

SettingDefaultEffect
ActivateonShows the unit price in the search. Switched off, the app stays installed but shows nothing.
Show contentoffShows the content before the unit price, the unit price then goes in brackets: "780 g (44.74 € / 1 kg)". Products without content in the feed only show the unit price.

With Show content, a content below 1 is shown in the next smaller unit, as is common in retail: 0.78 kg appears as "780 g", 0.33 l as "330 ml", 0.25 m as "25 cm". From 1 upwards the value stays as in the feed, such as "1.5 kg".

Fields in the product feed ​

xml
<findiyra:unit_pricing_measure>0.15 kg</findiyra:unit_pricing_measure>
<findiyra:unit_pricing_base_measure>1 kg</findiyra:unit_pricing_base_measure>
FieldContent
unit_pricing_measureContent of the sales unit: number, space, unit, for example 0.75 l or 500 g
unit_pricing_base_measureReference quantity of the unit price, for example 1 l, 1 kg or 100 g

Number format

Always use the dot as decimal separator and no thousands separators: 0.15 kg, 1.5 l, 1000 g. A value like 1.000 g is read as 1 g, not as 1000 g.

These units are converted into each other, for example 500 g against 1 kg:

KindUnits
Weightmg, g, kg
Volumeml, cl, dl, l, m³
Lengthmm, cm, dm, m, km
Areacm², dm², m²

Other units work when both fields use the same one, for example 120 pcs and 1 pcs. If a field is missing, can't be read or the units don't fit together (such as 500 g against 1 l), the search only shows the price for that product.

With the Shopware plugin from version 1.0.8 on, both fields come from the product's selling unit, basic unit and unit. For your own feed, see Product feed.

When the unit price appears ​

Findiyra takes over new or changed values with the next sync of your shop. If you don't want to wait, start it in the account portal under Sync & feed with Start sync. This works once a day. Then reload the shop page once.

Troubleshooting ​

ProblemSolution
No product shows a unit priceIs the app installed and Activate switched on? Are both fields in the feed? After changing the feed, wait for the next sync or use Start sync.
Single products have no unit priceThese products lack content or reference quantity, or the units don't fit together.
The unit price is far too highIs there a thousands separator in the feed, such as 1.000 g? Write 1000 g.
The content doesn't appear before the unit priceSwitch on Show content. After switching on the option, the content appears at the latest after the next sync.