# Give $10 Get $10 referral program.

**Example scenario:**&#x20;

* Provide a $10 commission for each affiliate sale  (Affiliate), with their customers receiving a $10 discount on their orders.&#x20;

{% hint style="info" %}
To setup the discussed Program, please install and activate "WPRelay PRO". You can obtain [WPRelay PRO Here](https://wprelay.com/pricing/).
{% endhint %}

Now, let’s take a look at the below example in detail.

**Example 1: Provide a $10 commission for each affiliate sale  (Affiliate), with their referrals/customers receiving a $10 discount on their orders.**&#x20;

In this scenario, when a customer makes a purchase using an affiliate's link or coupon code, the affiliate earns a 10$ commission, and the customer receives a 10$ discount. This approach motivates both affiliates and their customers.

To set up this program and make it live or to test, you need to follow two steps:

* Step 1: Creating a Program&#x20;
* Step 2: Assigning an Affiliate to the program&#x20;

**Step 1: Creating a Program**

* Go to Wordpress back end -> WPRelay -> Manage -> Progarms&#x20;
* Click on "Create Program" button.&#x20;

**Here is the screenshot of program that follows,**&#x20;

**Creating Program:**&#x20;

<figure><img src="/files/0v9sG40d7YRxy4GfCduF" alt=""><figcaption></figcaption></figure>

**Details of configurations are:**

* **Program title and description** - Give a title and description for the Program. This title will be helpful while selecting the program in "Affiliates" tab.&#x20;
* You also have the option to specify start and end date to set validity for the campaigns. &#x20;

**Offering Affiliate Commission:**&#x20;

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

**Details of configurations are:**

* **Affiliate Commission type -** choose the commission type as "Simple"&#x20;
* Set the "Percentage Per Sale" as 10. You also have other options available like Fixed  or No Commission (If "Advanced" is chosen as the commission type, the offering will vary, such as "Number of Referrals per affiliate/ amount," which provides Tiered Commissions or more flexibility).&#x20;
* **Enable recurring options** - enable this checkbox and select "Lifetime" to provide a 5% commission for all orders placed by a customer for lifetime. Alternatively, you can choose "X Number of Orders" and set a value (e.g., 5), allowing the affiliate to earn commission on the first 5 orders plus the initial customer order, totalling 6.

**Offering customer discount:**

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

**Details of configurations are:**

* **Customer Discount Type** - choose the discount type as "Fixed cart Discount" and set the value as 10. You also have other options to set like Fixed Cart, Fixed Product Discount or No Discount.&#x20;
* **Free Shipping and Limits:** You have the option to offer free shipping to customers through this Program. Additionally, you can set various limits such as minimum spend, individual coupon usage, excluding sale items, and the requirement for specific products or categories to be purchased using the affiliate link to receive discounts. This is managed by enabling the "Limits" toggle.
* **Usage Limit Per User**: By default, this toggle is enabled and set to 1, meaning customers can only use the affiliate coupon/discount once.
* **Saving the Program**: After successfully configuring the program with both affiliate commission and customer discount sections, click on "Save Program" to activate and save it.

**Step 2: Assigning an Affiliate to the program**&#x20;

* Go to Wordpress back end -> WPRelay -> Affiliates&#x20;
* Click on "Create Affiliate" button.

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

**Details of configurations are:**&#x20;

* **Program:** In this section, associate an affiliate with a specific program by typing a few characters of the program title to select it.&#x20;
* **Personal Info:** Under this section, you can enter the first name, last name, and email ID of the affiliate.&#x20;
* Finally, click on "Save Affiliate" to complete the process.
* **Approving Affiliates** - Ensure to "Approve" the affiliate from the pending tab, as affiliates are initially set to pending status by default.
* **Affiliate code:** As soon as admin approves the affiliate, affiliate link and coupon will get auto generated and [emailed to Affiliates](https://docs.wprelay.com/settings/email-notification-for-affiliates-and-their-settings).&#x20;
* **Managing WooCommerce Accounts** - During the "Approval" process, if the affiliate does not already have a WooCommerce customer account, you'll have the opportunity to create one. Upon creating a WooCommerce account for the affiliate, a password reset email will be sent to them via WooCommerce.

{% hint style="info" %}

* If affiliates register through the Affiliate Registration Form, they will appear in the "Pending" status under the Affiliates Tab. When approving these affiliates, you will also have the option to assign a Program to them.&#x20;
* Additionally, you can change the Program associated with an affiliate at any time from the Affiliates tab.
  {% endhint %}

When a customer makes a purchase using an affiliate link or coupon code, the affiliate earns a 10% commission on the successful transaction, and the customer also receives a 10% discount on their purchase.

**Let's see how to test this affiliate program as a new customer:**

**Cart page displays a $10 discount for the customer when a purchase is made via the affiliate's link:**&#x20;

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

After a customer completes an order through affiliate link A, the affiliate will receive a $10 commission calculated from the total amount of the customer's order.

**Screenshot of Myaccount -> WPRelay page showing commission earned by an Affiliate A:**

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

{% hint style="info" %}
As an administrator or store owner, when you update the discount value for a customer within an existing "Program" or modify the "Program" associated with a specific affiliate from the "Affiliate" tab, please note that updates to Affiliate Coupons (located under Woocommerce -> Marketing -> Coupons) may take up to a minute. This is due to changes are applied via a scheduled cron job.
{% endhint %}

Don't have WPRelay yet? Purchase [WPRelay PRO now](https://wprelay.com/pricing/).

**Next Steps:**

**You may also want to check out these helpful guides:**

* [For more information about the Affiliate Registration Page, please refer to this document.](https://docs.wprelay.com/manage-affiliates/creating-an-affiliate-registration-form)
* [Explore this guide to learn about various methods to become an affiliate.](https://docs.wprelay.com/manage-affiliates/becoming-an-affiliate)
* [For details on the emails provided through WPRelay, please consult this resource.](https://docs.wprelay.com/settings/email-notification-for-affiliates-and-their-settings)\ <br>

**Similar example:  "Give 10$, Get 10$"** <br>

{% embed url="<https://youtu.be/7XDznSjfQHc>" %}

**Still Unclear ?**

If you need any assistance, please create a [support request](https://wprelay.com/support/) at our ticket system. We are always happy to assist you :)


---

# 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.wprelay.com/quick-start/create-a-simple-customer-referral-program/give-usd10-get-usd10-referral-program..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.
