Versions Compared

Key

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

Table of Contents

...

  • If the user redeems an offer and doesn’t use it, he should not be able to redeem the same offer again until he uses the already-redeemed one!

    • This will solve these duplication entries and also solve the bug at the same time!

      • When we developed the Promo code at checkout page X config offer type feature, I also added this functionality at the checkout. As the user is not seeing the offer list we should prevent duplication there. With this proposal we’ll keep the same behavior and consistency

PS: I tested, and this will not happen if the user changes between two different offers and then applies one or the other in sequence.

...

  • If the promo code already exists in the list we show an error when the user tries to apply the same promo code (unused one) again:

...

  • To facilitate the search at the list I also think that we should show the promo codes at the list

...

  • only closes the “Add promo code” modal and then we’ll show a toast alerting the user the he already redeem/unlocked this offer:

    • The user enters a promo code and click at the apply button

      image-20240301-184002.pngImage Added
    • If the entered promo code was already redeemed/unlocked we’ll close the “Add promo code” modal and then we’ll show the toast with a proper message

      image-20240301-184235.pngImage Added
    • Instead of show “Promo Code added to Offers”, in this case, we’ll show “You already have this offer activated”

    • The user will be free to select the offer at the list and then apply at the cart

Advantages

  • Complexity is reduced in this solution

  • We keep the pattern that we already had at the offers page:

    • The user needs to select the offer and then apply if wanted

...