Skip to content
Advertisement

Tag: shipping

WooCommerce shipping fileds required state

I’m using the function below to show / hide the shipping address section of the checkout based on if a customer chooses local pickup or not. It works fine, however some of the fields in the shipping section are required and so the checkout won’t work if local shipping is selected. Is there a way to make these fields not

Always display shipping address in WooCommerce email notifications

WooCommerce used to show shipping address no matter which shipping method was selected during checkout, if you had to hide the shipping address from emails you had to do a custom job like in “https://stackoverflow.com/questions/38936283/hide-shipping-address-on-local-pickup-in-woocommerce-email-notifications/38937106#38937106” answer thread. After new updates, WooCommerce hides the shipping address from the order emails if local pickup is selected during checkout. I want to show

Advertisement