Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Correct negation of voucher discounts #25

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

mcdado
Copy link

@mcdado mcdado commented Dec 1, 2015

Besides being more elegant and correct, this way enables developers
to create custom behaviors with Cart Rules, where instead of offering
discounts, they could increase the price. However, this change will not
effect anybody else.

See for example these screenshots:
Before:
Before

After:
After

You can see how now the normal case is still a normal minus, while with
our custom built override we have a positive value, that is they way
it's meant to be.

Never mind the rounding to four decimals, that is a customization.

@mcdado
Copy link
Author

mcdado commented Jan 7, 2016

🆙

@mcdado mcdado changed the title [-] MO : Proper negation of voucher discounts Correct negation of voucher discounts Sep 22, 2016
@mcdado
Copy link
Author

mcdado commented Sep 22, 2016

Anybody?

Besides being more elegant and correct, this way enables developers
to create custom behaviors with Cart Rules, where instead of offering
discounts, they could increase the price. However, this change will not
effect anybody else.

See for example these screenshots:
http://cl.ly/image/0e0g2D1u0Y45 (before)
http://cl.ly/image/3b020a303N2v (after)

You can see how now the normal case is still a normal minus, while with
our custom built override we have a positive value, that is they way
it's meant to be.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant