Customizing UPS Shipping Calcuations |
Post Reply | Page 12> |
Author | |
dwatch
Newbie Joined: 26-February-2006 Status: Offline Points: 33 |
Post Options
Thanks(0)
Posted: 05-February-2016 at 4:59pm |
found it, the file was shiprates.asp which calculate number of packages for all providers. so I pulled the variable after the include of that file and I am golden. if anyone has questions on this let me know. I recommend that productcart allows for added integrated fees to be calculated per package instead of per shipment, because UPS does charge per package $4.25 for signature required/delivery confirmation, not per shipment. |
|
dwatch
Newbie Joined: 26-February-2006 Status: Offline Points: 33 |
Post Options
Thanks(0)
|
Having a problem with front end. Looks like it doesn't pick up the correct package count until it is all the way on the payment screen. It sets a package count as 1 until that final step, and then writes the correct count to the orders table. I need to find the code where the package count is calculated on the checkout side so that I can bring it over sooner (before the rates are calculated).
|
|
dwatch
Newbie Joined: 26-February-2006 Status: Offline Points: 33 |
Post Options
Thanks(0)
|
Yes, so same as front end , but this time pull pcCustSession_OrdPackageNumber from pcCustomerSessions table. then multiply by handlinfee in the same area as the backend file, except in opc_chooseShpmnt.asp . It works! |
|
dwatch
Newbie Joined: 26-February-2006 Status: Offline Points: 33 |
Post Options
Thanks(0)
|
Got it, I believe it is in opc_chooseShpmnt.asp
|
|
dwatch
Newbie Joined: 26-February-2006 Status: Offline Points: 33 |
Post Options
Thanks(0)
|
I was able to change the back end (edit order view real time rates) already, but need file location on the front end (shipping cart side) I pulled ordPackagenum to checkRealtimeRates.asp and I changed the following code: Changed --- tempRate=(cDbl(tempRate)+cDbl(serviceHandlingFee)) to multipleboxhandlingfee=cDbl(servicehandlingfee)*cDbl(dwgordPackageNum) |
|
dwatch
Newbie Joined: 26-February-2006 Status: Offline Points: 33 |
Post Options
Thanks(0)
|
So what I'd like to try to do is find where the "serviceHandlingFee" is added to front and back end of orders, so that I can multiply the serviceHandlingFee set for the shipping service by the number of packages on the order, and add that number to the integrated rate. I.E. the built in handling fee per shipping option becomes a "per package" fee, instead of a per shipment fee, which better matches how UPS adds fees, as they add fees per package, not per shipment. so if you add delivery confirmation and signature required to a shipment, UPS charges per package, and currently productcart built-in shipping integration rate return does not account for this. |
|
dwatch
Newbie Joined: 26-February-2006 Status: Offline Points: 33 |
Post Options
Thanks(0)
|
Matt, can you tell me which file adds the handling fee set on UPS OnLine Tools Shipping Configuration Page to the actual shipping amount total for the order.
|
|
dwatch
Newbie Joined: 26-February-2006 Status: Offline Points: 33 |
Post Options
Thanks(0)
|
My plan is to add code that multiplies the number of packages x the additional fees value, to add the correct amount to UPS to account for fees per box, that UPS charges, instead of fee per shipment. Edited by dwatch - 03-February-2016 at 2:47pm |
|
dwatch
Newbie Joined: 26-February-2006 Status: Offline Points: 33 |
Post Options
Thanks(0)
|
thank you.
|
|
Matt
Moderator Group Joined: 20-July-2006 Location: United States Status: Offline Points: 73 |
Post Options
Thanks(0)
|
ProductCart returns the total rate that includes all of the fees. It should be identical to what you pay if you walk into a UPS Store. You are correct that our additional fee feature is per order. So if you wanted to add padding per package you'd need to customize the file "UPSShipRates.asp".
|
|
Post Reply | Page 12> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |