sbfl26 Posted March 4, 2007 Posted March 4, 2007 I know this question has been asked so many times, but I still cannot figure out, hopefully someone can help me. I am using version 2.2, and I use table rate for my shipping charge, and the result just not come out correct. Here is my setting: Product weight: 4lbs Table Rate Enable Table Method True Shipping Table 5:7.95;10:9.95;15:12.95;20:15.95;25:18.95;30:21.95;35:24.5;40:27.5;45:30.5;50:33 Table Method weight Handling Fee 0 Tax Class --none-- Shipping Zone --none-- Sort Order 0 Package Tare weight: 0 Enter the Maximum Package Weight you will ship: 100. If I order qty:1, the shipping charge is $7.95, which is correct. But when I put the qty:2, the result become $12.95, instead of $9.95. Is there anyone can explain how does this table rate work, or if I did anything wrong? I read some other articles regarding this issue, and some people says to set the Enter the Maximum Package Weight you will ship to 0. But when I did that, a warning message come out the top of the check out page: Warning: Division by zero in /home/inkymink/public_html/includes/classes/shipping.php on line 61 Warning: Division by zero in /home/inkymink/public_html/includes/classes/shipping.php on line 62 I don't understanding anything about the programming, so I don't know what is wrong with these 2 lines. I checked file, these 2 lines are like this: $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT); $shipping_weight = $shipping_weight/$shipping_num_boxes; Anything wrong with it? Thanks for help
sbfl26 Posted March 4, 2007 Author Posted March 4, 2007 Sorry to bother, I found out the problem..... thanks...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.