Versions Compared

Key

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

This page is still in Progress

Overview

...

Contents

Table of Contents
stylenone

What is a Reward Category?

Each reward category contains multiple rewards, for example the category for 300 Loyalty points will contain all the rewards that are available to be redeemed for that amount of points. Reward Categories represent the way you want to group rewards in the list view.

...

It could be point categories (as in the example below) or it could be menu categories.

In Sanity:

Image Added

In the app:

Image Added

Adding Reward Categories

  • In Sanity go to Reward Categories folder and click on the “pencil” on top of the page

Image Added

Label

The label represents how the name of that rewards category will show on the app.

Info

Please note the word “Coins” is controlled by the Lokalise string “Points”. It can be changed for any other word or have an empty space (“ “) in case you would like to only show the label.

image-20240603-062846.pngImage Added
image-20240603-064823.pngImage Added

Validations

Validations represent the range that rewards must have to be in this specific category

Info

If you add a 400 point

...

reward to the

...

category defined as ‘0-250’, Sanity will throw an error and will not let you publish

image-20240603-063155.pngImage Addedimage-20240603-064421.pngImage Added
image-20240603-064551.pngImage Added

Image

Image Description

Note

The fields Image and Image Description were deprecated. Please leave these two fields empty.

image-20240603-064916.pngImage Added

Rewards

List all the rewards you would like to show in this category. The order in which the

...

rewards are listed within the categories is the order they will appear on screen.

image-20240603-065809.pngImage Added
image-20240603-065908.pngImage Added

Publish

Click on “Publish” to have the changes done to the category be saved.

image-20240603-070043.pngImage Added