hello, Jan.
this is something incredible.
there is a product, the price is 10. there is a 10% discount in it (for everyone)
there is a rule (for everyone). if the order is more than 50, then a 20% discount.
This means, when ordering 10 pieces, the total cost should be 80.
but the program does 2 discounts. first 10% and then another 20%
how to make only one discount apply?
about two discounts
- ehndrju
- Phoca Member
- Posts: 43
- Joined: 21 Apr 2021, 05:35
Re: about two discounts
and more:
two rule discount:
1 - if total amount more that 50 - discount 20%
2 - if total amount more that 100 - discount 40%
Why different discount?
i'm sobbing...
two rule discount:
1 - if total amount more that 50 - discount 20%
2 - if total amount more that 100 - discount 40%
Why different discount?
i'm sobbing...
- ehndrju
- Phoca Member
- Posts: 43
- Joined: 21 Apr 2021, 05:35
Re: about two discounts
discount option
Quantity Rule (Product Variations) yes or no - the result is the same
Quantity Rule (Product Variations) yes or no - the result is the same
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: about two discounts
Hi, from the checkout screenshot, I see two type of discounts: product discount and cart discount - but both are independent to each other - one is based on product price, second based on cart total amount (divided into products because of tax).
Jan
Jan
If you find Phoca extensions useful, please support the project
- ehndrju
- Phoca Member
- Posts: 43
- Joined: 21 Apr 2021, 05:35
Re: about two discounts
in the second screenshot, there are rules of the same type. to order. Why is it not being applied correctly?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: about two discounts
Please let me know exactly the settings - which type of discounts they are? Where they are set?
In discounts, there is no from to, only minimum amout, which means that only the large amount will be selected.
So if you get minimum amount 100 and both discounts can meet the rules, the large is selected.
Jan
In discounts, there is no from to, only minimum amout, which means that only the large amount will be selected.
So if you get minimum amount 100 and both discounts can meet the rules, the large is selected.
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: about two discounts
Hi, the calculation is cascading - the rules applies to currect subtotal, so when you get sales on two items and the subtotal is now lower than 100, the next sale for next product will be counted from this subtotal.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: about two discounts
With some small change, it can be set to not cascade the subtotal:
I will take a look at it, maybe I can add it to next version.
Jan
I will take a look at it, maybe I can add it to next version.
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: about two discounts
You can test the Beta here:
https://github.com/PhocaCz/PhocaCart/re ... Beta14.zip
When you switch parameter "Discount Subtotal":
then the amount rule will be set by fixed subtotal:
Jan
https://github.com/PhocaCz/PhocaCart/re ... Beta14.zip
When you switch parameter "Discount Subtotal":
then the amount rule will be set by fixed subtotal:
Jan
If you find Phoca extensions useful, please support the project