Support » Plugins and Hacks » WooCommerce » Detect shipping class if being used

Detect shipping class if being used

  • Hi all,

    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:

    Shipping: £10.00
    Handling Fee: £50.00

    Rather than

    Shipping: £60.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.

    Many thanks,



  • The topic ‘Detect shipping class if being used’ is closed to new replies.
Skip to toolbar