> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.qikify.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How Koin calculates store credit

By default, Koin calculates store credit based on the ****subtotal after discounts****. Shipping fees, VAT, and discounts are ****not included**** in this calculation.

However, if a customer redeems store credits in that order, the redeemed amount is ****still counted**** in the subtotal.

You can customize this calculation rule anytime.** **To adjust the calculation rule:

1. Go to ****Koin > Programs**** in your Shopify Admin.
2. Click ****Settings**** in the top-right corner.
3. Under ****Issued store credit is calculated based on****, select one of the following options:

Total order amount (excluding discounts, tax, and shipping)  
Total order amount (excluding applied store credits, discounts, tax, and shipping)

4. Click ****Save**** to apply changes.

![](https://storage.crisp.chat/users/helpdesk/website/-/f/b/4/3/fb43608ad34f3800/4f485661-2b62-409c-9368-fa0c21_129gmlq.png)