# Test Target Bonus

### To test how a target bonus works:

### Setup target bonus

To set up a target, go to the **Settings** section of the **Targets** tab in the GoAffPro admin panel and click on **Configure**.

![Targets > Settings > Click on Configure](/files/-MDuG0pJORKxGoRhgBXZ)

Now, click on **New Target**.

![Click on New Target](/files/-MDuGa-IGlP8tdJRmno9)

After this, set up the target settings and click on **Save**.

![Click on Save](/files/-MDuH6NJ9oTk2CbL8P0h)

The target that has been set here has the following settings:

* Name: Target One
* Time Period: This month (Current Month)
* Applies on: Sale Commission
* Minimum Value:  ₹100 (this can vary according to your currency)
* Bonus: ₹50

This target will provide a ₹50 bonus to the affiliate after the affiliate earns ₹100 in sales commission. The target bonus will only apply to the sales commission earned in the current month.&#x20;

{% hint style="info" %}
For example: If the affiliate crosses the minimum value of ₹100 in sales commission in the current month. The affiliate will get a Rs.50 bonus.
{% endhint %}

![Target bonus](/files/-MDuAuQVy4u6XSySHbMT)

### Create test product & order

#### Create a test product

To create a test product, go to the **Products** section of the Shopify panel.&#x20;

Here, create a new product with the following values:

* Title: Product A
* Pricing: ₹1000
* Quantity: 1

![Create a test product](/files/-MDuJEyuEJiog6Kzv53p)

#### Create a test order

To create a test order, go to the **Orders** section of the Shopify panel.

Here, create an order with Product A as the item and mark the order as paid.

{% hint style="info" %}
For Example: we have created order #1016 which has product A as the item purchased.&#x20;
{% endhint %}

![Create test order](/files/-MDuJfoX-SOvfxdvLrcf)

### Assign sale to affiliate & check the target bonus

#### Assign the sale to the affiliate

Click on **create a new sale manually**, in the **All Sales** section of the **Sales** tab in the GoAffPro admin panel.

![Click on create a new sale manually](/files/-MDsv1_El8Bq4sjSUHER)

Now, select the order number #1016 and the test affiliate. After this, click on **Assign Sale**.

{% hint style="info" %}
To create a test affiliate account, follow this [guide](https://docs.goaffpro.com/how-tos/create-an-affiliate-account).
{% endhint %}

![Assign the sale to the affiliate](/files/-MDt1MZhLGAO4P7BHx1H)

Finally, the order will appear in the Sales tab.&#x20;

![Test Order](/files/-MDuKTgzm8wgE-HwqvNR)

Here, order #1016 has made the affiliate eligible for the target bonus, as the affiliate has achieved the minimum value set for the target (the minimum value is ₹100).

![Affiliate made eligible](/files/-MDuO0CbXel0lB0v0qlh)

Click on the **Affiliate's name** to open the affiliate profile.&#x20;

![Click on the affiliate's name](/files/-MDuKo_gBW0NG5nawTN7)

After this, go to the Transactions section.

![Transactions](/files/-MDuLhStJD9l2PZZ2hqF)

Here, you will see the Target Bonus of ₹50, which has been credited to the affiliate. You can also view the bonus credited to the affiliate from the **Targets** tab.&#x20;

{% hint style="info" %}
&#x20;The affiliate has been credited the bonus of ₹50 for the target after order #1016, as the affiliate has achieved the minimum value for the target (sale commission of ₹100).
{% endhint %}

![Target bonus](/files/-MDuEZuKQgSbuWWHxttZ)

{% embed url="<https://www.youtube.com/watch?v=AzKZc7iSdhM>" %}
Test Target Bonus
{% endembed %}


---

# 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://docs.goaffpro.com/affiliate-rewards/set-target-for-affiliates/test-target-bonus.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.
