Note |
---|
Please note this feature has not been tested yet |
There might be multiple SW Offers, Promos or Rewards which brands want to specifically showcase to the User within the Rewards Detail Page. In order to do so, brands can leverage the Loyalty Notifications Widget within the Loyalty Configs Tab in Sanity. The below guide will walk you through how to set up the widget.
...
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.
...
Navigate to the Incentive you would like to configure the Notification for, for this example we will use a SW Promo.
Order-Level Content ➡️ Loyalty ➡️ Incentives ➡️ Bonus Points Promotions ➡️ Systemwide PromotionsNext, select the Incentive you want to configure the notification for and scroll down to the Notifications Details Tab within the Content Section
This section is where you will configure the content of the Notification
Title
Description
Image
Path - The Path is the page to which the user is taken when they interact with the Notification (i.e.
/Menu
will take users to the Menu page)
Fill out the required fields mentioned above
Once the content is filled out, you can hit Publish
Next you will Navigate Back to the Widget mentioned in the above section
Order-Level Content ➡️ Loyalty ➡️ Loyalty Configs ➡️ Feature Loyalty UI
Here you will add the configured Incentive to the Widget through the steps mentioned in Step 5 of the above section.
The Incentive will now show on the FE to the User
...