Point calculator
Learn how to add a point calculator to your Shopify store, displaying potential reward points on product pages to encourage customer purchases and boost engagement.
Who can use this feature?
This feature is available for Essential, Advanced, and Ultimate plans.
Using a headless (Hydrogen) storefront? The same settings power the headless block. See Point calculator on Hydrogen.
Introduction
The Point Calculator is your secret weapon for turning every purchase into an exciting rewards journey. It's like a digital scoreboard that shows customers exactly how many points they'll earn, transforming shopping from a transaction into a rewarding experience.
In today’s competitive e-commerce market, driving repeat purchases and customer loyalty is essential. The Point Calculator feature in our Joy Loyalty App does more than just track rewards—it motivates customers to make purchases by showing how many points they can earn with each order. This encourages immediate buying and helps build long-term loyalty, making it a crucial tool for boosting repeat sales and engagement.
How to set up the point calculator
Open Point calculator setting
- On the left menu of Joy, go to On-site content, open the Product page tab, and click Setup on Point Calculator.

- The page opens with the Enable point calculator block toggle at the top, followed by two sections: Point calculator settings and Advanced settings. A live Preview sits next to the settings.
More specifically:
- Enable point calculator block: Shows Off until the block is added to your theme, then On. Click it to open the theme editor (see the next step).
- Point calculator settings: Customize the appearance of the point calculator:
- Text font: Choose a text font that matches your brand style.
- Text size: Adjust the text size for optimal readability.
- Icon: Select an icon that complements the design.
- Icon size: Set the size of the icon in pixels.
- Icon color: In Color setup, define the color of the icon to align with your theme. Only stores that set up Joy before the newer icon set see this option.
- Text color: In Color setup, set the text color to ensure clear visibility.
- Enable counting animation: Count the points up from 0 to the final value.
- Text action link: Choose where the action link under the message sends customers. By default it goes to the Sign in page.
- Advanced settings: Click Expand more to set the Product variant selector for point calculator. It takes a CSS selector, and if you have several, separate them with commas. The View guide link under the field opens the FAQ below.
The message and the action text show greyed out on this page. To change their wording, click the Translation link under the field.
Set the position of the Point calculator in the theme editor
- Click Go to settings in the Last step: Setup position banner. Shopify opens your theme editor. If the block is not on your theme yet, click the Enable point calculator block toggle at the top of the page first.

- At this point, select any product > open its product details page. In the image, I have chosen "Brightening Serum."

- On the left sidebar, in the template settings, Add block > Apps > Joy: Point Calculator.

- After completing the setup, the Point calculator will be displayed as shown in the image below. If you are satisfied with the design and position, click Save in the theme editor. You have successfully added the Point calculator to your store.

How to set up point calculation display on the Cart page
In addition to the default display on the product detail page, the point calculator block can also be shown on the cart page. To enable this feature, activate "Also use on Cart Page" and then go to the theme settings to add the Point Calculator to the cart page. Adding the Point calculator to the cart page is similar to adding this feature to the product detail page.

Stores that installed or reinstalled Joy after 22 November 2024 do not see the Also use on Cart Page checkbox, because the cart page display is always on for them. If that is your store, go straight to the theme editor and add the block to the cart page.
When the cart page display is on, the cart page message shows in a greyed-out field below the checkbox. To change its wording, click the Translation link under the field.
We have also prepared an animation for you to view and follow. We hope this GIF will be helpful. If you have any issues, please do not hesitate to contact us for support.
How to set up the point calculator in the cart drawer
First of all, you will need to enable the Point Calculator App embeds to make sure that the SDK is running on every page of your store, unlike the App block, which runs on the product page and cart page only.

With the cart drawer, we cannot directly use the Asset API to edit your theme code, so if you want to implement it, you have to do it manually via the theme code editor. If you are not sure of how to do it, feel free to reach out to our support team.
You can go to your theme code editor, find the snippets/cart-drawer.liquid or snippets/mini-cart.liquid , the name depends on your theme code structure. Then, place this snippet in your cart drawer:
<div class="joy-points-calculator__block"></div>
You should be seeing the point calculator for the order showing in the cart drawer. This calculator will reflect on the change of the cart quantity and items.

How to set up in the Vintage theme
As you may know, the Vintage theme (opens in a new tab) does not support you to add an App Block to a nested position within the product page. In order to implement our feature, you may need to add our snippet just like you did with the cart drawer.
Step 1: Input the code snippet
You can go to your theme code edit, for example, in my case it is the Debut theme, I need to find the file sections/product-template.liquid look for the desired position to input the snippet below:
<div class="joy-points-calculator__block"></div>
Step 2: Turn on the App embed block
Go to your theme's App embeds section, make sure the Joy: Point Calculator app embed is turned on, and then hit the save button. The reason why you need to do this is that the App Embed is the only thing that is supported in the Vintage theme, not the App block.

Add product calculator to checkout page
In order to edit the checkout, you need to be on Shopify Plus (opens in a new tab). This is an exclusive feature of Shopify Plus.
Just like the Redeem at checkout block, you need to customize the checkout page via Settings or from your theme editor. Then, make sure to click on the Add block in the Order summary section, this is the only section we support adding the point calculator at the checkout page.

Once done, go out to your online store to test this out.

Add the point calculator to the Thank you page
Unlike the checkout page, the Thank you page does not need Shopify Plus. To show earned points there, use the Reward celebration block instead. It is available on the Essential, Advanced and Ultimate plans. See our dedicated guide for this.

Wrap-up
Adding a Point calculator to your store is a way to engage customers by showing them the value they can gain from their purchases. By following the steps outlined in this guide, you can easily set up and customize the Point Calculator to match your store's aesthetic and position it where it will be most effective.
This not only enhances the shopping experience but also encourages repeat purchases, helping to build long-term customer loyalty. Start implementing the Point calculator today and see the positive impact it has on your store's performance!
If you have any questions, feel free to contact our support team on live chat or email us at [email protected]. Happy supporting!
FAQs
When I change the product variant, the points calculator is not recalculated
Each theme has different ways to identify the variant selector on the product page. Most of the time, they seem to have a similar pattern that we can cover in our code. But in some scenarios, we will require some manual work to fill the product variant selector in the Advanced settings.
For example, some themes may have the selector identifier to be .product-form__input select. If you have more than one selector, separate them with commas. Once you fill in the selector, on the change of the variant, our widget will recalculate the points.

If I enable the App Embeds instead of the App block, is it ok?
If you are implementing the Cart drawer calculator and you are on the OS 2.0 theme, then it is ok. But with the OS 2.0 theme, you want to add to the product page, you need to use the app block.
Why are there two blocks: App embed and App block?
It is because we support the cart drawer and cart page as well. We have to register the App embeds block, which runs on every page of the store (the cart drawer is on every page). If you only want the product page, then implement it with the app block, and no need to be confused about whether to enable the App Embeds or not.
The Enable point calculator block card at the top of the page tells you whether you have enabled the block you need (On or Off):

How do I change the wording of the point calculator?
Click the Translation link under the field. The message and the action text show greyed out on the Point calculator page, so you edit their wording in the translation editor instead.
Do I need a paid plan to use the point calculator?
Yes. It is available on the Essential, Advanced and Ultimate plans. On the Starter plan, Save opens the plan options instead of saving your changes.
Why don't I see the Also use on Cart Page checkbox?
Stores that installed or reinstalled Joy after 22 November 2024 do not get this checkbox, because the cart page display is always on for them. Add the block to the cart page in the theme editor, as described in the cart page section above.
Need help?
Contact us via the live chat widget in your Joy admin, or email us at [email protected].
Last updated on