Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

  1. Navigate to the Feature Loyalty UI Tab on Sanity
    Order-Level Content ➡️ Loyalty ➡️ Loyalty Configs ➡️ Feature Loyalty UI

  2. Scroll Down to the Loyalty Dashboard Section where you will see a section for Widgets

  3. 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.

  4. To add the Loyalty Notifications Widget, Click on Add Item and then Select Loyalty Notifications

  5. 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)

  6. Once configured, you can hit Publish and the Widget will now show on the FE.

  • No labels