New Zenner
- Join Date:
- May 2009
- Posts:
- 2
- Plugin Contributions:
- 0
Subtracting UPS Ground cost from other UPS methods
Hi all,
Here's the scenario. Our online store offers free UPS Ground shipping, although the customer is able to pay for expedited UPS shipping if they want to. But since UPS Ground is free (via the free shipping module), I would like to deduct the cost of ground shipping from the expedited methods. Why give the customer free ground shipping but then make them pay full price for expedited UPS shipping? I want the expedited methods to be discounted at the rate of whatever ground shipping costs. For example, right now it might look like:
UPS (Next Day Air Early AM) $122.25
UPS (Next Day Air) $91.25
UPS (Next Day Air Saver) $81.85
UPS (2nd Day Air) $52.60
UPS (3 Day Select) $34.75
UPS (Ground) $14.82
However, I want it to show:
UPS (Next Day Air Early AM) $107.4
UPS (Next Day Air) $76.43
UPS (Next Day Air Saver) $67.03
UPS (2nd Day Air) $37.78
UPS (3 Day Select) $19.93
UPS (Ground) $0.00
This would also allow me to abandon the free shipping module... Not a huge deal, but it would be nice to consolidate everything down to one shipping chart/table. It would also help to avoid customers from accidentally paying for ground shipping instead of selecting the free option (it has happened before, oddly enough). Yes I know I can just remove the UPS Ground option to avoid that, but I also have customers in Alaska and Hawaii who don't get free shipping and must pay for UPS Ground.
I have been trying to figure out how to do this in the ups.php shipping module file, but I can't get it to come out properly, or even at all. I am guessing this is a pretty simple thing to fix, but my background is in Visual Basic so I'm not quite adept at figuring out PHP coding.
Thanks for any help! :cool: