> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.getkoin.io/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).

# Koinがストアクレジットを計算する方法

デフォルトでは、Koinは**割引後の小計**に基づいてストアクレジットを計算します。送料、消費税、割引はこの計算には**含まれません**。

ただし、その注文で顧客がストアクレジットを利用した場合、利用した金額は小計に**含まれたまま**になります。

この計算ルールはいつでもカスタマイズできます。計算ルールを調整する方法：
1. Shopify管理画面で**Koin > プログラム**に移動します。
2. 右上の**設定**をクリックします。
3. **発行されるストアクレジットの計算基準**の項目で、以下のいずれかを選択します。
注文合計金額（割引、税金、送料を除く） 注文合計金額（適用されたストアクレジット、割引、税金、送料を除く）
4. **保存**をクリックして変更を適用します。

![](https://storage.crisp.chat/users/helpdesk/website/-/c/0/2/5/c02521bae3235800/image_5gczsn.png)
