How to show points balance in your theme

How to show points balance in your theme

Introduction

Following loyalty reward points can be shown in the Shopify store theme –

1. Customer available points

Here are the steps for setting up the widget:

Step 1.

Copy below shortcode

<span class="aaa-ly-cus-available-p"> </span>

Step 2.

Go to Online-store → Themes → Actions(Published theme) → Edit code → Open liquid file(Files can be chosen from suggestions).

Step 3.

Paste the copied shortcode where you require it and save it.

 

2. Customer lifetime points

Steps for setting up the widget are:

Step 1.

Copy below shortcode

<span class="aaa-ly-cus-lifetime-p"> </span>

Step 2.

Go to Online-store → Themes → Actions(Published theme) → Edit code → Open liquid file(Files can be chosen from suggestions).

Step 3.

Paste the copied shortcode where you require it and save.

 

3. Customer spent points

Follow the below steps for setting up the widget:

Step 1.

Copy below shortcode

<span class="aaa-ly-cus-spent-p"> </span>

Step 2.

Go to Online-store → Themes → Actions(Published theme) → Edit code → Open liquid file(Files can be chosen from suggestions).

Step 3.

Paste the copied shortcode where you require it and save.

 

– Suggestions to put the shortcode in sectioned themes:

You can choose from below suggested “.liquid” files accordingly for pasting shortcodes and displaying customer points on specific pages:

1. Product Page → Paste copied shortcode in “product-template.liquid” file under “Sections” for showing points

2. Account Page → Paste copied shortcode in “customer/accounts.liquid” file under “Templates” for showing points.

 

3. Home Page → Paste copied shortcode in any “.liquid” file under “Sections”(appearing in home page) for showing points.

4. Collection Page → Paste copied shortcode in“product-grid-item.liquid” file under “Snippets” for showing points.

5. Cart Page → Paste copied shortcode in “cart.liquid” file under “Sections” for showing points.

NOTE: If you have a non-sectioned theme (no files available under sections) then choose and paste the copied shortcode in the files suggested for non-sectioned themes.

 

– Suggestions to put the shortcode in non-sectioned themes:

You can choose from below suggested “.liquid” files accordingly for pasting shortcodes and displaying customer points on specific pages:

1. Product Page → Paste copied shortcode in “product.liquid” file under “Templates” for showing points.

2. Account Page → Paste copied shortcode in “customer/accounts.liquid” file under “Templates” for showing points.

3. Home Page → Paste copied shortcode in “index.liquid” file under “Templates” for showing points to any home page section. Find the keyword “include” if any snippet has been included and open that file under “Snippets” and paste the shortcode there.

4. Collection Page → Paste copied shortcode in”collection.liquid” file under “Templates” for showing points. Find the keyword “include” if any snippet has been included and open that file under “Snippets” and paste the shortcode there.

5. Cart Page → Paste copied shortcode in “cart.liquid” file under “Templates” for showing points.

Need Help?

Hope you find the guide helpful! If you have any feedback then please feel free to share in the comments below.

Also, check our features page to know more about our marketing automation app- AiTrillion.

However, if you have any doubts or queries then reach us here. If you are interested in our app and want to check it by yourself then request for a demo.

Thanks for paying attention!!

😊🙂

    • Related Articles

    • How do I create and export a loyalty points balance sheet?

      If you want to export the loyalty points activity wise then you can export it easily via Activity report. 1. Login to AiTrillion and head over to the loyalty activity report under modules as shown below: 2. Click on the export monthly points balance ...
    • How to manually adjust Customer’s Loyalty Points

      Add or remove points manually from any member of the store. If you would like to adjust a specific customer’s points balance, then follow this setup guide. qStep 1. Login to AiTrillion. Step 2. Under Loyalty Rewards go to Members >> All Members / ...
    • How to setup Cart Widget Points

      Step 1. Login to AiTrillion. Step 2. Go to Loyalty Rewards > Set up program > Redeem Points Step 3. Click on Click To Create button under the cart widget point settings section. Step 4. Enable the Display on Cart switch, and update the point values ...
    • How can customers see Loyalty Points they’ve Earned and Redeemed

      Customers can easily check their current point balance and total lifetime points through the loyalty popup widget. Step 1. Customers will log in to your store, and click on the Loyalty Rewards button / Loyalty Rewards Page to see the popup below. ...
    • Shopify App Setting After Changing Theme

      In Shopify, when an app is installed, a code is auto-injected in the theme file which needs to be added again after changing the theme. Below are some steps which will help you add the code manually: Step 1. Edit the theme in which you want to set up ...