Coupons and shipping price

Phoca Cart - complex e-commerce extension
mino182
Phoca Professional
Phoca Professional
Posts: 189
Joined: 12 Feb 2015, 13:30

Re: Coupons and shipping price

Post 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...
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 386
Joined: 07 Nov 2018, 14:55

Re: Coupons and shipping price

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Coupons and shipping price

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 386
Joined: 07 Nov 2018, 14:55

Re: Coupons and shipping price

Post 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. 🤷🏼‍♂️
Post Reply