Create a Product Discount
This article explains how to create Product Discounts in CommerceTools.
Contents
- Product Discount List
- Create a Product Discount
- Category Discounts
- Examples
- Duplicating a discount
- Legacy configuration - Tier pricing - retired
Product Discount List
To view all existing Product Discounts, navigate via the left menu bar to the Discounts section, and select ‘Product Discount List’.
Sort the list by selecting the column headers.
list by selecting the column
Refine the list of displayed cart discounts by either entering a search term.
Or by applying one or more filters, by clicking the ‘Filters’ button
Selecting a discount from the list will display it’s properties and specific configuration.
When creating a new discount, it is a good idea to compare it with existing discounts, especially ones it might be combined with. Keeping in mind that the Rank (sortOrder) field value determines the hierarchy and combinability of discounts.
It is furthermore a good idea to use a similar discount as an example, some specific configurations can be quite complex.
Create a Product Discount
There are two ways to create a discount, via the Add Discount button on the respective list view page.
Or via the left menu bar
Navigating via the menu bar will first open the discount type selection.
But after selecting ‘Add Product Discount’ the same creation screen will be displayed. This is where you can choose between a numeric discount or a gift-line item. In this article we only discuss numeric (relative (%) or absolute) discounts.
General Information
Name
A Cart Discount must have at least one name in on of the available
languages
But you may choose to fill in the names for other languages by clicking ‘show all languages’. Discount names should be descriptive and clear as it is the primary way that discounts can be searched for in CommerceTools.
Description
The description is how the discount is displayed to the customer in the webshop.
This is a non-mandatory field and just like the name field you may choose to fill in the names for other languages by clicking ‘show all languages’.
Key
This is unique identifier which is a way that discounts can be searched for in CommerceTools. When left empty, the key is set automatically after saving.
Discount Type
There are only two possible choices
Relative - this is a percentage-based reduction of the product price. Absolute - this is a fixed value subtraction of the product price. This is a mandatory field, and a value must be entered.
Rank (sort Order)
To determine the precedence of one product discount over another, the value of the field ‘Rank (sortOrder)’ is used.
Only one Product Discount can be applied on a product. When a product has two or more product discounts active, the value of the Rank (sortOrder) field determines which one applies.
Product discount Rank values don't interact with cart discounts Rank
values. Product discounts and cart discounts can be executed simultaneously; the product discount always precedes the cart discount.
Discount rank value logic
The rank for the cart discount determines which cart discount applies to your product first if the customer's cart has multiple cart discounts applied. Discounts with a rank value closer to 1 are considered first. Rank values can
only be a value between 0 > 1. For example
- Cart discount 1 has a Rank value: 0.07
- Cart discount 2 has a Rank value: 0.05
- Both cart discounts are active and apply to the same cart. Cart discount 1 will apply before Cart discount 2 is applied.
Valid Date
By specifying a date range, you can limit the validity of a Product discount.
If left empty the discount is valid indefinitely.
Conditions
You must then determine to which products the discount will be applied to. You can apply the discount to all products, or specific ones, which can be determined by configuring any number of criteria rules.
Using the ‘Where’ logic specification drop-down configure the failure
conditions.
By default, you will be creating a rule based on Variant SKU, but by clicking the blue area you can toggle which property you search and add items to the rule’s criteria.
You may search for an item/predicate or scroll down the list and select one.
After you have made all the desired configuration you must press the save button.
Category Discounts
Product Discounts apply to a specific product but can also be configured to apply to a category of products. Thus, the term Category Discounts, refer to and are created as Product Discounts in CommerceTools. Only one Product Discount can be applied on a product. When a product has two or more product or category discounts active, the value of the Rank (sortOrder) field determines which one applies.
Examples
Single product discount
For the discount to be applied on a single product, in the Eligibility criteria, select ‘Applu to specific products’.
in the ‘Where’ logic drop-down menu select: ‘all of these are true following’.
The Variant SKU is already pre-selected by default.
Single category product discount
For a discount on a single category, in the Eligibility criteria, select ‘Apply to specific products’.
in the ‘Where’ logic drop-down menu select: ‘all of these are true following’.
Change the predicate to Categories and search for and select the desired category.
The logic of the category selection applies only to products specifically within the selected category, the products in the parent or contained subcategories of the selected category will not be included.
Multiple Categories+ sub-categories discount
For a discount for multiple categories and subcategories, in the Eligibility criteria, select ‘Apply to specific products’.
In the ‘Where’ logic drop-down menu select: ‘all of these are true following’.
Change the predicate to Categories and search for and select the desired category.
Click the ‘+ AND condion’ button to create a second rule
Change the predicate to Categories again and search for and select the desired (subcategory).
For a discount on all products in a category and all the products in sub-
categories of the chosen category use the following rule-set:
Duplicating a discount
If you have a complex discount setup that you want to re-use, for instance with a slight variation, or maybe linked to a different category. You can use the duplicate button in the top-right of an existing discount page to make a copy.
After clicking on the duplicate button, you will be redirected to the discount creation screen with all the fields and values from the source discount,
besides:
The Product discount name, which is appended by “Copy”
The Rank (sortOrder), which displays the source value, but must be entered manually.
The rest of the rules, logic and field values will be copied.
Legacy configuration - Tier pricing - retired
Some products with old configurations may still use Tier pricing, they are technically product discounts. They are set in the Product’s variant section,
and are not visible in the Discounts tab. Products Discounts always override tier prices.
Related articles and further reading
- Discount overview: Discounts
- Create a Cart Discount: Create a Cart Discount
- Comprehensive Discount documentation on the CommerceTools website: https://docs.commercetools.com/merchant-center/discounts-overview