Updating your notifications and translations when offering Credits
Update your notifications and translations to alert customers of the credits available.
This guide explains what notifications and translations relate to Credits, and how to make changes.
- Recharge Checkout on Shopify
- Shopify Checkout Integration
Before you start
- Credits empower you to retain customer value by offering credit for refunds, customer support resolutions, and more. See Credits for more information.
Klaviyo notifications
Use Klaviyo V2 to send credit adjustment notifications to customers utilizing the Credit Adjustment created on Recharge metric. See Building email flows with Recharge and Klaviyo for more information.
Shopify order confirmation email
Note: The following section only applies to Recharge Checkout on Shopify stores.
You can edit your Shopify order confirmation email template to display credits using the Shopify admin:
- From your Shopify admin, click Settings and select Notifications.
- Select Order confirmation and click Edit code.
- Search for and delete the following line of code. The default line is 494:
{% else %}
{% capture transaction_name %}{{ transaction.gateway_display_name }}{% endcapture %}
{% endif %} - Replace the line of code with the following:
{% else %}
{% capture transaction_name %}
{% if transaction.gateway_display_name == "Recharge credits" %}
Charged to Store Credit
{% elsif transaction.gateway_display_name == "Stripe" %}
Charged to Card
{% else %}
{{ transaction.gateway_display_name }}
{% endif %}
{% endcapture %}
{% endif %} - To update the customer information section, search for the following line of code. The default line is 612:
    Gift card balance - <b>{{ transaction.payment_details.gift_card.balance | money }}</b>
- Create a new line and paste the following:
{% elsif transaction.gateway_display_name == "Recharge credits" %}
Store Credit<br>
{% elsif transaction.gateway_display_name == "Stripe" %}
Primary Credit Card<br> - Click Save.
Payment details, including credits if used, will now appear on order confirmation emails. Credits will only appear on the order confirmation email if they are used.
Translations
You can also adjust translations to control the text customers see in the credits section of the customer portal. The following translation fields are available for Credits:
- Credit balance
- Credit information text
- Charged to Credit (Affinity only)
- Refunded to Credit (Affinity + Recharge Checkout on Shopify/Custom only)
- Credit Name (examples: Loyalty Rewards, Referral Rewards, Returns Credit)
For more information on adjusting translations, see Translations.