Product Discounts
Product Discounts play an important role in the setup of your store as they tell your frontend application what the base price is, the matching special price, and the campaign name. They are also used to display a product's discounted price along with its regular base price on the Product Detail Page (PDP), Product Listing Page (PLP), search, and product cards. This is often shown on a site as the strikethrough price.
If you want to show the strikethrough price while using an external search engine, then you must use Product Discounts to calculate and set the new price on the product. This helps you sync the new price with the third-party search engine.
Cart Discounts are not viable options to achieve these above use cases, as they only calculate the new price once items are added to a Cart. Product Discounts on the other hand are calculated ahead of time and store the data along with the Price of a Product Variant.
Product Discounts can target the same price dimensions for a user that a Product Variant Price can, such as: country, Customer Group, Channel, time period, and currency. This is useful as we can target a promotion (Cart or Product) for a specific customer segment that matches the specified price dimension.
To explore the below use cases, we are going to work with an imaginary holding company, Stride Synergy. The company owns many brands specializing in footwear, with each brand having its own websites and retail stores.
To continue with the examples on this page, you need to set up a Project with the following:
- A Product Type named
Shoewith an Attribute,Brand - A Product Variant named
Black shoe suave - A Product Variant named
Shiny silver heelsthat is mapped to a Category namedHeels - Another Category named
Sale - Two Channels,
Shoes for FeetandTread Trends, with their Channel role set asProduct Distribution
Use case 1: Product and catalog discounts
Product and catalog discounts are commonly used as marketing strategies to attract customers, boost sales, and create a sense of urgency or affordability. They offer a price reduction to customers on specific items or an entire store's inventory. Product-level discounts apply to individual products, while catalog-level discounts apply to categories or the entire product range.
- Discount 1: 40% off on men's shoes from last season with a lot of its stock left in inventory
- Discount 2: $25 off on any ladies' heels purchase
To create a Product Discount matching these conditions, the commerce administrator must make use of Predicates.
Create the 40% off discount
| Field | Value |
|---|---|
| Product discount name | 40% off men's black shoe |
| Product discount description | 40% off to clear inventory |
| Product discount key | 2023-spring-mens-blk-shoe-40 |
| Discount value | Relative: 40% |
| Rank (sortOrder) | 0.5001 |
For the discount rule, apply the discount to specific products where all conditions are true, using the following predicate:
- Variant SKU is
Black shoe suave
Create the $25 discount
| Field | Value |
|---|---|
| Product discount name | $25 off ladies heels |
| Product discount description | $25 off ladies heels |
| Product discount key | 2023-spring-ladies-heels-25 |
| Discount value | Absolute: 25 |
| Rank (sortOrder) | 0.5000 |
0.5000 is lower than the 40% discount above (0.5001), so this discount has lower priority.For the discount rule, apply the discount to specific products where all conditions are true, using the following predicate:
- Categories is
Heels
You have now created your first Product Discounts.
Use case 2: Time window discount
This use case covers a discount that is part of a promotion strategy bound by a certain time frame.
Some important information to note about these two brands:
- Both brands sell shoes.
- They also sell some of the same shoes.
- Each brand has its own separate website.
- They both target the same country and currency.
- Shoes for Feet has a slightly higher base price than Tread Trends.
- Each brand runs their own unique promotional calendar.
ProductDistribution to allow each brand (Channel) to have their own base Price and Discounts. Each Channel also has its own Store.| Field | Value |
|---|---|
| Product discount name | 2023 Shoes for Feet: Cyber Monday 15% |
| Product discount description | 15% off all Shoes for Feet footwear for Cyber Monday |
| Product discount key | 2023-cyber-monday-15 |
| Discount value | Relative: 15% |
| Rank (sortOrder) | 0.5002 |
| Valid from | 27 November, 2023, 09:00 AM |
| Valid until | 27 November, 2023, 11:00 PM |
0.5002 is higher than both discounts from use case 1, so this Cyber Monday discount takes priority when a Product matches multiple discounts.For the discount rule, apply the discount to specific products where all conditions are true, using the following predicates:
- Categories branch is part of the branch
Sale: this targets the Sale Category and automatically includes all its descendants. - AND Price - Channel is one of
Shoes for Feet: this targets the discount specifically on shoes sold in the Shoes for Feet Channel.
is only.
After saving and activating the discount, add the Black suave shoe Product Variant to an order. The new discount is applied despite there being two active Product Discounts, because it has the higher rank.
Use case 3: Product discount layering
A business may wish to have multiple promotion and discount strategies running at the same time. In such a situation, certain products might be targeted by more than one discount. You might want to ensure that the sale item only gets the lowest available discount, otherwise you could lose too much margin and minimize profit from your promotions.
- Discount 1: an end-of-financial year (EOFY) sale offering 5% off all items in the Sale category, which runs from June 30, 2023 to July 7, 2023
- Discount 2: a 15% discount on all AirWave and NeoTech shoes
- Discount 3: a 20% discount on all SteadyStride shoes
Discount 1: EOFY 5% sale
| Field | Value |
|---|---|
| Product discount name | EOFY 2023 Tread Trends: 5% off Sale |
| Discount value | Relative: 5% |
| Rank (sortOrder) | 0.5002 (highest rank, so this discount takes priority) |
| Valid from | 30 June, 2023 |
| Valid until | 7 July, 2023 |
For the discount rule:
- Categories branch is part of the branch
Sale - AND Price - Channel is one of
Tread Trends
Discount 2: 15% off AirWave and NeoTech
| Field | Value |
|---|---|
| Product discount name | 15% off AirWave and NeoTech |
| Discount value | Relative: 15% |
| Rank (sortOrder) | 0.5001 |
For the discount rule, apply the discount to specific products where all conditions are true:
- Attribute (Brand) is one of
AirWave,NeoTech - AND Price - Channel is one of
Tread Trends
Discount 3: 20% off SteadyStride
| Field | Value |
|---|---|
| Product discount name | 20% off SteadyStride |
| Discount value | Relative: 20% |
| Rank (sortOrder) | 0.5000 (lowest rank) |
For the discount rule, apply the discount to specific products where all conditions are true:
- Attribute (Brand) is one of
SteadyStride - AND Price - Channel is one of
Tread Trends
Verify discount layering
Checking the Variant's Price record confirms that the 5% discount has been applied.
Well done on this page. You have brought together different skills and knowledge about Composable Commerce and how to operate the Merchant Center.