How to add cart specific hide shipping rules
It is possible to hide one, all or a few shipping methods as per the conditions specific to cart subtotal before discount, cart subtotal after discount, coupon, weight (in kilograms), shipping class and/or cart quantity.
You may want to hide ‘free shipping facility’ for small purchases and enable it for bulk purchases. So, let’s say that if the cart contains 12 or more products, you want to provide a free shipping facility.
In this case, hide ‘free shipping’ shipping method for cart quantity less than 12.