# Set how members earn points (/en/loyalty/how-members-earn)

<BeforeYouStart>
- Your role needs the <UI>Edit programme</UI> permission. The owner has it, and decides who else gets it. Without it the page is view only.
- The points calculator also needs <UI>View promotions</UI>.
- Your programme is set up. If it isn't, start with [Start and publish your loyalty programme](../loyalty/start-your-programme).
- Loyalty is part of the Perks plans. If you don't see <UI>Loyalty</UI> in the menu, your plan doesn't include it.
</BeforeYouStart>

## Watch the steps [#watch-the-steps]

<Walkthrough device="browser" url="helm.tryportus.online/program">
<WalkStep image="/articles/how-members-earn/en-1-earn.png" spot="0.6,62.9,18.2,5.8" title="Open How members earn">
In the menu, select **Loyalty**, then **How members earn**.
</WalkStep>

<WalkStep image="/articles/how-members-earn/en-1-earn.png" spot="21.6,23,43.8,25.2" title="The rate in force now">
What every order earns today, and where it applies.
</WalkStep>

<WalkStep image="/articles/how-members-earn/en-2-calculator.png" spot="67.4,67.4,28,24.2" title="Try an order">
Type an amount. Helm asks the server what that order earns: 7.500 KD earns 7 points here.
</WalkStep>

<WalkStep image="/articles/how-members-earn/en-1-earn.png" spot="29.8,38.8,11.6,6.4" title="Open the editor">
Select **Edit earning rule**.
</WalkStep>

<WalkStep image="/articles/how-members-earn/en-3-editor.png" spot="26.2,18.2,47.6,20.3" title="Choose the kind">
Points for what they spend, or the same points on every order.
</WalkStep>

<WalkStep image="/articles/how-members-earn/en-3-editor.png" spot="26.2,40.6,47.6,17" title="Set the rate">
Points, and the spend that earns them. The line below says it in words.
</WalkStep>

<WalkStep image="/articles/how-members-earn/en-3-editor.png" spot="26.2,58.8,47.6,12" title="Choose the rounding">
For Points per Spend: what happens to a part point. Round down is the default.
</WalkStep>

<WalkStep image="/articles/how-members-earn/en-4-editor-scope.png" spot="26.2,49.5,47.6,27" title="Where it applies">
Leave branches and channels empty for all of them.
</WalkStep>

<WalkStep image="/articles/how-members-earn/en-4-editor-scope.png" spot="60.6,84.9,13.2,5.7" title="Publish changes">
The new rate applies to orders from now on. Cancel keeps the old one.
</WalkStep>

<WalkStep image="/articles/how-members-earn/en-5-branch-rule.png" spot="26.2,33.5,47.6,43" title="A different rate for one branch">
In **Choose Rule Type**, opened from **Add a branch rule**, choose the branch, and keep or change its priority.
</WalkStep>

<WalkStep image="/articles/how-members-earn/en-5-branch-rule.png" spot="63.1,84.9,10.7,5.7" title="Create the rule">
It's saved as a draft. Select **Activate Rule** to make it live.
</WalkStep>
</Walkthrough>

## See how members earn now [#see-how-members-earn-now]

<Steps>
<Step title="Open the page">
<Path to="Loyalty > How members earn" />

The page is called <UI>Loyalty</UI>. Scroll to <UI>How members earn</UI>.
</Step>

<Step title="Read the rate in force">
The top card shows the rate every order earns now, such as <UI>1 point per 1.000 KD</UI>, and <UI>Base rule · all branches and channels</UI>. If it says <UI>No rule is active</UI>, members earn nothing until you activate one.
</Step>

<Step title="Try an order in the points calculator">
Under <UI>Points calculator</UI>, choose a branch in <UI>Calculate for branch</UI> and a channel in <UI>Sales channels</UI>. Select an amount, or type one in <UI>Order amount (KD)</UI>. <UI>Your customer earns</UI> shows the points the server would give that order.
</Step>
</Steps>

<Example>
A demo store earns 1 point per <Money value="1" />, rounded down. An order of <Money value="7.5" /> earns 7 points, and an order of <Money value="3" /> earns 3.
</Example>

<Screenshot src="/articles/how-members-earn/en-1-earn.png" alt="The How members earn section, with the rate in force, the earning rules and the points calculator" caption="Nostalgie's demo store, with one base rule live." title="How members earn" url="helm.tryportus.online/program" width={1280} height={800}>
<Hotspot x={43.5} y={30} title="The rate in force">
What every order earns now, and where.
</Hotspot>

<Hotspot x={43.5} y={70.4} title="Earning rules">
Every rule with its status: Active, Draft, Scheduled or Withdrawn. Select one to act on it.
</Hotspot>

