Pricing and discounts overview

Ask about this Page
Copy for AI
View as Markdown

How you set prices for your products and reduce them with discounts and promotions.

Learn more about pricing in the self-paced Price calculation and Set static Prices modules, and about discounts in the self-paced Product Discounts and Cart Discounts modules.

Pricing and discounts decide what customers pay. A business sets a base Price for each Product Variant and can vary it by currency, country, Customer Group, and Channel. Discounts reduce those Prices for sales, promotions, and negotiated deals. Because a discount can be deactivated when a promotion ends, the business doesn't have to maintain discounted Prices and base Prices side by side.

Merchandisers typically set up Prices and discounts, either in the Merchant Center or with the APIs:

Key concepts

Price

A Price is the purchase value of a Product Variant in a specific currency. A Product Variant is identified by its SKU (Stock Keeping Unit), the code that identifies the exact Product Variant in the product catalog.
Each Price is valid for a price scope: the currency, plus optionally the country, Customer Group, Channel, and validity period for which the Price applies. Only one Price can exist for a price scope. Because the validity period is part of the price scope, Prices that are otherwise identical can coexist when their validity periods don't overlap.
For example, a SKU can cost €25 in Germany and €30 in Spain. Because the SKU has two Prices, the Price that a Customer pays can depend on the country of purchase. To learn how the platform chooses between the Prices of a Product Variant, see Price selection.

A Price with a validity period is time-bound: the platform shows it only within that period. Prices that are no longer valid aren't removed automatically. You can delete them if necessary.

To create an efficient Price model, follow the best practices.

Types of Prices

You can store Prices in two ways: embedded in the Product Variants, or as separate Standalone Prices. A Product can have both types of Prices at the same time, but use only one type of Price for a Product for better performance. Each Product has a price mode that decides which type of Price its Product Variants use.

Embedded Prices

Embedded Prices are stored within a Product Variant. You can stage changes to Embedded Prices and publish them later.

Embedded Prices are only available in Projects that use the classic product catalog model. In Projects that use the Modular product catalog model, pricing is handled exclusively through Standalone Prices.

Standalone Prices

Standalone Prices are separate resources instead of being part of a Product Variant, and they are associated to a Product Variant through its SKU. They suit businesses with a large number of Prices, and they are managed independently from Products, which contributes to better query performance.

Unlike Embedded Prices, you can create Standalone Prices for Products that don't exist in the Project. To link a Product Variant that you add later to its Standalone Price, the Product Variant and the Standalone Price must have the same SKU.

You can stage changes to Standalone Prices before publishing them. You can also deactivate a Standalone Price: the platform doesn't consider a deactivated Standalone Price during price selection.

External Prices

External prices are stored and maintained outside the product catalog: in a third-party external system, or as Custom Objects, which hold custom data in the Project. Your application retrieves an external price when it needs to show it or add it to a Cart.

Consider using external prices in the following cases:

  • Your pricing data needs more Prices per Product Variant than the platform supports.
  • Your pricing data is stored externally in a Product Information Management (PIM) system. To show the Price for a Product Variant, or for a Line Item in the Cart, your application retrieves the Price from the external system. Alternatively, you can import your prices into the platform as Standalone Prices or Embedded Prices.
  • Your pricing data is dynamic: it changes frequently or is calculated on the fly from external values, such as currency conversion rates. Your application retrieves the data from the external system before it shows the prices on your storefront.
  • Your pricing data is stored in a datastore that is colocated with your application code. To show Prices on your storefront or for Line Items in the Cart, your application reads them from that datastore instead of calling an external system.
  • Your pricing data is stored as Custom Objects. Although Custom Objects are stored within the platform and accessible through its APIs, the Prices still count as external, because your application must read them when it shows pricing information or adds it to the Cart.
External prices can't use all of the price selection logic that Embedded Prices and Standalone Prices use.

Tiered pricing

Tiered pricing gives a different Price when a customer buys a certain quantity of an item. It is useful in bulk-purchasing scenarios, and it is an alternative way to discount prices without Product Discounts. For example, if a Product's base price is €5, a tiered Price of €3 can apply to each item when 100 items are added to a Cart and ordered. Both Embedded Prices and Standalone Prices support tiered pricing.

