We're having an issue where all customers are just selecting their delivery window to be 11-12, since (we surmise) that's what the app is defaulting to. In order to be able to use less drivers for more deliveries, we need to be able to smooth this out. Here are the simple changes I'd like us to make:
Spec 1
I'm adding DefaultTimeMode to the AvailableServices->OrderAhead->availableMenus->menus object:
Logic
Possible values: random | useDefault | first
IF random, THEN select a random time window be the default selectionIF useDefault, then execute as per Spec 2 belowIF first, then this is the current behavior, where the first time window is the default selection
I've set the backend to use the random option, currently.
Spec 2
I'm adding an isDefault attribute to the AvailableServices->OrderAhead->availableMenus->menus->Times object:
We're having an issue where all customers are just selecting their delivery window to be 11-12, since (we surmise) that's what the app is defaulting to. In order to be able to use less drivers for more deliveries, we need to be able to smooth this out. Here are the simple changes I'd like us to make:
Spec 1
I'm adding
DefaultTimeMode
to theAvailableServices->OrderAhead->availableMenus->menus
object:Logic Possible values: random | useDefault | first
IF random, THEN select a random time window be the default selection
IF useDefault, then execute as per Spec 2 below
IF first, then this is the current behavior, where the first time window is the default selection
I've set the backend to use the
random
option, currently.Spec 2
I'm adding an
isDefault
attribute to theAvailableServices->OrderAhead->availableMenus->menus->Times
object:Logic
IF isDefault is true, THEN set this time as the default time window for this particular menu
On dev.