• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

MatThorn
#1 Posted : Thursday, October 16, 2014 1:56:06 PM(UTC)
MatThorn

Rank: Member

Joined: 10/16/2014(UTC)
Posts: 1
United States
Location: Pennsylvania

Currently Fed Ex shipping costs are calculated as normal but we would like to have those costs rounded up to the next whole dollar amount. Is this doable with extra coding? And what would be the best way to go about it? Thanks in advance for any suggestions!
Aaron
#2 Posted : Friday, October 17, 2014 8:30:45 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Originally Posted by: MatThorn Go to Quoted Post
Currently Fed Ex shipping costs are calculated as normal but we would like to have those costs rounded up to the next whole dollar amount. Is this doable with extra coding? And what would be the best way to go about it?

I would start by looking at the Shipping control (/BVModules/Controls/Shipping.ascx). This is what displays the shipping rates on the cart and checkout pages (note that the New Order and Edit Order pages in the admin don't use this control so you would need to adjust the code on those pages accordingly). Look at the LoadShippingMethodsForOrder method; this is where the shipping rates are loaded. You will need to loop through the Rates object (it's a collection of ShippingRate objects) and round up the Rate property of each ShippingRate object in the collection.

Edited by user Friday, October 17, 2014 8:31:26 AM(UTC)  | Reason: Not specified

Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
Forum Jump  
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012