How to hide specific shipping method when Free Shipping available on the cart page

How to hide specific shipping method when Free Shipping available on the cart page

When you do not want to hide all, but a few specific shipping methods if free shipping is applicable to the cart, use this option. Once selected, it will enable an extra field on your screen, namely the ‘Select Shipping Method’. In this field, you can add as many shipping methods using the dropdown menu as you want.

For Example:-
There is an online store that delivers clothing products within 2 to 5 days of the order. Now, the same order has an option for urgent delivery, using which, you can get your order delivered within 24 hours of the order. However, there is an extra charge for this service.
Now, the store wants to let its customers utilize this service, even if the customer is eligible for free delivery or local pickup.
That’s where the business owner can pick this option and make the online shop work according to his/her requirement.
Using this ‘hide specific shipping method when free shipping available on the cart page’ option, you may easily hide specific shipping methods (other than ‘urgent delivery’, ‘free shipping’ and whichever other methods you would like to show on the cart page).
Once enabled, your cart will showcase the selective shipping methods, excluding the ones that you’ve chosen to hide.