Shopify themes, liquid, logos, and UX
Hey folks, is it possible to display the customer’s store credit amount on their account page with liquid or another method?
Yes, you may use Liquid to display the customer's store credit amount on their Shopify account page. Here's how to do it:
Get to the Template:
To make changes, select Online Store > Themes and then customers/account.liquid.
Incorporate Liquid Code:
To see the store credit, enter the code. Customer.store_credit should be changed to the appropriate variable for your setup:
{% if customer %}
{% assign store_credit = customer.store_credit %}
<div class="store-credit">
<h2>Your Store Credit</h2>
<p>{{ store_credit | money }}</p>
</div>
{% endif %}
Save Changes: Make sure to preserve your edits.
Testing: Verify that the store credit appears accurately on the account page.
For information on the correct Liquid variable, refer to the app's documentation if you are using it to earn store credits. Tell me if you require any additional help!
Are you sure? store_credit is not mentioned in the liquid customer object
Did this work? I also want the customer’s store credit appear in their account page and need help
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025