Loyalty
loyalty page template
shows the content of the loyalty program, which is meant to enable the store's customers to benefit from collecting the points for vouchers and offers provided by the store. Once they have collected enough points, the customers will be eligible to redeem them for exciting gifts or products.
Example

Variables
LoyaltyPage
page
string | object
optional
title
string
optional
slug
enum<string>
optional
Allowed value:
loyalty
loyalty
object
optional
name
string
optional
description
string
optional
image
string
optional
promotion_title
string
optional
promotion_description
string
optional
points
array[object (Point) {7}]
optional
prizes
array[object (PrizesGroup) {3}]
optional
user
object
optional
loyalty_points
string
optional
is_profile_completed
boolean
optional
Components
breadcrumbs
component. The {% component breadcrumbs %}
line returns the current navigation for the user:
JS Web Components
Usage
loyalty
object, which contains all of the information related to the loyalty program, such as its name and description. The developer may show the collected points of a logged in user by using the variable user.loyalty_points
.
Educational Clip
Modified at 2025-03-04 12:54:02