This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Add missing woocommerce
classname to Classic Cart/Checkout Blocks container
#11919
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mikejolley
added
status: needs review
type: bug
The issue/PR concerns a confirmed bug.
block: cart
Issues related to the cart block.
labels
Nov 23, 2023
woocommercebot
requested review from
a team and
nielslange
and removed request for
a team
November 23, 2023 11:54
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: 0 B Total Size: 1.61 MB ℹ️ View Unchanged
|
wavvves
approved these changes
Nov 23, 2023
github-actions
bot
added
status: ready to merge
and removed
status: needs review
labels
Nov 23, 2023
wavvves
pushed a commit
that referenced
this pull request
Nov 23, 2023
wavvves
added a commit
that referenced
this pull request
Nov 23, 2023
* Empty commit for release pull request * Add missing woocommerce class (#11919) * Fix an issue that caused the Order by select in Reviews blocks to always be disabled (#11918) * Fix Reviews blocks not being rendered (#11913) * Updated readme.txt and testing instructions * Updated versions * Updated testing zip. --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Mike Jolley <[email protected]> Co-authored-by: Paulo Arromba <[email protected]> Co-authored-by: Albert Juhé Lluveras <[email protected]>
This was referenced Nov 24, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Due to a missing
woocommerce
class, its not possible to remove the last item from the cart when using classic cart blocks. The item is removed, but the UI is not updated.Fixes #11889
Why
The JS inside woo core looks for the closest
woocommerce
div when handling replacement via AJAX:https://github.com/woocommerce/woocommerce/blob/2fc7057e16ca8f0460b8a6e1468149a75fe6d098/plugins/woocommerce/client/legacy/js/frontend/cart.js#L113
Since this class was missing, the markup is not updated.
Testing Instructions
WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog