# Set a Start and End Date

You can now control **when** your cashback campaigns start and stop using the **Start Date** and **End Date** options in your cashback configuration. This feature is perfect for running time-bound promotions or seasonal sales with cashback rewards.

{% embed url="<https://dollarlabs.neetorecord.com/watch/a09e3d1293f4c47d79eb>" %}

***

### 🔧 Setting Up Start and End Dates

1. **Go to your Cashback Configuration**\
   Open the app and go to the specific cashback configuration you want to schedule.
2. **Set a Start Date**
   * Choose a date when you want your cashback offer to begin.
   * You can set it in the **future** if you’re preparing for an upcoming sale or promotional event.
3. **Set an End Date (optional)**
   * Leave the end date blank if you want the offer to run indefinitely.
   * Add an end date if you want the cashback to automatically stop after a certain day.
   * Once the end date passes, **no cashback** will be given for orders placed after that time.

***

### 💡 Example

If you set:

* **Start Date:** October 17
* **End Date:** (empty)

Your cashback offer will **start on October 17** and **continue running indefinitely** until you manually stop or update it.

If you add an **End Date**, the offer will only be valid during that time window.

***

### 🧩 Using Cashback Variables in Widgets and PDP Blocks

The following **Liquid variables** are available for you to display dynamic cashback details across your store:

| Variable    | Description                                           |
| ----------- | ----------------------------------------------------- |
| `startDate` | Displays when the cashback offer begins               |
| `endDate`   | Displays when the cashback offer ends                 |
| `amount`    | Shows the cashback amount (percentage or fixed value) |
| `title`     | Displays the title of the cashback configuration      |

These variables can be used in both the:

* [**Cashback Widget**](/dollarback-store-credit/show-rewards/cashback-widget.md)
* [**Product Page app block**](/dollarback-store-credit/show-rewards/product-page.md)

***

### 🪄 Adding Cashback Message to the Product Page

1. Go to your **PDP Template** in the editor.
2. Click **Add Block → Cashback Rewards Product Block**.
3. Use the variables (`startDate`, `endDate`, `amount`, `title`) to customize the message shown to customers.\
   For example:

   ```
   Get {{ amount }} cashback on this product!
   Offer valid from {{ startDate }} to {{ endDate }}.
   ```

This ensures your customers always see accurate, time-bound cashback details right on the product page.

***

### ✅ Summary

* **Start Date** = When your cashback campaign begins.
* **End Date** = When it stops (optional).
* Variables like `amount`, `startDate`, and `endDate` help you display real-time cashback info on your storefront.

You can use these settings to automate your promotions and make your cashback campaigns more flexible and time-specific.

***

**Need help?**\
If you have any questions or need assistance setting this up, reach out to the Dollarback support team — we’re happy to help!


---

# 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/dollarback-store-credit/get-started/advanced-options/set-a-start-and-end-date.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.
