> 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&#x20;

1. Product A = Subscription product
2. Product B = Addon product&#x20;

Limitations that we'd want&#x20;

1. The discount should only be applied on the item (Product A) when purchased as a subscription by a Non-active subscriber.&#x20;
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&#x20;
3. Only one subscription line item should get the 40% off.&#x20;
4. Only one qty of Addon product should be offered for free, extra qty should be charged.&#x20;

## 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="/files/srO5SJ1EnGRny1wjuvY2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Qfer7Ua69jANzHIXfSV4" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/uRkcSgELHoKUpnkayuT3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/A5JzUSMJHgbdUiCsdiSF" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/MQagWl7odqoc1KHc4dfO" alt=""><figcaption><p>Here's the same concept setup by a Shopify plus store!</p></figcaption></figure>
