Zum Inhalt springen

OPALFlexible Price Rounding

Configurable rounding of the cart total – for example Swiss 5-centime rounding. The difference is shown clearly and stored with the order. Individual prices can optionally be rounded too.

OXID eShop 7.5Direct from the platform vendor

The core calculates to the centime – but doesn't round to 5 centimes.

Round the amount payable correctly – Swiss 5-centime rule

In Switzerland, the amount payable has to be rounded to 5 centimes (CHF 0.05) – the OXID core cannot do that. The Flexible Price Rounding OPAL rounds the cart total using standard rounding (round half up) or always rounding up, shows the difference clearly and writes the rounded amount to the order. Individual prices and line items stay accurate to the centime.

What this OPAL does for you

1.Round the cart total – for example to 0.05 under the Swiss 5-centime rule.

2.Choose the mode (standard rounding or round up) and precision (whole amounts, 0.10 or 0.05) per subshop.

3.Show the rounding difference at checkout, in emails and in the admin area – the rounded amount is stored with the order.

Before / After

Before

The amount payable ends in odd centimes – in Switzerland it cannot be settled in cash.

After

The cart total is rounded to 0.05; individual prices and line items stay accurate to the centime.

Before

A rounded total appears at checkout without explanation – the difference cannot be traced.

After

The rounding difference is shown clearly: at checkout, in the order email and in the admin order view.

Before

Afterwards, it is unclear which amount was actually charged.

After

The rounded amount is stored in the order (oxtotalordersum), the difference in a separate column.

Part of the OPAL family

OPALs are building blocks from OXID eSales: a proven foundation that is adapted to your IT landscape and integrated into your store.

Features at a glance

Round cart total

Rounds the cart total, i.e. the amount the customer pays. This is where Swiss 5-centime rounding applies. It makes no difference whether your store displays prices net or gross.

Round individual prices (generic)

Optionally, individual product prices can be rounded. This generic function changes the line totals and does not match the Swiss 5-centime rule – leave it off for Switzerland. Both options are disabled by default.

Mode & precision

Two rounding modes: "commercial" (standard rounding, round half up) or always round up. Three precision levels: whole amounts (1.00), tenths (0.10) or twentieths (0.05). For Switzerland: mode "commercial", precision 0.05.

Theme-independent & unobtrusive

Rounding works in every storefront theme, not just the default theme. Both options are off out of the box – without activation, amounts stay unchanged.

Difference shown transparently

When rounding changes the amount, the difference is shown clearly with its sign (+/–): at checkout above the total, in the confirmation email (HTML and text) and in the admin order view.

Rounded amount stored

The OXID core writes the rounded total to oxorder.oxtotalordersum, and the difference goes to a separate order column. This way, the customer account and invoice-related reports show the amount actually charged.

Who is this OPAL for?

Store owner / e-commerce manager (Switzerland)

You sell to Switzerland and have to round the amount payable to 5 centimes (CHF 0.05) – for cash, invoices and clean bookkeeping.

How it helps

You activate "Round cart total" with mode "commercial" and precision 0.05. The cart total is rounded according to the Swiss rule, while individual prices and line items stay accurate to the centime. The rounding difference is shown at checkout, in the order email and in the admin order view – and the rounded amount is stored permanently with the order.

Frequently asked questions

Price

€10/month

OPALs are also available in subscription packages.

Any questions?

0 characters / 5,000

Request the Flexible Price Rounding OPAL

Swiss 5-centime rounding of the amount payable – shown transparently and stored with the order.