Skip to content
Operator handbook
Create a Product Discount
Commercetools
Commercetools

Create a Product Discount

This article explains how to create Product Discounts in CommerceTools.

Contents

Product Discount List

To view all existing Product Discounts, navigate via the left menu bar to the Discounts section, and select ‘Product Discount List’.

Product Discount List

Sort the list by selecting the column headers.
list by selecting the column
Product Discount List

Refine the list of displayed cart discounts by either entering a search term.

Product Discount List

Or by applying one or more filters, by clicking the ‘Filters’ button

Product Discount List

Selecting a discount from the list will display it’s properties and specific configuration.

Product Discount List

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.

Product Discount List

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

Product Discount List

Product Discount List

Navigating via the menu bar will first open the discount type selection.

Product Discount List

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.

Product Discount List

General Information

Name

A Cart Discount must have at least one name in on of the available

Name

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.

Description

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.

Key

Discount Type

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.

Rank (sort Order)

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.

Valid Date

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.

Conditions

Using the ‘Where’ logic specification drop-down configure the failure

Conditions

Conditions

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.

Conditions

You may search for an item/predicate or scroll down the list and select one.

Conditions

After you have made all the desired configuration you must press the save button.

Conditions

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’.

Single product discount

in the ‘Where’ logic drop-down menu select: ‘all of these are true following’.

Single product discount

The Variant SKU is already pre-selected by default.

Single product discount

Single category product discount

For a discount on a single category, in the Eligibility criteria, select ‘Apply to specific products’.

Single category product discount

in the ‘Where’ logic drop-down menu select: ‘all of these are true following’.

Single category product discount

Change the predicate to Categories and search for and select the desired category.

Single category product discount

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’.

Multiple Categories+ sub-categories discount

In the ‘Where’ logic drop-down menu select: ‘all of these are true following’.

Multiple Categories+ sub-categories discount

Change the predicate to Categories and search for and select the desired category.

Multiple Categories+ sub-categories discount

Click the ‘+ AND condion’ button to create a second rule

Multiple Categories+ sub-categories discount

Change the predicate to Categories again and search for and select the desired (subcategory).

Multiple Categories+ sub-categories discount

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,

Duplicating a discount

besides:

The Product discount name, which is appended by “Copy”

Duplicating a discount

The Rank (sortOrder), which displays the source value, but must be entered manually.

Duplicating a discount

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.