Introduction
In this article, you will learn how to add store credit to the cart page
There are two ways to add a store credit widget to the cart page
Using Block
Step: Go to Shopify admin >> Online store >> Customize >> from the top search Cart page >> Click on Cart >> Click on Add block >> Loyalty store credit
Using Shortcode
Here are the steps to enable store credit on your store -:
Step 1: Go to Loyalty rewards >> Set up program >> Redeem points
Step 2: Click on Store credit, scroll to the bottom and copy the short code
<div class="aaa-loyalty-shopcredit-widget"> </div>
Step 3: Go to Shopify admin >> Online store >> Edit code
Step 4: Search main-cart-footer.liquid and paste the code
Note📝: There are the following points to be noted and the store credit should be visible if it satisfies the points below -:
1.) The store credit widget will only be visible when the customer is logged in
2.) The customer must satisfy the conditions of minimum points, maximum points, and available points to be redeemed.
3.) Customer must not be blocked into the loyalty program.
Now, You will be able to redeem the credit from the cart page