> For the complete documentation index, see [llms.txt](https://help.dollarlabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.dollarlabs.io/dollarlabs-ultimate-discounts/discount-engine-v1/examples-v1/product-discount-examples-v1/offer-a-free-product-and-a-one-time-discount-for-subscription-purchase.md).

# Offer a Free product and a one time discount for subscription purchase

## Scenario

I want to offer my subscription product at a 40% discount applicable only for the first order for customers who are not `Active Subscribers` and offer a free add-on on their purchase.

Let's give these names to keep things simple

1. Product A = Subscription product
2. Product B = Addon product

Limitations that we'd want

1. The discount should only be applied on the item (Product A) when purchased as a subscription by a Non-active subscriber.
2. Customer should not be able to avail the % off discount on bulk orders, ie - the discount should only be applied (to ProductA) if the customer purchases less than 5 qty of the product
3. Only one subscription line item should get the 40% off.
4. Only one qty of Addon product should be offered for free, extra qty should be charged.

## How do I set this up?

Here are a bunch of configuration screengrabs with annotations to help you walk through the configuration process.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-b2a94b6d211f7297a5accbc9204aff56186edb38%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-3e43e8f488eb755e988e033583f47c02a29e8ae0%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-9d1fae58073c9080be78774784beafac314b2e83%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-7670a1e8933c57173e6d0f666ec79252ab2771ca%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-67922cefd1ace86f2da70fbeb652bc6a6c1136e4%2Fimage.png?alt=media" alt=""><figcaption><p>Here's the same concept setup by a Shopify plus store!</p></figcaption></figure>
