Marketing Content → Components → Feature Loyalty UI
What are Empty States?
Empty States are pieces of content that we display to users by default UNTIL it is replaced by something else/more useful later on.
It is used for instance for the Loyalty Program - when a user JUST created an account he/she does not have any order yet - so when you visit for example your Loyalty Rewards Order History (see below image) you can’t see any order but instead you see a message that invites you to purchase your first order. After the first order, the user will be able to see the information regarding the Loyalty Points accumulated.
Enabling the Loyalty Notifications Widget
This section will be a walkthrough on how you can enable the Widget on the Rewards Detail Page.
Navigate to the Feature Loyalty UI Tab on Sanity
Order-Level Content ➡️ Loyalty ➡️ Loyalty Configs ➡️ Feature Loyalty UIScroll Down to the Loyalty Dashboard Section where you will see a section for Widgets
This section is where you will add the Loyalty Notifications Widget. This is a Sorted Widget list, which means that the widgets will appear in the order in which they are configured.
To add the Loyalty Notifications Widget, Click on Add Item and then Select Loyalty Notifications
Next, you will simply complete the fields in the pop-up
Click on Enable Notifications Widget Radio Button
Enter Title of the Section - This is what the Name of the Section will be on the FE
And then Select the Incentives you would like to show in the section. NOTE: Only incentives with Notifications Turned On will be shown in the Drop Downs. (This is covered in the section below)
Once configured, you can hit Publish and the Widget will now show on the FE.