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

Add discount codes support within the Checkout #690

Closed
pkarw opened this issue Feb 19, 2018 · 6 comments
Closed

Add discount codes support within the Checkout #690

pkarw opened this issue Feb 19, 2018 · 6 comments
Assignees
Labels
good first issue Tasks that requires just basic understanding of Vue Storefront
Milestone

Comments

@pkarw
Copy link
Collaborator

pkarw commented Feb 19, 2018

GET /V1/carts/{cartId}/coupons
GET /V1/carts/{cartId}/coupons
PUT /V1/carts/{cartId}/coupons/{couponCode}
DELETE /V1/carts/mine/coupons

The option should be available only when config.cart.synchronize_totals is turned true

@pkarw pkarw added the good first issue Tasks that requires just basic understanding of Vue Storefront label Feb 19, 2018
@pkarw pkarw added this to the To Be Planned milestone Feb 19, 2018
@pkarw
Copy link
Collaborator Author

pkarw commented Feb 19, 2018

Related to #691

@pkarw pkarw modified the milestones: To Be Planned, 1.0 Feb 19, 2018
@pkarw
Copy link
Collaborator Author

pkarw commented Mar 9, 2018

@pkarw
Copy link
Collaborator Author

pkarw commented Mar 9, 2018

@karolbzik will add the Microcart.vue UI controls for this

@karolbzik
Copy link
Collaborator

@akbarik I tried to design it in the simplest way but for all critical use scenarios.

Design for the sidebar cart with 1) already defined discount code (name + value) 2) link to add a discount code 3) discount code can be removed by clicking the closing icon.
vs - sidebar cart 10 03 2018

After clicking "add a discount code" link - the form appears with a field for a discount code and a button to submit the code. After clicking "add a discount code" it returns to the first view.
vs - sidebar cart discount code form 10 3 2018

@akbarkz
Copy link
Collaborator

akbarkz commented Mar 10, 2018

@karolbzik, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Tasks that requires just basic understanding of Vue Storefront
Projects
None yet
Development

No branches or pull requests

3 participants