WooCommerce configuring complex shipping

http://clicknathan.com/web-design/add-fees-to-a-woocommerce-cart-based-on-shipping-class/