This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Reverting to classic cart block prevent removing last item in cart table #11889
Labels
block: cart
Issues related to the cart block.
type: bug
The issue/PR concerns a confirmed bug.
type: community contribution
Milestone
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):
Additional context
Test locally and on a stagging environment. No plugins installed, Storefront default theme.
The text was updated successfully, but these errors were encountered: