×
Black Friday Savings
00Days
:
21Hours
:
50Minutes
:
59Seconds
Use Coupon 40%OFF

Includes 1 Year Priority Support

Choose Now

WP SITES

3092 Coded Tutorials & 296 Plugins

Fix @woocommerce/extend-cart-checkout-block Build Errors

@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 =

Was this helpful?

Yes
No
Thanks for your feedback!

Leave a Reply