How to use store credit with Legacy customer accounts
If your store uses legacy customer accounts, you can still enable store credit and allow customers to redeem it at checkout.
However, customer must log in using a one-time password (OTP) to see their store credits and to use them during Checkout. If a customer logs in using a password, even after this configuration, the store credit won't work.

The instruction below explain how to add the OTP login option on your Customer Login page.
A. Enable the Store Credit option
Go to Settings > Customer accounts > Store Credit and enable it. There is an orange warning message showing below, but you can ignore it.

B. Add the OTP login option to the customer login page
This step requires editing your theme code. We recommend duplicating your theme before making code changes.
- Go to Themes > Edit code
- Open the liquid file for the Login page. For example, with Dawn theme it is
main-login.liquidfile. - Add the following code where you want the OTP option to appear (for example, below the Register button)
<a href="/customer_authentication/login?return_to={{ routes.root_url }}" style="margin-top: 10px">
Sign in with OTP to use store credit
</a>

Note:
- The placement of this code determines where the link appears on the login page.
- You can freely customize the text “Sign in with OTP to use store credit.”
- Save the file. That's it!
Customers now have two login options. When they sign in using the OTP login, store credit will be available for use at checkout.
Updated on: 17/12/2025
Thank you!
