Detect shipping class if being used
I’ve reached a sticking point with getting a woo commerce setup modified for my needs and wanted to check if something was possible.
I have a shipping class setup to include a handling fee for certain products. What I’d like to do wherever the cart is displayed is modify how the totals are shown. So that the shipping is broken down rather than displayed as a total. For example:
Handling Fee: £50.00
Is it possible to do such a thing, or is there a property that I can use as part of an if statement to display some extra markup only when a shipping class with name=”x” has been called?
Any help/insight would be most appreciated.
- The topic ‘Detect shipping class if being used’ is closed to new replies.