Shockproof Posted June 16, 2005 Posted June 16, 2005 Hi I recently installed 'Shipping rate per product' mod. Everything seems ok until I hit the 'Delivery info page when I get the warning below: Warning: Division by zero in D:\XXXX\XXXX\XXXX.com\XXXX\includes\classes\shipping.php on line 61 Warning: Division by zero in D:\XXXX\XXXX\XXXX.com\XXXX\includes\classes\shipping.php on line 62 These are the lines (60, 61, 62) from shipping.php where the problem is if ($shipping_weight > SHIPPING_MAX_WEIGHT) { // Split into many boxes $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT); $shipping_weight = $shipping_weight/$shipping_num_boxes; } any ideas or anyone had the same problem. :'( :'( Cheers Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.