# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET 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?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
