Versions Compared

Key

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

...

Videos demonstrations:

Expand

Adding a Combo Offer.mp4

Adding a Combo

Adding a Picker Offer.mp4

Adding an Offer Discount at checkout

...

  • As shown in the screenshot above, the “Offer Discount” is not considered a "cart item" (as a product, for example). We can think of this as an "informative card"

  • The "Offer Discount" will have a discount applied to the final price of the cart (total cart). The type of discount can be “Amount” (absolute value discounted) or “Percentage”

    image-20240521-133738.png

    image-20240521-135932.pngImage Removedimage-20240527-132043.pngImage Added

    For the screenshot above we can imagine that we have a Offer Discount of 50% applied. The sum of prices and taxes will be something close to 20 but the final value will be half of that.

    PS: Please disregard if the values are not exact in the screenshot above, as this comes from a dev environment and we have some problems with value consistency. The important thing here is the idea/behavior.

...

Feature Flags

  • enable-edit-offer-added-at-checkout: to show or not the edit button in the offer item (for Combo/Picker)cart: general flag to control edit cart option

  • enable-offers-edit-cart: flag to turn on the edit button at offers cart items

  • enable-loyalty-offer-promo-code-at-checkout: a main flag to disable/enable the whole feature

  • enablePromoCodeAtCheckout: This is legacy flag that already exists and control the promo code besides our feature. Needs to be on too if we want the feature to be working

...