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

Promotions milestone 2 #207

Open
wants to merge 18 commits into
base: trunk
Choose a base branch
from
Open

Promotions milestone 2 #207

wants to merge 18 commits into from

Conversation

vannguyenn
Copy link
Collaborator

No description provided.

vannguyenn and others added 14 commits February 17, 2023 15:40
* add Item is in cart option

Signed-off-by: Chloe <[email protected]>

* implement item in cart trigger

Signed-off-by: Chloe <[email protected]>

* prepare for coupons trigger

Signed-off-by: Chloe <[email protected]>

* implement coupons trigger

Signed-off-by: Chloe <[email protected]>

* finalize coupon code and name

Signed-off-by: Chloe <[email protected]>

* add disabled state

Signed-off-by: Chloe <[email protected]>

* add error handler

Signed-off-by: Chloe <[email protected]>

* add unit tests

Signed-off-by: Chloe <[email protected]>

* add can use in store option

Signed-off-by: Chloe <[email protected]>

* fix tests

Signed-off-by: Chloe <[email protected]>

* modify create promotion logic

Signed-off-by: Chloe <[email protected]>

* update coupon

Signed-off-by: Chloe <[email protected]>

* change to inclusive

Signed-off-by: Chloe <[email protected]>

* add coupon error handler

Signed-off-by: Chloe <[email protected]>

* remove coupon field when enable/disable coupon

Signed-off-by: Chloe <[email protected]>

* should not allow space in coupon code

Signed-off-by: Chloe <[email protected]>

* add coupon max usage per customer

Signed-off-by: Chloe <[email protected]>

* minor fixes

Signed-off-by: Chloe <[email protected]>

* fix weird UI state when coupon is duplicated

Signed-off-by: Chloe <[email protected]>

* add close action for toast

Signed-off-by: Chloe <[email protected]>

* add coupon code validation

Signed-off-by: Chloe <[email protected]>

* integrate archive coupon API

Signed-off-by: Chloe <[email protected]>

* should archive existing promotion before creating

Signed-off-by: Chloe <[email protected]>

---------

Signed-off-by: Chloe <[email protected]>
Signed-off-by: Chloe <[email protected]>
Signed-off-by: Chloe <[email protected]>
As an operator I want to set my promotion type to Shipping Discount
…e-type

As user I want to prevent my promotion from stacking with other promotions of the same type
@tedraykov tedraykov self-requested a review August 7, 2023 16:14
@tedraykov tedraykov force-pushed the feat/promotions-milestone-2 branch from 742cf87 to 0dafb5d Compare August 14, 2023 13:46
@tedraykov tedraykov force-pushed the feat/promotions-milestone-2 branch from 0dafb5d to 0b63d06 Compare August 14, 2023 13:48
Signed-off-by: tedraykov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants