Auto-applied Discount for a Specific Product Variation [SKU]

In this tutorial, we are going to create a cart promotion (auto-applied discount) available only for a specific product variant (SKU). With cart discounts, you don't need to generate unique codes as the discount is applied automatically when the order matches the discount conditions. 

Customers will receive a 20% discount on their whole order if they order raspberry ice cream (SKU).

Add products to Voucherify.
Create a variant of the product (SKU).
Launch a product-based promotion.
Add product-based validation rules.
Notify customers about the promotion.

Auto-applied discount diagram

If you decide to base the campaign on products or SKUs, you can upload the ones that will be discounted to Voucherify via API or Dashboard. If you don't want to upload particular products to Voucherify, you can build your campaigns with the use of metadata for some product categories.


Add a Product

The promotion is going to be based on ice cream products. Add fruit ice cream [product] with two variants – raspberry [SKU] and strawberry [SKU].

To begin, go to the Products tab and add a new product with a plus (+). 

First, provide your product details:

  • Product name.
  • Source id (unique identifier used in your system).
  • Product price.
  • Product attribute (can be used in the next step to build SKUs).

Attributes are going to help you differentiate between product versions (SKUs). For example, by adding an attribute size to a t-shirt, you can create a t-shirt that comes in M and S size (two SKUs). 

You can change the currency of the campaign in your Projects Settings.

Create a product


Create SKUs

The new product doesn't have any SKUs yet. You need to create two versions of fruit ice cream – raspberry and strawberry flavors. You can do so by adding a flavor attribute. After providing the attribute, press Enter to confirm. 

Sku - strawberry icecream

Only the SKU name is mandatory, the remaining fields may remain empty – they are going to have the same attributes as the main product.

Hit Save to confirm your ice cream variants.

Now, the ice cream product has two SKUs – raspberry and strawberry.

2 SKUs of the ice cream

Now, it's time to use the SKUs in a cart promotion. We are going to build a new cart promotion available only for customers who have raspberry ice cream in their carts. 


Create a cart promotion

Go to the Campaigns tab and hit plus (+), and choose Promotion as the type of campaign.


First, provide some general details on your campaign:

  • Promotion name.
  • Promotion start and end date. 

Promotion details

Next, establish discount levels – in our example, we are going to create only one level of promotion

If you create more than one promotion level, you can define the promotion tier hierarchy – which promotion should be applied if the customer is eligible for multiple promotions at the same time.

Here, you have to decide what type of discount you would like to use:

  • Amount discount (e.g., 15$ off).
  • Percentage discount (e.g., 10% off).
  • Unit discount (e.g., free lipstick).
  • Free shipping.

Promotion levels


Build validation rules

Next, establish the discount criteria ( validation rules).

Build a new validation rule or select the one you've already created. The 20% discount will be available only for customers who decided to buy raspberry ice cream.

Use the Order structure rule and define that orders need to contain raspberry ice cream to be eligible for the promotion.

validation rule

You can introduce more granular rules to your campaigns. Use AND/OR operators to mix required rules.

The last step is the summary of your campaign. Confirm the campaign by clicking SAVE

Cart-level promotion summary

The only thing left is notifying customers about the promotion. You can use built-in Voucherify distribution mechanisms to inform customers about the promotion. You can also use web banners and checkout pop-ups to make are that customers hear about your incentive. 

Learn more about built-in distribution tools