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
Fix a bug in which resource hinting was breaking cart in subfolder installs. (7211)
- Make sure Gutenberg is disabled.
- Add an item to cart.
- Go to any frontend page, and view the page source.
- In that source page, search for scripts starting with
/wp-includes
, you shouldn't see any relative links in them, e.g. /wp-includes/js/dist/vendor/lodash.min.js, but that everything starts with a full link, e.g. https://example.com/wp-includes/js/dist/vendor/lodash.min.js.