Here in Colorado, our department of revenue is implementing a new "Retail Delivery Fee." It is a flat $0.27 per order on orders delivered by motor vehicle within Colorado. While most news reports focus on food delivery services like Grubhub, Doordash, etc., it also applies to anything shipped by FedEx, USPS, or UPS.
I can think of two ways to implement it in Woocommerce, but not sure how to actually do it:
- Add a new Flat Fee shipping charge to in-state deliveries.
- Add an additional Tax line.
Since it is actually a tax (though it’s called a "fee") I’m leaning toward 2), but I don’t know how to charge a tax only on orders that are shipped in-state.
If I opted for 1), I don’t know how to "stack" shipping fees on an order.
Some requirements:
- charged on all orders that are shipped within Colorado (if a customer does a local pickup, I don’t need to charge this).
- line item must be labeled as "Retail Delivery Fee" on invoices and sales orders.
Any suggestions?
Thanks!
2
Answers
I found this code at Xadapter.com. It adds the $.27 fee when the delivery address is in CO without involving the shipping method.