Guest Posted December 15, 2006 Share Posted December 15, 2006 Hi, I need some assistance... - I've got products that require no shipping - I set the weight at 0.00 - In shipping by weight I add 0.01:0.00 - The mod won't let me have the above without an error unless I either have a handling fee or tax. In otherwords, it just won't allow a $0 shipping fee - it must have something, at least 1 cent, then it works. Any ideas how to allow it to be $0?? Thanks! Quote Link to comment Share on other sites More sharing options...
convict Posted December 16, 2006 Share Posted December 16, 2006 Hi, I need some assistance... - I've got products that require no shipping - I set the weight at 0.00 - In shipping by weight I add 0.01:0.00 - The mod won't let me have the above without an error unless I either have a handling fee or tax. In otherwords, it just won't allow a $0 shipping fee - it must have something, at least 1 cent, then it works. Any ideas how to allow it to be $0?? Thanks! modules/shipping/By_Weight/calc.php SEARCH FORif($sum == 0){ $sum = 0.00; } REPLACE WITH /* if($sum == 0){ $sum = 0.00; } */ // Free ship if weight = 0 by convict --> if($sumClass1 == 0 && $sumClass2 == 0 && isset($shipZone)){ $shippingPrice .= "<option value='".$shipKey."'"; if($shipKey ==$basket['shipKey']){ $shippingPrice .= " selected='selected'"; $basket = $cart->setVar("Free","shipMethod"); $basket = $cart->setVar(sprintf("%.2f","0.00"),"shipCost"); } $shippingPrice .= ">".priceFormat("0.00")." Free</option>\r\n"; $shippingAvailable = TRUE; $shipKey++; } // <-- Free ship if weight = 0 by convict Have fun! ;) Quote Link to comment Share on other sites More sharing options...
Guest Posted December 16, 2006 Share Posted December 16, 2006 Works fantastic, thanks!! ~lisa Quote Link to comment Share on other sites More sharing options...
Guest k6kdk Posted January 5, 2007 Share Posted January 5, 2007 yes also Thank You ! I have been looking all over the palace for htis !! -Dan Quote Link to comment Share on other sites More sharing options...
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.