Show “Local Pickup” shipping method only for specific Woocommerce product categories
I have some products categories on my website where customers can collect from my store, so I need to add local pickup as a shipping method. I have added local pickup but it shows a checkbox at the checkout page for customers to select normal shipping or local pickup. What i need is, when a customer adds a products to the cart that is on the “x” category, show them normal shipping cost and local pickup so they can select whichever is convenient for them, and other products only with normal shipping cost. I don’t want to show local pickup for other categories.
Leave an answer