# Loyalty

Use this rule to reward customers with points for placing orders in your store. This is the perfect rule to increase repeat purchases and build customer loyalty. The Loyalty rule allows you to choose the number of points to reward your customers for every dollar spent. We recommend you set it between 5 and 20 points per dollar spent on the store.

Points are calculated based on the value of the order after discounts and before shipping, and taxes. For example, if the subtotal is $100 and the customer uses a coupon code of $20, pays shipping fees of $30, and taxes of $40, they will earn points for $100-20=$80.&#x20;

## Settings

![](/files/-Ltytk5H064XGU_gyq7k)

1. **Points:** The number of points a customer gets for spending $1


---

# 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.trybeans.com/liana/rules/loyalty.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.
