Guest andysim Posted September 15, 2005 Share Posted September 15, 2005 Hello all! Now I struggle with shipping system setup. I would like to use UPS "Ground" and "2nd day Air". and I set it up, works actually. Now it charges $5.27 for UPS Ground, $10.13 for UPS 2nd day air. and it goes up little bit depends on item quantity. How could I set the price for them myself? For example; I would like to charge $5.95 for UPS Ground and add $1.00 more for each more item. Also need to make default to UPS Ground shipping. Anyone has brilliant idea? Thanks guys. andy Quote Link to comment Share on other sites More sharing options...
Guest tbladecki Posted September 15, 2005 Share Posted September 15, 2005 Cant you set up the flat rate shipping to do this?? Quote Link to comment Share on other sites More sharing options...
Guest andysim Posted September 15, 2005 Share Posted September 15, 2005 I had no idea UPS Module calculate fee automaticaly depends on Zip Code. So, it is Ok now. But still needs to modify rate table because some company needs to charge handling. Thanks for the answer tbladecki. Thanks for all. Quote Link to comment Share on other sites More sharing options...
Guest tbladecki Posted September 15, 2005 Share Posted September 15, 2005 I think that there was a disscussion regarding a Handling fee and the code for the same... do a search and see what turns up :cry: Quote Link to comment Share on other sites More sharing options...
Guest jeromas Posted September 16, 2005 Share Posted September 16, 2005 Here's your hack. Shortest one I've ever written: In the file /modules/shipping/UPS/calc.php Around line 73 (Code is shown below), change sum to be $quote + [some number], where [some number] is a decimal representing the amount of handling you want to charge below. In my example, I have added a $1.00 handling charge. If you wanted to get fancy, you could put the handling charge in a config file somewhere instead of hard-coding it, but this does work... if($quote>0){ // Change the line below this comment $sum = $quote + 1.00; $shippingPrice .= $rate->getOpt($sum,$productCode,$desc); } Shortest hack ever...counting the spaces, it is 8 characters long. Good luck. Quote Link to comment Share on other sites More sharing options...
Guest andysim Posted September 18, 2005 Share Posted September 18, 2005 Thanks Jeromas I tried your script and found works great. Thank you so much.. Andy Quote Link to comment Share on other sites More sharing options...
Guest Posted October 9, 2005 Share Posted October 9, 2005 This was perfect! Thank you for the UPS handling fee hack! 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.