@woocommerce/extend-cart-checkout-block is a template to be used with @wordpress/create-block to create an example plugin you can play around with to extend the cart and checkout blocks using WooCommerce.
The only problem is, there are some bugs in this download you need to fix otherwise the code included in the src files will not work.
The easiest way to fix these is to replace the src folder once you have run the initial command with the fixes included inside, which are extremely minor.
Here’s the fixed src folder that fixes the errors you’ll experience after running :
npx @wordpress/create-block -t @woocommerce/extend-cart-checkout-block your_extension_name
= Related Solutions =






Leave a Reply