All shop metafield data is stored on the following metafield
shop.metafields.rivo.loy
{{ shop.metafields.rivo.loy | json }}
This is a list of attributes included in shop.metafields.rivo.loy
{
points_program: {
enabled: boolean,
ways_to_earn: array,
points_rewards: array,
points_expiry_enabled: boolean
},
vip_program: {
enabled: boolean,
tier_type: string,
program_period: string,
tiers: array
},
referral_program: {
enabled: boolean,
referral_rewards: array,
social_settings: array,
customer_account_required: boolean
},
translations: JSON,
frontend: {
pages: JSON,
forms: array,
brand_theme_settings: JSON,
launcher_style_settings: JSON,
custom_icons: JSON,
css: {
widget: widget_css,
custom: custom_css
},
potential_points: {
order_placed: potential_points_for_order_placed
}
}
}
key | value | description |
---|
points_program.enabled | true, false | Is the points program enabled? |
points_program.ways_to_earn | array | Different ways to earn points in the points program. |
points_program.points_rewards | array | Rewards that can be redeemed using points. |
key | value | description |
---|
vip_program.enabled | true, false | Is the VIP program enabled? |
vip_program.tier_type | string | Entry method for the VIP program. |
vip_program.program_period | string | The time limit for customers to attain a VIP tier. |
vip_program.tiers | array | Different tiers in the VIP program. |
key | value | description |
---|
referral_program.enabled | true, false | Is the referral program enabled? |
referral_program.referral_rewards | array | Rewards available in the referral program. |
referral_program.social_settings | array | Social settings available for the referral program. |
referral_program.customer_account_required | true, false | Is a customer account required for the referral program? |
key | value | description |
---|
translations | JSON | Translations for different elements of the programs. |
key | value | description |
---|
frontend.pages | JSON | JSON representation of frontend loyalty page settings. |
frontend.forms | array | The different frontend prompts. |
frontend.brand_theme_settings | JSON | JSON representation of widget brand theme settings. |
frontend.launcher_style_settings | JSON | JSON representation of widget launcher style settings. |
frontend.custom_icons | JSON | JSON representation of custom icons used in frontend design. |
frontend.css.widget | widget_css | CSS for the widget in the frontend design. |
frontend.css.custom | custom_css | Custom CSS used for the page in the frontend design. |
frontend.potential_points.order_placed | potential_points_for_order_placed | Potential points earned for an order placement. |