Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Badge Promotion

๐Ÿงพ History

DateChangesLinkBy
4 Dec 2024Badge Promotion setting on Package Level
Badge Promotion display on client side
This PRDUmam

๐Ÿ“• About

ContextMarketing team have the campaign in special day. for example 20% off (discount)
ProblemThere is no setting to set the promotion/discount campaign based
SolutionShould have the setting to show promotion/discount campaign
Name of FeatureBadge Promotion
ObjectiveBadge Promotion setting on Package Level
Badge Promotion display on client side
GainsIncrease the engagement
Increase user's click
Help restaurant to get more customers
PainsConsider the calculation and the priority badge's display
Figma Linkhttps://www.figma.com/design/5q2WPEzciWeE8pZa9SieFS/Dynamic-Pricing?node-id=1719-338&t=3r841i9HgG2W0sMp-1
Available PlatformWeb/Android/iOS
SprintTBD
Related PRD-
Out of Scope

๐ŸŽฏ User Story & Requirement

Badge Promotion Setting on Package Level

User StoryRequirement
Price โž Price by day โž Public holidays / Special days
Provide checkbox button to display Promotion Badge
Once the checkbox is active, show field to adjust the percentage of discount
Required to fill
There is no auto-calcule, just input it manually

Badge display period is based on this setting. (only display when in the range of period)

Limit the percentage from 0 until 100
Error state โ†’ You can only 0 until 100
Promotion โ†’ Come more pay lessThere is no UI and logic changes

All fields required
If the date is blank, should use the package expiry date (old default setting) โ†’ Improvement for Follow Package Date can see in the last section
Show the UI โ†’ Come X pay Y

Can be used by
Normal Price
Price by Party Size
Price by Day โ†’ Public holidays / Special days
If there are discount promotion and come more pay less , should use one of the highest percentage between them (please check below for the details)
Come more pay less can be assumed as percentage also to define the priority. it's used when there are some packages in a restaurant. please note that in the UI still shows the Come X pay Y not the Z% off
Formula :
100% - ((Group size to pay / group size) *100%)
Example :
Come 4 pay 3 โ†’ 25% off
Come 5 pay 4 โ†’ 20% off
If there is combination between
come more pay less + price by party size
โ†’ Promotion badge will use the higher percentage
โ†’ The calculation logic still occurs like existing (Override by come more pay less when meets in the range of date)
come more pay less + top up or price by day / special holiday or normal price
โ†’ Promotion badge will use the higher percentage
โ†’ The calculation logic still occurs like existing system (no logic changes)
Promotion โ†’ Display Top Up BadgeProvide checkbox button inside the promotion section
Display Top up Badge

There is no calculation occurs
Can combine with come more pay less (use the highest percentage)
Can be used by
Normal Price
Price by Party Size
Price by Day
Price by Day โ†’ Public holidays / Special days
If there are Top up, special day and come more pay less , should use one of the highest percentage between them
Limit the percentage from 0 until 100
Error state โ†’ You must input 0 until 100
LogicThere is no changes for the calculation logic. it's only the badge display
For the priority, should use one of the highest percentage to decide which one to be displayed
Required when the checkbox is active
Top up badge
Special day
Limit the percentage from 0 until 100
Error state โ†’ You must input 0 until 100

Badge Promotion display on client side

User StoryRequirement
HomepageDisplay on the restaurant card that have the badge promotion in the package.

Restaurant has branches
Display the badge promotion when there is badge promotion in one of restaurant.
Branch A
Outlet A (Have badge)
Outlet B
So, branch A will display the Outlet A that have a badge
Restaurant has more than a package that have a badge, should use one of the highest percentage of the badge
Branch A
Outlet A โ†’ 20%
Outlet B โ†’ 40%
Outlet C โ†’ 60%
So, branch A will display the Outlet C that have the highest percentage
Branch B
Outlet A โ†’ 20%
Outlet B โ†’ 40%
Outlet C โ†’ come 2 pay 1 โ†’ 50%
So, branch B will display the Outlet C that have the highest percentage
Search PageSame behavior with *Homepage

Group Landing PageSame behavior with *Homepage

Store PageDisplay on the package card

Default :


When there is selected package :

Detail Package PageDisplay the label on the price by day section (on the box)
Only display the day box that has the badge setting



Follow Package Date (Improvement)

User StoryRequirement
Follow Package Date in Come More Pay Less sectionNeed to add the checkbox to activate/deactivate the follow package date
Active โ†’ Follow the package start and end date (follow the start date and end date in the restaurant)
All of the package with blank start and end date should migrate to follow package date
Disable the date field


Inactive โ†’ Set the start and end date manually (required/mandatory)
Enable the date field
Can't be blank, should show error

what we suggest when the come more pay less date is blankShould use only a restaurant
Can use more than 1 restaurant but should use same start date and end date
Fill out the come more pay less date

โ“ FAQ

QuestionAnswer
Web version?pls check on the figma