Require Shipping Address for Virtual Products
-
Hi, we have some virtual products that require a shipping address (in addition to a billing address). If I’m using the classic cart, the below will enable the shipping fields for all products.
add_filter( 'woocommerce_cart_needs_shipping_address', '__return_true', 50 );
But that doesn’t seem to affect the block-based Woo checkout, which we’d really like to use. Is there a way to always include the shipping fields for the newer block-based checkout?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.