The documentation for WooCommerce Blocks has moved to the WooCommerce monorepo.
Please refer to the documentation in the new location as the files in this repository will no longer be updated and the repository will be archived.
Zip file for testing: woocommerce-gutenberg-products-block.zip
Add to Cart: fix the problem that variable products couldn't be added to cart #10657
- Make sure you're using blockified Single Product template
- Go to frontend
- Go to product page for variable product (e.g. Hoodie when using sample products)
- Choose Color and With Logo
- Make sure Price appears when you chose the options
- Add the product to Cart
- Make sure product is added to cart correctly and there's no error