Contact
Table of contents

You open a product link, see a price, and expect clarity. That exact moment determines whether trust is built or uncertainty sets in. In Shopify stores, displaying discounts seems simple at first glance, but technically, it is significantly more complex.

There is no automatic connection between the price, compare-at price, discount code, and checkout because each area follows its own logic. When these elements are not implemented cleanly, customers see something different from what is actually charged later.

This is especially problematic for stores in Germany, as price transparency not only affects conversions, but is also legally required. Anyone looking to display a discount on Shopify needs to understand more than just visually reducing a price.

In this article, you will learn how the system technically separates selling prices from price reductions and why clean logic is critical for building trust and driving purchase decisions.

How can I display sale items on Shopify?

If you want to display sale items on Shopify, you will primarily work with the compare-at price. The platform provides a dedicated field for this, which stores the original price and compares it against the current selling price.

In the online store, customers see a strikethrough price with the current price next to it. This display immediately provides visual context and signals that the price has changed.

This reduction applies anywhere the theme outputs prices. On product pages, customers see both prices directly on the product. It works the same way on collection pages, provided the theme supports compare-at prices.

Technically, nothing more is happening here than an alternative display of existing price data. No discount is calculated, and no additional background logic comes into play. This is precisely where misunderstandings often arise. The visual reduction has nothing to do with an actual discount applied in the cart or at checkout.

The compare-at price neither changes the invoice amount nor considers conditions such as quantities, customer segments, or combinations with other promotions. It merely indicates that a product is currently being sold at a lower price than before.

This distinction is invisible to the customer, but crucial for trust and purchase decisions. When the displayed price does not match the final calculated price, frustration follows. Clearly separating visual price reductions from actual discounts ensures that pricing remains transparent and customer expectations are met.

A reduced price is not yet an applied discount.

Shopify Plus Experten Datora

The compare-at price is not discount logic

The compare-at price belongs entirely to the Shopify theme level. The theme decides whether and how this price is displayed, not the discount system. Once a product is loaded, the theme simply outputs two values: the current selling price and the stored compare-at price. No calculation takes place, and no conditions are checked.

There is no connection to the cart. The compare-at price is neither transferred nor processed further when a customer adds a product. At checkout, Shopify no longer recognizes this value as a discount, but only as visual information from the frontend. Therefore, the compare-at price cannot replace an actual discount or prepare one.

This separation affects perception more than many expect. A visible discount creates a clear expectation of the final price. If this expectation is not met later on, or if additional discounts work differently than assumed, trust suffers. This is precisely where clean pricing logic directly affects the Shopify Conversion Rate off.

As part of a structured online store optimization, it is therefore worth using compare-at prices deliberately and clearly separating them from real discounts. Mixing the two risks misunderstandings and wastes potential at a point where clarity is crucial.

How do I add discounts in Shopify and where are they visible?

When you create a discount in Shopify, you work with either discount codes or automatic discounts. You configure both in the backend, but both follow a clear rule. The system calculates Discounts only once the cart is known. This is why the online store initially displays regular prices on product and category pages.

Preise im Shop ohne aktive Rabattlogik

The first image shows this exact state. On the bestseller overview from More Nutrition, the products appear with their regular prices. There is no information that a discount might apply later. The system deliberately displays only what is valid regardless of the cart. The customer sees prices, can compare, and makes an initial purchase decision without the discount logic already kicking in.

Rabatt im Warenkorb angewendet

As soon as a product is added to the cart, the technical context changes. In the second image, the cart is open and a discount code has been applied. Only at this point is all relevant information available. The system now knows which products are in the cart, which conditions are met, and whether the discount can be applied. That is precisely why discounts only become visible here by default.

Aktualisierte Preise im Shop nach Rabattcode

The third image shows the result of this calculation. The prices in the store update automatically, and only for products eligible for the discount. Excluded items retain their original price. The platform thus clearly separates display and calculation. This logic ensures that price advantages apply correctly and no false expectations are created.

This behavior is crucial for clean Shopify checkout optimization. Attempting to display discounts earlier often interferes with processes that are deliberately kept separate. A clear presentation following this logic builds trust because pricing remains transparent and does not change unexpectedly.

How can I combine discounts in Shopify?

The system allows you to combine discounts, but sets clear rules. These rules apply whenever multiple discounts are active at the same time or a customer expects more than one benefit. The crucial point is that Shopify discounts are not freely combined; instead, each combination is deliberately restricted.

When you create a discount, you specify whether it can be combined with other discounts. The platform distinguishes between product, shipping, and order discounts. Within these categories, the system checks which discounts can apply simultaneously and which discount takes priority when in doubt.

When multiple discounts apply to the same level, only a defined logic applies and not automatically the greatest possible benefit for the customer.

This structure works well as long as discounts remain simple. It gets more complex when different types of discounts come together. A volume discount on specific products cannot be freely combined with limited-time promotions or campaign-based discounts.

Different product groups also follow their own rules, which Shopify strictly separates. The system does not decide on a case-by-case basis, but always according to fixed priorities. If you want to use multiple discount mechanics in parallel, you need to be aware of this limitation and plan for it intentionally to avoid unexpected results in the cart.

Shopify Plus Experten Datora

When custom logic becomes necessary

Once discounts are no longer meant to work in isolation, Shopify's standard logic is not enough. This applies to situations where conditions depend on each other or influence one another. At this point, the need arises for custom logic that operates beyond the theme level and systematically calculates discounts.

Technically, this step is carried out via the Shopify API. It allows you to evaluate cart data, check conditions, and Discounts to control before checkout is completed. This logic cannot be implemented in the theme, because themes are solely responsible for presentation and have no access to backend decision-making processes.

Here comes the role of a Shopify Developer into play. Custom discount logic requires an understanding of data flows, cart states, and the dependencies between products, prices, and promotions.

If you try to implement such requirements through theme customizations alone, you will likely quickly run into technical limitations, as calculations there are neither reliable nor consistent.

Standard apps can cover simple scenarios, but are usually limited to a specific use case. As soon as multiple rules need to work together, the need arises to have a custom app developed that is tailored precisely to the desired logic.

A specialized Shopify app development service ensures that calculations run reliably and integrate seamlessly into existing processes.

Rabattaktionen im Onlineshop anzeigen

Technically implement multiple discounts with one code

The platform intentionally does not allow multiple different discount logics to be freely combined with a single code. The reason for this is not the user interface, but the internal calculation.

By default, a discount code is always tied to a clearly defined rule. As soon as multiple conditions need to apply at the same time, the system lacks a higher-level logic to combine and prioritize these rules.

This is where external logic comes in. The calculation shifts away from the pure Shopify discount feature and is handled server-side. There, cart contents can be evaluated, conditions linked together, and results deliberately passed back to Shopify. The discount code then merely serves as a trigger, no longer as the sole basis for the decision.

In practice, specialized extensions are often used to handle this exact calculation. They map complex dependencies without altering the existing pricing logic in the store.

For stores that need to combine multiple discount logics with a single code, specialized extensions are often used in practice. One example is the app DATORA | Multi Discount, which was developed specifically for such scenarios.

Such solutions become especially relevant when discount strategies are focused on conversion and not just intended to reflect individual promotions.

On CRO Service for Shopify Plus steps in right here by designing discount logic so that it remains easy to understand even with complex rules and consistent across the store work.

Shopify Plus Experten Datora

Show Shopify discount: Conclusion

Displaying discounts cleanly on Shopify means deliberately keeping display and calculation separate. As long as promotions remain simple and follow clear rules, many scenarios can be covered using the built-in features.

However, once multiple conditions come into play, the technical implementation determines whether prices remain clear or cause confusion. If you want to display a discount on Shopify, you'll benefit from deliberately factoring in the underlying mechanics.

The author of this post

Marcel Dechmann

COO / Shopify Expert

As the founder of Datora GmbH, with over 20 years of experience in web development and the establishment of More Nutrition 5 years ago, he has experienced every scenario one can encounter when growing with Shopify. He has already been able to apply these learnings to hundreds of other shops and is therefore one of the leading Shopify Plus consultants in Germany.