Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Table of Contents


Business Problem

As Product Owner (PO) of Popeyes and Burger King, I want to remove the premium options section and have their respective products listed along with the other add-on options reporting their additional cost, because we think it would be more appropriate than placing them in one section Aside from being something premium at additional cost, customers tend to overlook this option. On the other hand, when they are displayed alongside the other add-ons, it increases the likelihood that customers will add them to their order.

"1- Premium items, such as Bacon Cheese Fries, should be relocated to the add-ons section of the menu, instead of the premium options section, which should be removed.
2 - The additional cost of the products must be clearly indicated next to their description in the add-ons section."

Premium Options configuration and behavior

How to configure the premium options in Sanity

Given a specific picker (or combo) all the selected picker combinations can have premium items configured as the following guide:

  1. Select picker combination

  2. Select the menu item

  1. The item will have an “Options” section.

  2. All these options can be configured to have premium items or not

  1. Scroll down the item

  2. You’ll find the “Options” section

  3. All these are eligible to be premium or not

  4. Select the desired option

  1. Configure the option to be premium or not using the toggle “Is Premium Item”

  2. If this toggle is off for all the options in the menu item, the “Premium Options” section will not be shown

How to configure Premium Options to not have the title/section (0 development solution)

The application already has the ability to hide the premium options title/section and show the premium items alongside the others using a feature flag.

LaunchDarkly flag:

Flag name/key: enable-product-upsell-simplified

Other possible solution (development needed)

Change the items order - highlight premium options

If only the feature flag solution is not enough, we can combine this feature flag behavior by changing the order of the items: the premium items first on the list.

Besides that, it will be good to consider in the new solution:

  • The creation of a new feature flag or toggle in Sanity

    • It is important to guarantee that all the markets can configure this only if they want this new behavior

For Devs

The needed logic will be inside this file: frontend/src/components/product-detail/product-customization/product-customization-options.tsx

  • No labels