<Hotspot x={81.3} y={80} title="Points calculator">
What an order of any amount would earn under the selected live rule.
</Hotspot>

<Hotspot x={27.7} y={93.6} title="Add a branch rule">
A different rate for one branch or channel.
</Hotspot>
</Screenshot>

## Change the rate [#change-the-rate]

<Steps>
<Step title="Open the editor">
Select <UI>Edit earning rule</UI>, on the top card or under the selected rule. The form <UI>Edit earning rule</UI> opens.
</Step>

<Step title="Choose the kind of rule">
<Options>
<Option label="Points per Spend">
Points based on the order value.
</Option>

<Option label="Fixed points per order">
The same number of points on each qualifying order. An order whose merchandise comes to zero (fully discounted) earns nothing.
</Option>
</Options>
</Step>

<Step title="Set the rate">
For <UI>Points per Spend</UI>, type the <UI>Points</UI> and the <UI>Spend amount (KD)</UI>, up to three decimals. The line below says the rate in words, such as <UI>2 points per 5.000 KD</UI>. For <UI>Fixed points per order</UI>, type <UI>Points per qualifying order</UI>. Points are whole numbers.
</Step>

<Step title="Choose how part points round">
For <UI>Points per Spend</UI> only, under <UI>Rounding part points</UI>, choose one. A fixed award has nothing to round. The rounding is applied once, to the whole order, not to each item.

<Options>
<Option label="Round down">
A part point is dropped: 4.9 points earns 4. This is the default.
</Option>

<Option label="Round to nearest">
Half a point or more counts as one: 4.5 earns 5, 4.4 earns 4.
</Option>

<Option label="Round up">
Any part point counts as one: 4.1 points earns 5.
</Option>
</Options>
</Step>

<Step title="Optional: a minimum spend">
In <UI>Minimum spend to earn (KD)</UI>, type an amount. An order below it earns no points. It's measured on the same amount that earns points, after discounts, not on the receipt total. Leave it blank for no minimum.
</Step>

<Step title="Check where it applies">
Under <UI>Branches</UI> and <UI>Sales channels</UI> (<UI>At the POS</UI>, <UI>Online</UI>, <UI>Staff adjustment</UI>, <UI>Automatic</UI>), leave everything unselected for the base rule. No branches selected means all branches, and no channels means all channels.
</Step>

<Step title="Publish">
Select <UI>Publish changes</UI>. To leave without changing anything, select <UI>Cancel</UI>.
</Step>
</Steps>

<Example>
At 1 point per <Money value="1" />, an order of <Money value="7.5" /> comes to 7.5 points. <UI>Round down</UI> gives 7, <UI>Round to nearest</UI> gives 8, and <UI>Round up</UI> gives 8.
</Example>

<WhatHappensNext>
- You see <Message>Earning rule updated</Message>.
- Orders from now on earn at the new rate. Points already earned keep their original terms.
- The change is listed under <UI>Earn-rate history</UI>, with when it ran and who changed it.
</WhatHappensNext>

<Screenshot src="/articles/how-members-earn/en-3-editor.png" alt="The Edit earning rule form with Points per Spend, 1 point per 1.000 KD and Round down" caption="Opened on Nostalgie's demo store and closed with Cancel." title="Edit earning rule" url="helm.tryportus.online/program" width={1280} height={800}>
<Hotspot x={37.6} y={28} title="Points per Spend">
Points grow with the order value.
</Hotspot>

<Hotspot x={61.9} y={28} title="Fixed points per order">
The same points on every qualifying order.
</Hotspot>

<Hotspot x={50} y={54} title="The rate in words">
Check it before you publish.
</Hotspot>

<Hotspot x={50} y={64.6} title="Rounding part points">
What happens to a part point, on the whole order.
</Hotspot>
</Screenshot>

<Note>
Points are counted on the amount your shop connection sends for the order. On a WooCommerce shop, that's the products after discounts: tax and shipping don't count. An order that comes to zero earns nothing.
</Note>

<Note>
If an order is refunded, points are taken back by the rule that order earned on, not by today's rate.
</Note>

## Start a new rate or plan one for later [#start-a-new-rate-or-plan-one-for-later]

Select <UI>Add rule</UI> at the top of the page. The form <UI>Choose Rule Type</UI> opens. Set the rule as above, then select <UI>Create Rule</UI>. You see <Message>Rule created as draft</Message>. A draft earns nothing.

<Steps>
<Step title="Activate it">
Select the draft in <UI>Earning rules</UI>, then <UI>Activate Rule</UI>. To throw it away instead, select <UI>Discard draft</UI>.
</Step>

