Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to the Systemwide Promotions Tab on Sanity
    Order-Level Content ➡️ Loyalty ➡️ Incentives ➡️ Systemwide Promotions

  2. Click on the Icon to create a new Systemwide Promotion

  3. Complete the content as desired

  4. Under Mechanics, You will set the Points Multiplier to be awarded to the User for their order. In this use-case we will put 2 since we want the user to earn 2X the points.

  5. Next you will define the rules for the Systemwide Promotion. These rulesets will set the validations for the Systemwide Promotion itself and also the actions the user must complete in order to be eligible for the Systemwide Promo.

  6. For this Promotion, it has to be the User’s birthday (set on their Profile when registering or after) for them to earn 2X points on their order. We will use the Birthday Multiplier Ruleset to set this validation.

  7. Now that we’ve configured the content, set the Points Multiplier and configured the rulesets for the promotion, we can hit Publish for the Promotion to go Live!

Configuring an Incentive’s Notification Content

This section will be a walkthrough on how you can configure the Incentive specific Notifications you want to show in the Loyalty Notifications Widget

  1. 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 Promotions

    1. Image Added
  2. Next, select the Incentive you want to configure the notification for and scroll down to the Notifications Details Tab within the Content Section

    1. Image Added
    2. 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)

      • Image Added
  3. Fill out the required fields mentioned above

    1. Image Added
  4. Once the content is filled out, you can hit Publish

    1. Image Added
  5. Next you will Navigate Back to the Widget mentioned in the above section

    1. Order-Level Content ➡️ Loyalty ➡️ Loyalty Configs ➡️ Feature Loyalty UI

  6. Here you will add the configured Incentive to the Widget through the steps mentioned in Step 5 of the above section.

  7. The Incentive will now show on the FE to the User

    1. Image Added