Table of Contents
How the Complete Your Menu is configured today?
Today, the complete your menu is configured using the “Combo Slot” feature that already exists on Sanity, and this configuration is available for all kinds of items (combo/picker, etc)
Usually we see the complete your menu as the last option in the menu items customizable options, but this can be changed if we change the order of the list on Sanity.
What can be customized?
In general, we’ll have the same customization that we can have in a Combo Slot item:
What can be changed:
The “Do you want to Complete your Menu” title
All items can be configured as desired
The items inside “complete your menu” can be “premium items” or not. This can be configured as desired
The maximum and/or minimum amount. This will be the available quantity that the user can select
The complete your menu can be positioned by ordering the list on Sanity
About the “No, thanks”
Today, “No, thanks” is just a “dumb” option that will mean that the user doesn’t selected any value to complete his menu. This option is configured to be the default and will always be selected. Considerations:
As this is already a customizable option, we can change it to be as we want (change the icon image, text, and so on)
Visibility configurations
This configuration will only work for the “old legacy menu design” and will not have any effect on the new menu customization that we are using today. This is controlled by a feature flag (enable-new-menu-customization-design
).
Header Configuration
We can also use a feature flag (enable-product-upsell-simplified
) to enable/disable the Combo Slot header. If the flag is FALSE/OFF, this header will appear for all Combo Slots on the screen (as the complete your menu is a Combo Slot this will be shown for him too).
The header can also be collapsed (there is no current value on this):
If the flag is ON then we’ll see the simplified version of this list (the most common that we are using today):
To have premium options are sorted in the first position inside Combo Slot
As stated in this document, to have the premium options in first position, we have a new feature flag (enable-premium-options-at-first-position
) that depends on the enable-product-upsell-simplified
(that needs to be ON).
0 Comments