qnorx Posted February 22, 2004 Posted February 22, 2004 Hi there's a strange error with using table based shipping fees in my shop. Based on Table Method "weight" i defined: 100.00:7.80,1000.00:17.80 When I put one product with weight 100.00 in the basket, i get shipping fees of 33.57 incl. tax. Tax rate is 7.6%, so the net shipping fees would be 31.199. There are no other fees like Handlig Fee or similar. In my opinion the fee should be 17.80 without taxes or 19.1528 incl. taxes. Does anyone has an idea what is wrong here? Does it has to do with currencies (my shop is running using Swiss Francs only) or taxes (i had to create my own tax rate)? The funny thing - using the same settings with table method "price" everything seems to be right. Thanks a lot for your help!
qnorx Posted February 22, 2004 Author Posted February 22, 2004 ok, i just digged into the code and found that the wrong result comes from "checkout_shipping.php" last third, line "$currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax']));" or even detailed: $quotes[$i]['methods'][$j]['cost'] gives back: "31.2". Thats the value without tax and formatting. So far so good. But, this is an array where the shipping infos seemed to be saved. So, how can i get a totally wring number out of it? Isn't there done any processing? Maybe someone that knows that code a little bit can gimme a hint so i might find out more? Thanx a lot!
241 Posted February 23, 2004 Posted February 23, 2004 were you tare ing your hair out on that one or was it nothing to do with the tare No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.