This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Description
Describe the bug
Issue with reverting to classic cart feature.
To reproduce
Steps to reproduce the behavior:
Use cart block in page editor, switch block to classic cart block using the new CTA to do. This CTA appears in a notice if a plugin is not compatible with blocks. The cart page on front is working fine except that removing last item is not working. Ajax requests are correctly done but the table is not updating.
Removing HTML comments in page and adding back the shortcode [woocommerce_cart] solve this issue.
Expected behavior
The classic cart should work like shortcode.
Environment
WordPress (please complete the following information):
- WordPress version: 6.4.1
- Gutenberg version (if installed): [e.g. 12.0.0]
- WooCommerce version: 8.3.1
- WooCommerce Blocks version: [e.g. 7.0.0]
- Site language: english, french
- Any other plugins installed: none
Additional context
Test locally and on a stagging environment. No plugins installed, Storefront default theme.