Rank: Member
Joined: 10/16/2014(UTC) Posts: 1 ![United States 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!
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,396 ![United States United States]() Location: Hummelstown, PA Thanks: 6 times Was thanked: 164 time(s) in 159 post(s)
|
Originally Posted by: MatThorn  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.