Shipping restrictions with WooCommerce variable products
This is something complicated… What you could do instead is to check cart items for allowed shipping countries, displaying an error notice and avoiding checkout when the customer country doesn’t match with the allowed country for all other product variations. Below define the allowed shippable Variation ID (international) and the allowed base country code for … Read more