Payment & Delivery added instead of substracted?

Bob Basli

Avatar: Bob Basli

2008-10-08 10:16

Hi,
I set up my shipping and payment to store pickup -10.00
On the order page where you also have to fill in our name address etc, you can choose the option to pay at store pickup. Then 10.00 should be deducted from the total price. On this page the amount is added to the total.
However, when I complete the checkout, the amount is deduced and the total price is correct.
Is this a bug that each amount in shipping and delivery is added (system seems to ignore the - sign when a negative amount is entered).
Regards,
Bob

» Quick.Cart v3.x

using QC 3.1

treewood (OpenSolution)

Avatar: treewood

2008-10-09 08:31

Bob Basli - send link to your testing page and i will check

Bob Basli

Avatar: Bob Basli

2008-10-09 14:50

http://www.dmcompusoft.com/ophetnet

using QC 3.1

beholder

Avatar: beholder

2008-10-09 15:22

it must be the common.js thing, treewood:

fDeliveryCost = Math.abs( aCourier[2] );

I am not sure, if in the end the negative price gets added (or subtracted) to/from the price, perhaps the underlying PHP does that in a correct way. JS is definitely borked.

treewood (OpenSolution)

Avatar: treewood

2008-10-10 07:50

Bob Basli - grrrr you have paid version. please contact us email not forum. you will get faster help by email then forum and forum is for freeware version. TOPIC IS BLOCKED.

beholder - yes it is problem with that. we will fix it in qc v3.2

Back to top
about us | contact