When the minimum quantity of a Price tier is reached, the platform applies the Price tier to the entire quantity of the Product Variant in the Line Item. The platform selects the tier that is valid for the quantity of the Line Item. If the quantity doesn't reach any Price tier, the base Price applies.

The platform applies a Price tier per Line Item. For example, if the same Product Variant is in a Cart as several Line Items (for example, with different Custom Field values), each Line Item must reach the minimum quantity to get the Price tier.

The platform ignores a Price tier when the Price is already discounted by a Product Discount. It also ignores tiered prices when it compares Prices to find the cheapest one during price selection.

Discounts

Discounts reduce the Prices that customers pay. They help create efficient pricing solutions, for example for temporary promotion campaigns, because a business can deactivate a discount when the promotion ends instead of maintaining discounted Prices and base Prices side by side.

Product Discounts reduce Prices before a Product is added to a Cart. Cart Discounts reduce prices in a Cart. Discount Codes, Discount Groups, and Direct Discounts build on Cart Discounts.

B2C businesses typically have simple base pricing structures and rely on frequent promotions to drive sales. B2B businesses often have more complex pricing, with high-precision (sub-cent) prices and tiered pricing. Discounts play a less significant role in B2B, because purchasing decisions are generally made by groups, which reflects a more structured decision-making process.

Product Discounts

A Product Discount reduces the Price of a Product Variant before it is added to a Cart. Use Product Discounts to show a discounted Price on product detail pages (PDPs) or product listing pages (PLPs). A best practice is to use Product Discounts to show sale prices for your Products, instead of using the pricing solutions that are better suited to storing base prices.

Product Discounts are useful for the following scenarios:

  • Specific Products or SKUs, for example, a sale on a specific color of handbag
  • Subsets of Customers, for example, a "platinum members-only" sale
  • Subsets of Products, for example, a sale on all handbags or wallets
  • Business-defined Attributes, for example, a sale on products by a certain designer

For example, a business creates a base Price for a new mobile phone for Customers in Germany who belong to the Platinum Customer Group. With a Product Discount, it offers a discounted Price for the same combination (Germany and the Platinum Customer Group). This lets the business show the base Price together with the discounted Price in its storefront, and supports smooth reporting analytics.

Only one Product Discount applies to any Price of a Product Variant at any given time. Different Product Variants of the same Product can have different Product Discounts. You can also use several Product Discounts for the same Product Variant to discount different Prices. For example, one Product Discount gives 10% off the Price in euros, and another gives 20% off the Price in US dollars of the same Product Variant.

Each Product Discount has a sort order, a number between 0 and 1. If several active Product Discounts match a Price, the Product Discount with the higher sort order applies.

Product Discounts apply to both Embedded Prices and Standalone Prices, and to both the published Price and its staged changes.

When base prices are stored externally, or when the built-in discounting logic can't support your requirements, you can use external discounts. An external system calculates the discount, and your system sets the discounted price.

Cart Discounts

A Cart Discount reduces prices in a Cart. A Cart Discount can discount the following elements of a Cart:

  • Any item in the Cart
  • The shipping cost of the Cart
  • The total of the Cart
  • A "Buy X, get Y free" discount, which adds a free item to the Cart
  • A "Buy X items, get Y of them at a discounted rate" discount. You can only apply a percentage-off discount to eligible items.

A more powerful option lets you apply an amount, a fixed price, or a percentage discount to eligible items.

When the condition of a "Buy X, get Y free" discount is met (its Discount Predicate, a conditional expression that decides whether the discount applies), the platform automatically adds a Gift Line Item to the Cart. If the Gift Line Item becomes invalid after creation (for example, when the referenced Product, Product Variant, or Channel has been deleted), or if a Price can't be selected for the Cart, the Cart Discount doesn't apply to the Cart.

Cart Discounts are useful for the following scenarios:

  • Free shipping discounts, or free shipping over a certain Cart amount
  • Seasonal sales for a group of products
  • Membership or Customer Group discounts

The platform recalculates Cart Discounts whenever a Discount Code, Line Item, or Custom Line Item is added to or removed from a Cart, and when an Order is created from a Cart.

