issues
search
commercetools
/
commercetools-sunrise-java
The next generation shop framework by commercetools
https://demo.commercetools.com
Apache License 2.0
46
stars
35
forks
source link
Implement Discount Code
#674
Closed
lauraluiz
closed
6 years ago
lauraluiz
commented
6 years ago
Have a form input in the cart detail page where to introduce a discount code with the apply button to submit it (
https://github.com/commercetools/commercetools-sunrise-theme/blob/master/input/templates/partials/checkout/order-summary/discount-code-input.hbs
)
This will trigger an Cart Discount update (
http://dev.commercetools.com/http-api-projects-carts.html#add-discountcode
).
Remove discount code (probably missing UI).
Possibility to combine many.
Error messages very important in this use case.
Display list of discount codes in cart summary (
https://github.com/commercetools/commercetools-sunrise-theme/blob/master/input/templates/partials/checkout/order-summary/discount-summary.hbs
, has to be adapted to has dynamic data).
Display name of the discount (if not available then directly the code) and description smaller font below it.