Page 2 of 2

Re: Coupons and shipping price

Posted: 31 May 2024, 23:01
by mino182
Yes, I'm talking about it all time. Solution is make new variable for example "subtotal2" which will be "subtotal" minus discounts. And that could be base for shipping price rule...

But after that, you will have another problem. User get "gift card 500kr" for real 500kr from his wife or somebody. Next time he want to buy your product for 958kr using his gift coupon and voilà, he need to pay shipping. Without coupon he would have free shipping for same money, so why bothering to buy coupons, when they are more expensive in the end...

Maybe whole shipping price rule should be rethinked and split gift certificates from discounts and coupons...

Re: Coupons and shipping price

Posted: 31 May 2024, 23:28
by Nidzo
And create option so store owner can decide how coupon will affect shipping.
I agree with you. It is delicate problem. I googled and other e-commerce platforms has similar issue. Some of them has additional plugin that enables this option, for some of them you need to change core files etc.

Re: Coupons and shipping price

Posted: 03 Jun 2024, 16:01
by Jan
Hi,

this is very interesting discussion:

1) yes, we need to change Phoca Cart Shipping Info plugin

2) in total variables, we have info about subtotal minus discounts (wdnetto). Such can be maybe used for this (option for shipping methods - with or without discounts) but it includes all discounts, not only gift, etc.

Image

wdnetto = without discount netto = subtotal without discount

Feature Request
https://github.com/PhocaCz/PhocaCart/issues/235

Jan

Re: Coupons and shipping price

Posted: 30 Jun 2024, 21:12
by Nidzo
Thanks Jan. I hope it will be included in stable Phoca. Cart 5 🙏🏼
The first thing that store owner noticed when he enabled 20% coupon is calculation we discuss here and he was not happy. 🤷🏼‍♂️