Skip to main content

How do Shopware price rules behave at checkout?

Using Shopware's Rule Builder, you can create rules to make prices and discounts dependent on certain conditions. At checkout, however, the POS App only supports a subset of the conditions available in Shopware. Because of this, the behavior of rules at checkout can differ from the behavior in the Shopware Admin.

In this article, you'll learn which conditions are supported at checkout and how unsupported conditions affect Promotions as well as Advanced Prices.

Which conditions are supported?

The following Rule Builder conditions are supported at checkout:

German

English

Datumsbereich

Date range

Wochentag

Day of week

Zeitraum

Time range

Verkaufskanal

Sales Channel

Währung

Currency

Kundengruppe

Customer group

Kundennummer

Customer number

Firmenkunde

Is business customer

Anzahl abgeschlossener Bestellungen

Count of orders

All other conditions are considered unsupported.

How are rules structured?

A condition checks whether a specific statement is true, for example, whether a customer belongs to a certain customer group. A rule consists of one or more conditions. These conditions can be linked with AND or OR. In Shopware, rules can also be nested using containers.

Whether a rule applies at checkout therefore depends not only on which conditions are used, but also on how these conditions are linked within the rule.

Behavior for Promotions

For Promotions, an unsupported condition is considered fulfilled at checkout. So if a discount rule contains an unsupported condition, it is treated as true during evaluation.

If the conditions within the rule are linked with AND, the discount is still only applied if all supported conditions are also fulfilled. If the conditions are linked with OR, the unsupported condition alone can already cause the rule to be considered fulfilled and the discount to be applied.

Behavior for Advanced Prices

For Advanced Prices, an unsupported condition is considered not fulfilled at checkout. So if an advanced price contains an unsupported condition, it is treated as false during evaluation.

If the conditions within the rule are linked with AND, the advanced price cannot apply at checkout, because not all conditions are fulfilled. If the conditions are linked with OR, the advanced price is only applied if at least one of the supported conditions is fulfilled.

Product-related conditions for discounts

Product-related conditions for Promotions are not supported at checkout. This includes, for example, conditions that refer to specific products, tags, properties, or line items.

Such conditions cannot be checked at checkout. Because of this, discounts cannot be restricted to specific products at checkout using product-related conditions.

If a discount should only apply at checkout under certain conditions, you should therefore only use conditions listed as supported in the list above.

Multiple Advanced Prices for one product

If multiple advanced prices with different rules are set up for a product, the POS App takes into account the rule prioritization defined in Shopware.

Priority is evaluated the same way as in Shopware: a higher number means a higher priority.

Did this answer your question?