Checkout Block API Enquiry
-
Hi, I hope you’re well!
I’m extending a WooCommerce store to support multiple shipping packages with different delivery addresses (using custom code rather than a third-party plugin).
The issue is that the WooCommerce Checkout Block always displays a global Shipping Address form, even when shipping addresses are managed separately for each package.
I’ve checked the documentation for WooCommerce 11.2.1 but couldn’t find a public API to conditionally hide or replace
woocommerce/checkout-shipping-address-blockwhile preserving the Billing Address form and native checkout functionality.Is there a supported way to achieve this, or is this currently a limitation of the Checkout Block API?
I’d prefer to avoid CSS hiding, DOM manipulation, or overriding native WooCommerce components.
I’ve already achieved the desired functionality with Classic Checkout, but I’d prefer to use the Checkout Block, hence my enquiry. 🙂
Thank you so much for any advice!
You must be logged in to reply to this topic.