<Step title="Choose when it replaces the current rate">
If a base rate is live, Helm asks <UI>Replace your earn rate?</UI>. Read the example: it shows what an order of <Money value="10" /> at the POS earns under the new rate and now. Choose <UI>Publish now</UI>, or <UI>Publish on a date</UI> and set <UI>Starts on</UI>. Optional: set an <UI>End date (optional)</UI>. With an end date, Helm suggests <UI>Running a limited-time offer? Create a promotion instead, so your everyday rate stays the same.</UI>
</Step>

<Step title="Confirm">
Select <UI>Replace and publish</UI>, or <UI>Schedule replacement</UI> for a date. Without a live base rate, the draft goes live as soon as you select <UI>Activate Rule</UI>. You see <Message>Rule is now active</Message>.
</Step>
</Steps>

<Note>
For a limited-time offer, select <UI>Create a promotion</UI> instead, so your everyday rate stays the same. A scheduled rule shows <UI>Replaces current rate on</UI> and its date.
</Note>

## Give a branch or channel its own rate [#give-a-branch-or-channel-its-own-rate]

<Steps>
<Step title="Open the form">
Select <UI>Add a branch rule</UI>, below the earning rules. In <UI>Choose Rule Type</UI>, choose the kind of rule and its rate.
</Step>

<Step title="Choose where it applies">
Under <UI>Branches</UI>, choose at least one branch. Optional: under <UI>Sales channels</UI>, choose one or more.
</Step>

<Step title="Set its priority">
In <UI>Override priority</UI>, keep 50 or type another number. Helm says: <UI>Lower numbers take precedence when more than one override matches. Give overlapping rules different priorities.</UI> A branch or channel rule that matches an order always comes before the base rule.
</Step>

<Step title="Create and activate it">
Select <UI>Create Rule</UI>, then select the draft and <UI>Activate Rule</UI>. It goes live at once.
</Step>
</Steps>

<WhatHappensNext>
- The rule shows <UI>Override</UI> with its branches and channels, and the top card says how many branch or channel rules also apply.
- An order at that branch or channel earns by this rule instead of the base rule. Everywhere else, the base rule still applies.
</WhatHappensNext>

<Careful>
A minimum spend on a branch or channel rule replaces the base rule there. Orders below it at that branch earn 0 points: the base rate doesn't apply to them.
</Careful>

## Stop a rule [#stop-a-rule]

Select the rule, then <UI>Turn rule off</UI>. Type the <UI>Reason for withdrawal</UI>, then select <UI>Turn rule off</UI>. Future orders stop earning by it; points members already have don't change. To use the same rate again later, select the withdrawn rule and <UI>Use as new draft</UI>.

<Careful>
If it's your only live rate, Helm asks <UI>Stop all point earning?</UI>: members will earn 0 points on every order, at every branch, until you publish a new rate. Orders still go through. If a new rate is scheduled, it says instead <UI>Members will earn nothing from … until ….</UI>: the first date is now, the second is when the new rate starts. If branch or channel rules stay live, it adds <UI>Only branch and channel rules will stay live. Orders anywhere else will earn 0 points.</UI> Tick <UI>I understand members will stop earning points.</UI> and select <UI>Stop earning</UI> only if you mean it, or select <UI>Keep earning</UI>.
</Careful>

<IfSomethingGoesWrong>
<Problem message="Enter whole points and valid currency amounts, without extra decimal places.">
A number can't be used, and the button stays greyed out. Type whole points, and KD amounts with no more than three decimals.
</Problem>

<Problem message="Choose at least one branch.">
A branch rule needs a branch. Choose one under <UI>Branches</UI>.
</Problem>

<Problem message="This rule belongs to your starting programme, so it goes live with it. Open your starting programme and publish it.">
The draft came with your starting programme. Select <UI>Publish your starting programme</UI> and publish it there.
</Problem>

<Problem message="Publish a rule to preview its earnings.">
The calculator works only for a live rule. Select the rule marked <UI>Active</UI>.
</Problem>

<Problem message="The calculation could not be loaded. Try again.">
Select <UI>Retry</UI>. Your rule isn't affected.
</Problem>

<Problem message="Something went wrong, try again">
Nothing was changed. Try once more.
</Problem>

<Problem message="An order earned no points">
Look under <UI>Recent orders with no points</UI> on the same page. Each order shows why, for example <UI>No points: no earn rate was live.</UI> or <UI>No points: the order is too small to reach one point at this rate.</UI>
</Problem>

<Problem message="View only. Changing how members earn points needs the programme permission, which the owner gives.">
Your role doesn't hold <UI>Edit programme</UI>. The owner can add it to your role.
</Problem>
</IfSomethingGoesWrong>

<Related>
<RelatedArticle title="Start and publish your loyalty programme" href="../loyalty/start-your-programme" />

<RelatedArticle title="Set when points expire" href="../loyalty/set-points-expiry" />
</Related>