All shop metafield data is stored on the following metafield
shop.metafields.rivo.loy
Liquid
{{ shop.metafields.rivo.loy | json }}
This is a list of attributes included in shop.metafields.rivo.loy
JSON
{
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.enabledtrue, false Is the points program enabled? points_program.ways_to_earnarray Different ways to earn points in the points program. points_program.points_rewardsarray Rewards that can be redeemed using points.
key value description vip_program.enabledtrue, false Is the VIP program enabled? vip_program.tier_typestring Entry method for the VIP program. vip_program.program_periodstring The time limit for customers to attain a VIP tier. vip_program.tiersarray Different tiers in the VIP program.
key value description referral_program.enabledtrue, false Is the referral program enabled? referral_program.referral_rewardsarray Rewards available in the referral program. referral_program.social_settingsarray Social settings available for the referral program. referral_program.customer_account_requiredtrue, false Is a customer account required for the referral program?
key value description translationsJSON Translations for different elements of the programs.
key value description frontend.pagesJSON JSON representation of frontend loyalty page settings. frontend.formsarray The different frontend prompts. frontend.brand_theme_settingsJSON JSON representation of widget brand theme settings. frontend.launcher_style_settingsJSON JSON representation of widget launcher style settings. frontend.custom_iconsJSON JSON representation of custom icons used in frontend design. frontend.css.widgetwidget_css CSS for the widget in the frontend design. frontend.css.customcustom_css Custom CSS used for the page in the frontend design. frontend.potential_points.order_placedpotential_points_for_order_placed Potential points earned for an order placement.