Skip to main content

Setting up and customizing the Smartrr Loyalty Points block

Add the loyalty app block to your product templates to show customers the points they would earn, and what their points can redeem.

The Loyalty Points app block shows customers how many loyalty points they'll earn by buying a product, right on the product page.

By default, the block displays a line like "Earn 5 Points on this order." The point value is calculated from your loyalty settings, such as points per $1 spent.

When customers click the point value, a popup opens with a rundown of your loyalty program:

  • Your tiers and the points needed for each, if tiers are enabled.

  • The ways customers can earn points, such as orders, creating an account, referring a friend, and bonus earn.

  • A short description that you write in the block settings.

The tiers and earning rules in the popup come from your loyalty settings in Smartrr, so they stay up to date automatically. To learn more about setting up loyalty, see our Loyalty article.

Loyalty Points block on the product page

Loyalty Points block on the product page (seen above the "One time purchase" block")

Loyalty popup modal showing the tiers (if enabled) and the points needed to go into each tier. And further details on how the customer can earn points.

Loyalty popup modal - shows further details on the loyalty program (based on loyalty settings in Smartrr)

Before you start

The Loyalty Points block only works when loyalty is set up and live in your store. Make sure these are in place first:

  • You're on the Excel plan. Loyalty is only available to merchants on the Excel plan.

  • Loyalty is set up and live. In your Smartrr admin, go to Loyalty and set up your program, including how customers earn points. The block won't show anything until your program is live.

  • An Online Store 2.0 theme. App blocks only work on 2.0 themes.

Installing the block

  1. In your Shopify admin, go to Sales channels > Online store and click Edit theme on your theme.

  2. From the page selector at the top, choose Products and open the product template you want to use (for example, Default product).

  3. In the left sidebar, find the Product information section and click Add block.

  4. Search for "Smartrr" and open the Apps tab. Select Loyalty Points.

  5. Drag the block to where you want it. We recommend placing it just above the Subscription Options block.

  6. Click Save.

Adding the Loyalty Points block in the theme edito

Adding the Loyalty Points block in the theme editor

If your store uses more than one product template, repeat these steps for each template.

Customizing the Loyalty Points block

Click the Loyalty Points block in the sidebar to open its settings.

[Screenshot: Loyalty Points block settings panel]

Product page display

Setting

What it does

PDP copy

The line shown on the product page. Use {X} where the point value should appear. The default is "Earn {X} on this order."

PDP copy text color

Color of the product page line.

Background color

Background color of the block.

Always show

When off, the block only appears once a customer selects a subscription option. When on, it's always visible.

The point value uses the unit name from your loyalty settings. For example, if you've renamed "Points" to "Stars," customers will see "Earn 5 Stars on this order."

Popup

Setting

What it does

Display Modal

When on, the point value becomes a link that opens the popup. Turn it off to keep the point value as plain text with no popup.

Modal headline

Title at the top of the popup. The default is "Earn points, get rewarded."

Modal Headline Color

Color of the popup title.

Modal copy

Short description shown at the bottom of the popup.

Modal copy color

Color of the main popup text, such as tier names and ways to earn.

Modal Copy Secondary Color

Color of the supporting text, such as "1 Point per $1 spend."

Custom CSS

Use the Custom CSS field under Advanced Settings for styling you can't achieve with the settings above.

Troubleshooting

The block isn't showing

  • Confirm you're on the Excel plan and that your loyalty program is set up and live in Smartrr.

  • If Always show is off, the block only appears after a customer selects a subscription option. Turn it on to show the block at all times.

  • Make sure you clicked Save in the theme editor and that the product uses the template where you added the block.

The popup doesn't open when the points are clicked

Check that Display Modal is turned on. When it's off, the point value is plain text and can't be clicked.

The popup is missing tiers or ways to earn

The popup shows what's set up in your loyalty settings. Tiers only appear if tiers are enabled, and only the earning events you've set up are listed. Update these in Loyalty in your Smartrr admin.

Still need help?

Reach out to our support team through the chat in your Smartrr admin. Include the product URL and a screenshot of the issue so we can help faster.

Did this answer your question?