The points badge shows shoppers how many points they will earn for a product, right where they decide to buy. For example: Earn 108 points when you buy this item. It works on product pages, and on collection pages and featured products with a snippet.
You choose its colors, its text and who sees it on the Points Display on Product & Collection Pages page in the app.
Before you start
The badge needs all of these:
The Appstle Loyalty app embed is on in your live theme. If it's off, the app shows a banner with an Activate app embed button.
The Loyalty Acquire Points app block is on your product template, and on any other product template your products use, saved in the theme editor.
The product earns points or store credit from at least one active way to earn that the badge counts. See Which points the badge counts below.
Show loyalty on your store is on. Click Design, then Customize, then Visibility, and look in Basics.
Turn off the on-site scripts is unchecked. It's under Advanced on the On-site blocks page.
Add the badge to your product page
In Appstle Loyalty, click Design, then click Manage on the On-site blocks card.
Under Product and account nudges, find Product Page Points Display and click Configure.
In the Storefront setup card, click Add app block. Shopify's theme editor opens.
Choose the block's position on your product template, for example under the Add to cart button, then click Save in the theme editor. The theme editor shows a placeholder. Shoppers see the badge on your live store.
Next to the page title, the status shows Not added until the block is on your product template, Needs app embed if the app embed is off, and Configured when both are done.
Choose how the badge looks and what it says
On the Points Display on Product & Collection Pages page, the Colors card sets Acquire Points Background Color and Acquire Points Text Color. The Storefront preview card shows each change on a sample product.
The Text customers see card sets what the badge says. Pick a language in the Language menu to write the text for it.
Field | What it does |
Acquire Points Label | The text for the points a customer earns. Use {{totalPoints}} for the amount. |
Acquire Store Credits Label | The text for store credit a customer earns. Use {{totalStoreCreditPoints}} for the amount. It shows only when the product earns store credit. |
Logged Out Users Acquire Points Label | The text visitors who aren't logged in see when Show Dedicated Label for Logged Out Users is on. It replaces the two labels above for them. |
Click Add Variable above a field to insert {{totalPoints}}, {{totalStoreCreditPoints}} or {{currency}}, the currency symbol. To show a calculated value, add a filter, for example {{totalPoints | divided_by: 100}}. When you're done, click Save.
Choose who sees the badge and how it counts
The Labels card has three settings. Each one changes what shoppers see.
Setting | What it does |
Show Dedicated Label for Logged Out Users | Visitors who aren't logged in see the Logged Out Users Acquire Points Label text. When it's off, they see the regular labels, or no badge if customers must opt in to your program. |
Enable Acquire Points/Credits Based On Selected Quantity | The badge multiplies the points by the quantity the shopper picks, updates when they change it, and counts a selected Appstle Bundles offer. When it's off, the badge always shows the points for one unit. |
Show Acquire Points/Credits To Non-Eligible Customers | The badge also counts ways to earn whose Minimum order or customer tags the customer doesn't meet yet. The order earns those points only if it meets the conditions at purchase. |
What shoppers see
The badge sits where you put the block and shows the points for the variant the shopper has selected. It updates when they pick another variant or subscription plan. It shows nothing when the product earns no points or store credit.
With the quantity setting on, the points go up with the quantity. Here a shopper picks 3 totes, and the badge shows 324 points instead of 108.
With Show Dedicated Label for Logged Out Users on, visitors who aren't logged in see the logged-out label.
If Require Customers to Opt In to the Loyalty Program is on, only customers who have joined see the badge. Turning on Show Dedicated Label for Logged Out Users also shows it to visitors who aren't logged in or haven't joined. See Loyalty Program Enrollment Settings.
Which points the badge counts
The badge adds up what these ways to earn give for the selected product:
Points for subscription orders, when the shopper has picked a subscription plan on the product
Other ways to earn, such as Points per item, sign-ups, birthdays and referrals, don't appear in the badge. When more than one way to earn of the same kind applies, the badge counts the one that gives the most points. For Points for purchases and Points for subscription orders, it adds the best one that gives points per order to the best one that gives points per amount spent.
A way to earn counts only when it's active, inside its Schedule dates, not set to POS only in Where it works, and its conditions fit the product and the customer: the products or collection it covers, product and customer tags, No points on sale items and Minimum order. Its Most points per order limit also applies.
The badge also applies the multiplier of a running bonus campaign that covers the shopper and the way to earn. Store credit isn't multiplied. With the quantity setting on, the badge also counts the Appstle Bundles offer the shopper has selected. It's an estimate: discounts at checkout can change the points the order earns.
Show the badge on collection pages and featured products
The app block works only on product pages. To show the badge on product cards, for example on collection pages or in a featured collection, paste a snippet into your theme's code.
On the Points Display on Product & Collection Pages page, click Show advanced install options in the Storefront setup card.
Under Manual collection and featured-product code, click Copy.
In Shopify, go to Online Store → Themes, click … next to Customize, then click Edit code. Paste the snippet into the file that draws your product cards, where the badge should show, and click Save.
The snippet reads the product from a variable named card_product. That's the name in card-product.liquid, the file in the Snippets folder that draws product cards in Shopify's Dawn theme. If your file names the product differently, for example in a featured-product section, replace card_product in the snippet with that name. On a product card, the badge shows the points for one unit of the product's first variant.
The same options list a Manual product-page code snippet for themes where you can't add app blocks. Paste it into product.liquid or the matching product template. With this code, the status next to the page title stays Not added, because the app looks only for the app block.
Things to know
The badge counts Buy from a collection only for collections published to your online store. A way to earn that uses a hidden or unpublished collection still awards points after purchase, but the badge doesn't show them.
When a shopper browses in another currency, the badge converts the price to your store's currency before it works out the points.
The badge only tells shoppers what they can earn. Points are awarded after the order, by your ways to earn.
FAQs
Why doesn't the badge show on my product page?
Check these causes:
The Loyalty Acquire Points block isn't on the product template your product uses, or you didn't click Save in the theme editor. If no product template in your live theme has the block, the status next to the page title shows Not added.
The app embed is off. The status shows Needs app embed. Click Activate app embed in the banner and save.
Loyalty is hidden on your store or on this page. Click Design, then Customize, then Visibility. Check that Show loyalty on your store is on, Load loyalty only on the loyalty page is off, and Don't load loyalty on these pages has no entry that matches the product page, such as /products or //. Then click Save. On the On-site blocks page, uncheck Turn off the on-site scripts under Advanced and click Save.
Your Who sees loyalty tag rules hide it from this shopper. If Only customers with these tags or Customers with these tags don't see loyalty is set, visitors who aren't logged in see nothing unless Show loyalty to guests is on. See Choose who sees loyalty and where it shows.
The customer's status in Customers is Omitted or Omitted by customer.
You're checking in the theme editor. It shows a placeholder for the block. Open the product page on your store to see the badge.
The product earns no points or store credit. Check that an active way to earn covers it, and that its Schedule, Minimum order, tags and No points on sale items don't rule it out. See Which points the badge counts above.
Require Customers to Opt In to the Loyalty Program is on, and the shopper hasn't joined or isn't logged in. Turn on Show Dedicated Label for Logged Out Users to show the badge to them.
You expected it on a collection page or in a featured-product section. Those need the snippet from Show advanced install options.
Why does the badge show more points than the order earned?
The badge is an estimate: discounts at checkout can change the points an order earns. It can also count points the order doesn't get. With Show Acquire Points/Credits To Non-Eligible Customers on, it counts ways to earn whose conditions the customer doesn't meet yet. And a way to earn set to Only on some days each month shows in the badge every day, but earns points only on its days.
Why does the badge show a different amount than I expected?
A running bonus campaign multiplies the points. The badge also uses the selected variant and subscription plan. With the quantity setting on, it also uses the quantity and the Appstle Bundles offer the shopper picked.






