Next Commerce
Campaigns App

Campaigns Offers & Discounts

Create custom discounting codes and logic for Campaigns API

Campaigns App Packages represent the product or product variant identities for sale on your external custom checkout flow.

A Package can be understood as:

Product or Variant + base Package Price + optional subscription schedule

Campaigns App Offers & Discounts is the pricing layer. Use Offers to sell at multiple price points, including quantity tiers and strike-through savings, without creating individual packages for each variation.

For example, a single Widget package can support Buy 1, Buy 2, and Buy 3 pricing. The funnel sends the selected package and quantity, the matching Offer applies, and the order calculation returns the original price, final price, savings amount, and savings percentage.

Setup needUse
Product or variant identityPackage
Base list pricePackage Price
Buy more, save more on checkoutAutomatic Offer
Upsell, downsell, exit pop, or manual promo codeCode offer
Compare-at / strike-through pricingOffer before/after calculation

Do not create separate 1x, 2x, and 3x packages just to express tiered pricing. Package-level Quantity and Retail Price are compatibility fields exposed by the Enable Package Retail Price & Quantity campaign setting for campaigns that already rely on them.

Set up Offers

From the Campaigns App main list view, click on your campaign name, or choose "View".

Next, select Packages - then from Offers & Discounts select Add Offer and configure the following values.

General Details

  • Name - The name of the discount
  • Type - Choose between
    • Offer - Automatically apply the discount when the order meets the conditions. Use this for checkout quantity tiers.
    • Code - Only apply the discount when the code is used - when selected you must enter the Discount Code. Use this for upsells, downsells, exit pops, and coupon-style promotions.

Condition Type

Set the conditions required for your discount logic to apply to the order

  • Any Criteria
  • Package quantity greater than or equal to - a value
  • All Packages - Select to automatically add all current and future Packages to this condition

Scope checkout tier Offers to the intended package or package family. Avoid All Packages unless the discount should apply to every package in the campaign, including add-ons and cross-sells.

Incentive

Define the discount to be applied when the offer conditions are met

  • Discount Type
    • Apply a percentage off the packages that meet the criteria
    • Apply a percentage off the shipping price
    • Apply a percentage off the entire order
  • Discount Amount (Percentage)
  • Discount Price Rounding - set a custom rounding rule to force discounted prices to round to a desired value

On this page