Expedite Fee Per Shipping Method

A while back I posted about a solution to add an expedite fee. It works well, but is available on a per checkout basis rather than on a per shipping method basis.

In other words, there is no possibility to say;

– if you choose flat rate expedited, that’ll be an extra $5
– if you choose table rate expedited, that’ll be an extra $10

Instead, it was just one set fee for all methods.

For a recent client, I set about making a new system of expedited fees, on a per shipping method basis. I made it possible to add an extra fee to each shipping module.

Here is a screenshot of it in action;

And here is the extra input needed, screenshot from the admin shipping module editing page.

So you can easily see that for this shipping method, I charge $0 (free shipping) with an optional $9 upgrade for Fedex shipping. The two selection fields show right next to each other in the checkout_shipping.php page. Same for “flat rate”, I set $5 as the usual charge, with an option to pay $10 for expedited.

Doing it this way does involve a little more work, but is much more flexible than simply setting an overall expedited fee per checkout.

Leave a Reply

Your email address will not be published. Required fields are marked *