Unlike Product Discounts, several Cart Discounts can apply to a Cart at the same time, in a ranked order. Each Cart Discount has a sort order, a number between 0 and 1, and the Cart Discount with the higher sort order is applied first. Cart Discounts include Discount Codes that customers apply during checkout, because Discount Codes are associated with Cart Discounts. To prevent lower-ranked Cart Discounts from applying, set the stacking mode of the Cart Discount that must be applied last to stop further discounts.
The stacking mode does not control free shipping above a Cart value as defined on a Shipping Rate. To avoid unwanted scenarios, do not use Cart Discounts on the shipping cost together with free shipping above a Cart value.
Cart Discounts can be defined globally for a Project, or be specific to one or more Stores in a Project. A Store-specific Cart Discount applies only to Carts that belong to one of its Stores. A Cart Discount without Stores applies globally to all Carts. To apply a Cart Discount to only a single Cart or Order, use Direct Discounts.
A Cart Discount can also be limited by the type of Order. By default, it applies only to Orders that aren't Recurring Orders. A business can instead apply it to both non-recurring and recurring Orders, to recurring Orders only, or only to recurring Orders that follow specific Recurrence Policies. This option is in beta.

Discount Codes

A Discount Code, also known as a promo code or coupon code, is an alphanumeric sequence of characters that unlocks a Cart Discount. Discount Codes aren't tied to a Customer: anyone with the code can enter it. You can restrict a Discount Code with a condition on the Cart, validity dates, and usage limits. It is also limited to the Stores of the Cart Discounts it unlocks.

During checkout, a customer adds the Discount Code to the Cart, and the related Cart Discount applies as soon as the Discount Code is added. With Discount Codes, you offer additional Cart Discounts through unique codes. You can limit how many times a Discount Code can be applied in total, and how many times each Customer can apply it. Discount Codes inherit their Store association from the Cart Discounts they reference.

Discount Codes aren't ranked like Cart Discounts, but the order in which they apply to a Cart depends on the ranking of the Cart Discounts they are associated with. For example, the following discounts apply to a Cart:

  • SUMMER SALE: a Cart Discount that discounts the Cart by €10 with a sort order of 0.05
  • MYFIRSTPURCHASE: a Discount Code associated with a Cart Discount, NEW CUSTOMERS, that discounts the Cart by €5 with a sort order of 0.1
Because NEW CUSTOMERS has the higher sort order, the platform applies it before SUMMER SALE: it applies the discount of €5 first, followed by the discount of €10.

Discount Groups

A Discount Group is a container for multiple Cart Discounts. To apply only one Cart Discount when several are eligible, group the Cart Discounts in a Discount Group. The platform then applies only the Cart Discount that gives the Customer the highest savings, the best deal.

Discount Groups are useful for managing temporary campaigns or running time-sensitive promotions. For example, you can group seasonal sale promotions into a single Discount Group, and then deactivate all of them at once when the sale ends. A Discount Group must be active for its Cart Discounts to apply. While a Discount Group is inactive, the platform doesn't consider its Cart Discounts.

In the Merchant Center, deactivating a Discount Group deactivates all of its Cart Discounts, and activating a Discount Group doesn't activate its Cart Discounts.

You can only group Cart Discounts that aren't specific to a Store and that discount items in the Cart: any item, "Buy X items, get Y of them at a discounted rate" discounts, and the more powerful option for eligible items. Cart Discounts with a Gift Line Item value can't be used in Discount Groups.

When a Cart Discount belongs to a Discount Group, the platform treats its own sort order as 0. The sort order of the Discount Group determines how the Cart Discount is applied.

Direct Discounts

A Direct Discount is a Cart Discount applied directly to a single Cart or Order, rather than applying automatically to all eligible Carts in a Project. For example, a Seller who negotiates a Quote can add a Direct Discount to the quotation Cart of the Staged Quote. A Direct Discount on a Quote is only valid for that Quote. When an Order is created from a Cart, the Direct Discounts of the Cart are applied to the Order.

While most commonly used in B2B scenarios, Direct Discounts can also be used in B2C scenarios.

Direct Discounts are always active and valid, use the default stacking mode, and don't have a sort order. They apply in the order in which they are listed on the Cart or Order.

By default, Direct Discounts take precedence over the other discounts on the Cart. If a Direct Discount is applied to a Cart or Order, any matching Cart Discounts in the Project are ignored, and Discount Codes can't be added. For all three discount types to coexist, set the Cart so that Direct Discounts don't ignore Cart Discounts. The Direct Discounts then apply after all Cart Discounts, so they always act on prices that the Cart Discounts have already reduced.

Direct Discounts can also take part in the best deal selection with Product Discounts and Cart Discounts. For the rules, see Direct Discounts in best deal.

How the concepts relate

Prices belong to Product Variants, and discounts reduce either those Prices or the prices in a Cart. Discount Codes, Discount Groups, and Stores work with Cart Discounts, and Direct Discounts apply to single Carts, Orders, and Quotes.

The following diagram shows how Prices, discounts, and the resources they work with relate to each other.

Selection and precedence rules

Price selection

A business can specify Prices with different price scopes to serve all customers, and the platform selects the most suitable Price for each customer. The platform selects a Price for a Product Variant on a product page, and for a Line Item in a Cart, using the shopper's currency, country, Customer Group, and Channel. It selects the Price with a sequential fallback mechanism.

Fallback logic

For a given currency, and for the Recurrence Policy of a subscription purchase (see Recurring Orders), the platform selects a Price with the following logic. If no Price matches a specified Recurrence Policy, the platform ignores the Recurrence Policy and follows the sequence without it.

The following diagram shows the order in which the platform looks for a matching Price. The platform stops at the first step that has a matching Price.

The platform checks the following steps in order. A Price matches a step when it fits the shopper on the criteria marked Matches, and the Price has no value set for the criteria marked Not set.

StepCustomer GroupChannelCountry
1MatchesMatchesMatches
2MatchesMatchesNot set
3MatchesNot setMatches
4MatchesNot setNot set
5Not setMatchesMatches
6Not setMatchesNot set
7Not setNot setMatches
8Not setNot setNot set

Within each step, time-bound Prices take precedence over Prices without a validity period. The platform shows a Price only within its validity period.

Fallback logic for multiple Customer Groups

When a Customer or Business Unit belongs to multiple Customer Groups, the platform determines the eligible Customer Groups for price selection as follows:
  • For Customers (B2C): the Customer Group of the Cart and the Customer Groups assigned to the Customer
  • For Business Units (B2B): the Customer Groups assigned to the Business Unit. If the Business Unit has any Customer Groups assigned, only Prices from those Customer Groups are considered during price selection.

If the Customer Group assignments of a Business Unit are set to an empty list, only the base Price applies. If the Customer Group assignments of a Business Unit aren't set at all, the platform uses the Customer Group of the Cart and the Customer Groups of the Customer, provided that the Cart has a Customer. Without a Customer, only the base Price applies.

Price selection happens only between eligible Prices that match one step of the fallback logic. If several Prices match a step, the platform selects the cheapest Price, before Cart Discounts. If a Product Discount applies to a Product Variant, the discounted value of the Embedded Price or Standalone Price determines the cheapest Price. The platform ignores tiered prices when it selects the lowest price for the Product Variant.

If several Prices have the same value, the platform uses the first Customer Group in the Customer Group assignments of the Customer or Business Unit. If the Price matched from the Customer Groups assigned to the Customer and the Price matched from the Customer Group of the Cart are equal, the platform uses the Price that matches the Customer Group of the Cart.

The following example shows how the platform selects a Price when a Customer or Business Unit is a member of multiple Customer Groups.

Customer GroupCountryChannelPrice
AlphaUSAZeta$123
BetaUSAZeta$100
Delta*Zeta$99
***$23

According to the fallback logic, the platform first checks for a Price for the Customer Group, Channel, and country. This leaves $123 and $100, and $100 is selected because it's the cheapest of the two Prices. Because the first condition is met, the platform ignores the next checks in the price selection logic, although other cheaper Prices exist.

Discount interaction in Carts

Product Discounts and Cart Discounts both change the prices in a Cart, and both affect the Cart total. Discounts can interact in two ways: between Product Discounts and Cart Discounts, and between multiple Cart Discounts.

A relative Cart Discount, such as a percentage discount, is calculated on the price after any previous discounts. With previous discounts already applied, the target can already have a discounted Price, and the Cart Discount then reduces that already discounted Price.

At the Project level, you configure whether both Product Discounts and Cart Discounts apply to a Line Item in a Cart (stacking), or only one of them (best deal). In the Merchant Center, this setting is called Promotion Prioritization.

The following diagram shows how the platform applies discounts to a Cart in each combination mode.

Stacking

In stacking, both a Product Discount and Cart Discounts can apply. The platform applies the Product Discount first, and then applies Cart Discounts to Line Item prices that the Product Discount has already reduced.

The platform evaluates and applies Cart Discounts in the following order:

  1. All discounts except discounts on the Cart total price
  2. Discounts on the Cart total price

The sort order and stacking mode are effective only among Cart Discounts within the above-mentioned targets.

Best deal

In best deal, Product Discounts and Cart Discounts can both be present on the same Cart, but only one discount type applies per Line Item. The platform calculates the Cart total twice: once using the Product Discount and once using the Cart Discounts. It then applies the discount type that results in the lower Cart total, which offers the highest savings for the Customer.

The platform evaluates and applies the discounts on the Cart in the following order:

  1. Discounts on (Custom) Line Items
  2. Gift Line Items
  3. Direct Discounts on (Custom) Line Items that don't take part in the best deal selection
  4. Discounts on shipping cost
  5. Discounts on Cart total price

The sort order and stacking mode are effective only among Cart Discounts with the above-mentioned targets.

Example 1: A product discount of US$30 applies to all shirts and jeans. Additionally, a cart discount of US$10 applies to all shirts, while a 50% discount applies to all jeans.
List pricePrice after product discountPrice after cart discount
ShirtUS$100US$70US$90
JeanUS$120US$90US$60
----------------
Total price (inclusive of all taxes)US$160US$150

With a lower price (US$150), the Cart Discount is chosen as the best deal.

If the combination of discounts offers a better price, the prices of the Line Items can increase. For example, the price of the shirt is US$90 instead of US$70.

Example 2: A product discount of US$30 applies to all shirts and jeans. Additionally, a cart discount of US$40 applies to all shirts.
List pricePrice after product discountPrice after cart discount
ShirtUS$100US$70US$60
JeanUS$120US$90-
----------------
Total price (inclusive of all taxes)US$160US$150

With a lower price (US$150), the Cart Discount is chosen as the best deal.

Since no Cart Discount applies for the jeans, the price (after Product Discount) is considered: US$90. In this case, the chosen discount type is the Cart Discount, and the Product Discount is only applied for Line Items with no Cart Discounts.

Example 3: A product discount of US$30 applies to all shirts. Additionally, a 10% cart discount applies on all (Custom) Line Items.
List pricePrice after product discountPrice after cart discount
ShirtUS$100US$70US$90
Custom Line ItemUS$50-US$45
----------------
Total price (inclusive of all taxes)US$120US$135

With a lower price (US$120), the Product Discount is chosen as the best deal.

Since no Product Discount applies for the Custom Line Item, the list price is considered: US$50.

Example 4: A 10% discount applies on all (Custom) Line Items in a Cart (with a stacking mode that stops further discounts) in addition to free shipping and US$10 discount on the total price of the cart.
List priceTotal with Product DiscountPrice after cart discount
ShirtUS$100-US$90
----------------
ShippingUS$0US$0
Total price (inclusive of all taxes)US$90US$80

With a lower price (US$80), the Cart Discount is chosen as the best deal.

The shipping cost and discount on the total cart price is applied irrespective of the stacking mode.

The "Total with Product Discount" column shows the Cart total when only the Product Discount applies. The best deal comparison only considers the prices of the (Custom) Line Items, so the free shipping and the US$10 discount on the total price still apply in that column: US$100 minus US$10 is US$90.

Direct Discounts in best deal

Direct Discounts can take part in the best deal selection with Product Discounts and Cart Discounts. When the Product Discount offers the better deal, Direct Discounts are discarded, because they are a form of Cart Discount. To avoid losing a negotiated reduction, set the Direct Discount to not take part in the best deal selection. The platform then leaves the Direct Discount out of the comparison and applies it on top of whichever discount type wins, including on top of a Direct Discount that took part and won.

This affects only Direct Discounts that target (Custom) Line Items. A Direct Discount that adds a Gift Line Item, or that targets the shipping cost or the Cart total price, is always applied after the platform selects the best deal. This setting has no effect in stacking.

When the Cart is set so that Direct Discounts don't ignore Cart Discounts, and both Cart Discounts and Direct Discounts apply to the Cart, the Cart Discounts and Direct Discounts form a single candidate in the best deal comparison. They win or lose against the Product Discounts together.

Example 5: A product discount of US$30 applies to all shirts. A direct discount of US$10 also applies to all shirts, but it does not participate in the best deal selection.
List pricePrice after product discountPrice after both discounts
ShirtUS$100US$70US$60
----------------
Total price (inclusive of all taxes)US$70US$60

The Product Discount wins the selection. The Direct Discount then applies to the reduced price, resulting in a total of US$60. If the Direct Discount had participated in the best deal selection, the total would be US$70, because the platform would have discarded the Direct Discount.

Order of Cart Discounts

Several Cart Discounts can be eligible for the same Cart. The platform applies them by sort order, and a higher sort order is applied first. The sort order is unique globally across all Cart Discounts and Discount Groups. An eligible Cart Discount that exists outside a Discount Group can still apply, based on its sort order.

To apply only one Cart Discount (the one offering the best deal) when several are eligible, group the Cart Discounts into a Discount Group. If a Cart Discount within a Discount Group is associated with a Discount Code, the platform evaluates it only when the Discount Code is added to the Cart, and applies it if it provides the best deal.

When other Cart Discounts with different targets apply to a Cart, the following rules apply to Cart Discounts that target the Cart total price:

  • The Cart total price discount applies last, regardless of its sort order. It ignores the stacking mode, if any, that stops further discounts on the other Cart Discounts.
  • The sort order of a Cart total price discount only determines its ranking among the other Cart Discounts that target the total price.
  • As a result, the stacking mode that stops further discounts takes effect for a Cart total price discount only when other Cart Discounts that target the total price have a lower sort order.

Common scenarios

Common discount use cases

The following table shows how some of the most common discounts can be modeled with Product Discounts or Cart Discounts. This list is not exhaustive. Further discounting needs, such as geofencing, bulk Discount Codes, and stacked discounts, are also supported when you combine Discounts with custom logic that you add with API Extensions.
Use caseDescriptionSolution
Product or catalog discountPercentage or fixed value off the original price of items matching set conditions (these use predicates and can include categories).Product Discount
Product volume pricingReduced base Price for an item when multiple quantities of that item are purchased.Tiered prices
Time window discountA discount that applies during a set period of time.Cart Discount and Product Discount
Tiered percentage discount by spendExample: 10% off the Cart for customers who spend $30 or more, 15% off if they spend $50 or more, or 20% off if they spend $100 or more.Cart Discount
Tiered fixed discount by spendExample: $25 off the Cart total for customers who spend more than $150, $50 off if they spend more than $300, or $75 off if they spend more than $400.Cart Discount
Discount by Discount CodePercentage or fixed value off the Cart or a subset of Cart items when customers use a Discount Code.Cart Discount with a Discount Code
Buy x, get 1 freeWhen customers buy x items, they get one quantity of a defined item for free.Cart Discount
Cart value is greater than x, get y freeWhen a Cart value is greater than a set target, customers get one quantity of a defined item for free.Cart Discount
Website-specific promotionsA merchant may want to discount only a specific website (Store), in the case a Project supports multiple websites.Cart Discount
Bundle Product Type discountPercentage or fixed value off the bundle to customers who purchase a custom Product Type of bundled Products.Cart Discount, external discount, or both
Marketing opt-in discountOne-time fixed discount offered to customers who opt in (subscribe) for marketing emails.Cart Discount, external discount, or both
Create an account discountOne-time discount for customers who sign up for an account.Cart Discount, external discount, or both

Customer-specific prices and discounts

You can define Prices and discounts that are specific to Customers with Customer Groups. For more information, see Customer-specific products, prices, and discounts. For companies, you can define them with Business Units. For more information, see Company-specific products, prices, and discounts.
Additionally, as Buyers, Customers can negotiate prices with a Seller using Quotes. For more information, see the Quotes overview.