go to link Suppose you had a WooCommerce product or category of products where you only want to allow local pickup, or maybe you want to defer payment on the order by only allowing the customer to pay via Purchase Order.
go to site With WooCommerce Shipping Method Filter, you can dynamically disable specific shipping methods if products with specific categories or shipping class.
It’s Easy! Just go navigate to WooCommerce>Shipping Method Filter, choose whether you want to select the shipping methods to to Exclude or Include, and then check / uncheck the boxes for each shipping method/category or shipping method/shipping class. You can click “check all” to check or uncheck all boxes for each shipping method so you don’t have to do them all individually.
This plugin supports automatic updates.