View Categories

How to Create a “Buy X, Pay Y” Campaign

Create promotions like “Buy 3, Pay 2” or “Buy 5, Pay 4” where customers get free items. Example: Customer adds 3 items but only pays for 2.


Prerequisites #

  • A discount group with “Special Campaign” type must exist
  • See: How to Create Your First Discount Group

Important: “Buy X, Pay Y” is a Special Campaign type, NOT a Quantity Discount type. Make sure you select the correct group type when creating your group.


Step 1: Open Rule Management #

  1. Go to KNS Dynamic Discounts → Rule Management
  2. Select your Special Campaign group from the dropdown
  3. You will see a row with “SPECIAL CAMPAIGN” badge

Step 2: Open Campaign Configuration #

  1. Click the “Configure” button next to the SPECIAL CAMPAIGN badge
  2. A popup window appears: “Configure Special Campaign”

Step 3: Select Campaign Type #

  1. In the “Campaign Type” dropdown, select “Buy X, Pay Y”
  2. Two new input fields will appear

Step 4: Configure Buy X, Pay Y Values #

FieldWhat It DoesExample
Buy XNumber of items customer must add to cart3
Pay YNumber of items customer actually pays for2

Common Examples:

Buy XPay YCustomer Experience
32“Buy 3, Pay 2” – Get 1 item FREE
21“Buy 2, Pay 1” – Get 1 item FREE (50% off)
54“Buy 5, Pay 4” – Get 1 item FREE
43“Buy 4, Pay 3” – Get 1 item FREE (25% off)

Rule: Buy X must be greater than Pay Y. You cannot set Buy 2, Pay 3 (that would be a price increase, not a discount!).


Step 5: Save Campaign Configuration #

  1. Click “Save Campaign” button
  2. The popup closes
  3. You’ll see a summary like “3 Al, 2 Öde” on the rule row

Step 6: Select Products or Category (Optional) #

Back on the Rule Management page:

FieldWhat It DoesExample
CategoryApply campaign to all products in a category“T-Shirts”
ProductApply campaign to specific products only“Blue T-Shirt, Red T-Shirt”

Tip: If you leave both empty, the campaign applies to ALL products in your store.

Tip: If you select both Category AND Products, the campaign only applies to those specific products within that category.


Step 7: Set Customer Conditions (Optional) #

This section controls WHO can use the campaign.

Customer Conditions Checkboxes #

CheckboxWhat It Does
Members OnlyOnly logged-in customers can use this campaign. Guests cannot see or use it.
First OrderOnly customers who have never placed an order before can use this campaign.

Note: You can check both boxes to require: logged-in + first-time buyer.

Eligible Customers Field #

This field lets you restrict the campaign to specific customers.

If You…What Happens
Leave empty✅ Campaign is available to ALL customers (based on checkbox conditions above)
Select customers⛔ Campaign is available ONLY to the selected customers

Example Scenarios:

CheckboxesEligible CustomersResult
☐ Members Only, ☐ First Order(empty)Everyone can use the campaign (guests included)
☑ Members Only, ☐ First Order(empty)All logged-in members can use it
☐ Members Only, ☐ First OrderJohn, JaneOnly John and Jane can use the campaign
☑ Members Only, ☐ First OrderJohn, JaneOnly John and Jane (must be logged in)
☐ Members Only, ☑ First Order(empty)Only first-time buyers can use it

Tip: Use “Eligible Customers” for VIP or exclusive campaigns. Leave it empty for store-wide promotions.


Step 8: Configure Display Messages #

Click the 💬 (message) icon in the Actions column.

Product Tab #

Settings for the product page:

SettingWhat It Does
Message TextYour promotional text (e.g., “Buy 3, Get 1 FREE!”)
Message ColorText color (hex code)
Show on Product PageEnable/disable message display
HighlightedMakes the text bold

Cart & Checkout Tab #

Settings for cart and checkout pages:

SettingWhat It Does
Message TextYour confirmation text (e.g., “You got 1 item FREE!”)
Message ColorText color (hex code)
Mini CartShow message in the mini cart widget
Cart PageShow message on the cart page
Checkout PageShow message on the checkout page
HighlightedMakes the text bold

Icon Options (both tabs) #

SettingWhat It Does
Use iconAdd an icon to your message
Icon PackClick “Select” to choose from 25 icons
Icon ColorIcon color (hex code)
Icon PositionBefore Text / After Text
Icon SizeSmall / Medium / Large

Click “Save Messages” when done.


Step 9: Set Usage Limits (Pro Feature) #

Click the 📊 (chart) icon in the Actions column.

SettingWhat It DoesExample
Total Usage LimitMaximum total uses for this campaign100 = only 100 orders can use this campaign
Usage Limit Per CustomerMaximum uses per individual customer1 = each customer can only use it once
Current StatusShows how many times the campaign has been used“Total Usage: 25”

Note: Leave as “Unlimited” for no restrictions.

Click “Save Limits” when done.


Step 10: Save All Rules #

Important: Click “Save Rules” to permanently save all your changes.

Changes to messages and limits are temporary until you click “Save Rules”.


Quick Example: Complete Setup #

Goal: “Buy 3, Pay 2” on all T-Shirts, VIP members only

  1. Create a Special Campaign group named “Buy 3 Pay 2 T-Shirts”
  2. Go to Rule Management → Select your group
  3. Click “Configure” button
  4. Campaign Type: Select “Buy X, Pay Y”
  5. Buy X: 3
  6. Pay Y: 2
  7. Click “Save Campaign”
  8. Category: Select “T-Shirts”
  9. Customer Conditions: Check “Members Only”
  10. Eligible Customers: Leave empty (all members can use)
  11. Click 💬 icon → Product Tab:
    • Message: “Buy 3 T-Shirts, Get 1 FREE!”
    • Check “Show on Product Page”
    • Click “Save Messages”
  12. Click “Save Rules”

Done! ✅


How the Discount is Calculated #

Example: “Buy 3, Pay 2” on Blue T-Shirt ($30 each)

ItemRegular PriceYou Pay
Blue T-Shirt #1$30$30 ✓
Blue T-Shirt #2$30$30 ✓
Blue T-Shirt #3$30$0 FREE
Total$90$60

Savings: $30 (33% off)


Example: “Buy 2, Pay 1” on Premium Headphones ($150 each)

ItemRegular PriceYou Pay
Premium Headphones #1$150$150 ✓
Premium Headphones #2$150$0 FREE
Total$300$150

Savings: $150 (50% off)


Example: “Buy 5, Pay 4” on Socks ($10 each)

ItemRegular PriceYou Pay
Socks #1$10$10 ✓
Socks #2$10$10 ✓
Socks #3$10$10 ✓
Socks #4$10$10 ✓
Socks #5$10$0 FREE
Total$50$40

Savings: $10 (20% off)