Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkout: enable promo / discount codes / gift cards #81

Closed
zeekay opened this issue Mar 18, 2024 · 1 comment · Fixed by #127 or hanzoai/react-sdk#77
Closed

checkout: enable promo / discount codes / gift cards #81

zeekay opened this issue Mar 18, 2024 · 1 comment · Fixed by #127 or hanzoai/react-sdk#77
Assignees
Labels
enhancement Improvement to a an existing feature
Milestone

Comments

@zeekay
Copy link
Member

zeekay commented Mar 18, 2024

We need to be able to track when someone visits by a special link (say lux.link/nasser) and then apply a 20% discount (or whatever code). we need both one-time and many use coupons. Here is UI missing from checkout:

Screenshot 2024-03-18 at 3 47 31 PM

@zeekay zeekay added this to the MVP milestone Mar 18, 2024
@zeekay zeekay added the enhancement Improvement to a an existing feature label Mar 18, 2024
@aljosaRakita
Copy link
Contributor

aljosaRakita commented Mar 26, 2024

Mock logic on next api, host a json with coupon codes and check if the input code is on the list. If it is on the list apply discount, otherwise say invalid code. Also input code automatically from url query if present: ?ref=NASSER (backend returns 20% discount)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to a an existing feature
Projects
Status: Done
4 participants