Skip to main content
One of the most powerful ways to use Voucherify is combining multiple discount effects into one voucher.
With dynamic discounts, you can influence prices for the whole cart or specific items based on conditions such as order value, currency, or metadata.
In this tutorial, you will create one coupon that gives free shipping (100% off) and a 5% discount on items.

Prerequisites

Before you start, make sure that:
  • You have access to a Voucherify account.
  • Your store sends products and shipping as separate cart items to Voucherify.
  • Voucherify can recognize your products, either from the Products catalog or from product IDs sent in the API request.

Prepare your items

Before creating the campaign, make sure Voucherify can recognize both products and shipping.
1

Open the products tab

Go to the Products tab in Voucherify.
2

Make sure shipping is a separate line item

Make sure shipping is sent as a separate cart item that Voucherify can recognize (for example, an item named Shipping or a dedicated shipping item ID).
3

Assign products to a collection

Make sure your products belong to a product collection so they can be discounted (for example, All Products).
4

Exclude shipping from discounted collections

Make sure the shipping item is not included in the discounted product collection.
You do not need to import your full product catalog. You can also pass product IDs as metadata in API calls.

Launch the campaign

Create a discount coupon campaign that will include both discounts.
1

Select campaign type

Go to Campaigns, click the plus (+) icon, and choose Discount Coupons.
2

Configure general details

  • Choose Generic code.
  • Set a custom code name (for example, COMBO5).
  • Set the redemption limit to Unlimited.
3

Set timeframe

Define the start and end dates.
If you want the campaign to run without an end date, leave the expiration date empty.

Configure free shipping and item discount

In this section, you will create two price rules inside one voucher using New price.
1

Select discount type

In the discount configuration step, select Products discounts and New price.
2

Add a second rule

Click Add another to create a second definition field.
3

Set free shipping

  • Click Select products in the first rule.
  • Select your Shipping item.
  • In the New price field, enter 0.
This overrides the shipping price and makes shipping free.
4

Set a 5% item discount

  • Click Select collections in the second rule.
  • Select All Products (or another collection you want to discount).
  • Set a fallback value that is safe for your business.
The fallback is used only if the formula cannot be calculated. A common safe option is the original item price.
5

Build the dynamic discount formula

Open the formula builder and create this formula:
  • Select Order item → Price
  • Add the Multiply (*) operator
  • Add Number and enter 0.95
This sets the new price to 95% of the original price, giving a 5% discount.
6

Save the campaign

  • Click Next step
  • Skip metadata if you do not need it
  • Review the summary
  • Save the campaign

Notify customers

Inform customers about the promotion using your preferred channels.
1

Choose a communication method

You can notify customers using:
  • Voucherify distribution tools
  • Web banners
  • Checkout or cart pop-ups
  • Email or push notifications
2

Customers redeem the discount

When customers apply the coupon at checkout, they will receive free shipping and a 5% item discount at the same time.

Alternatives

This setup can also be used in other campaign types:
  • Cart promotion
    The discount is applied automatically when conditions are met. No codes are generated.
  • Unique codes campaign
    Codes are generated in bulk and assigned to customers using the Distribution or Publish API.
Both options support dynamic discounts and similar price rules.
Last modified on February 10, 2026