-
Notifications
You must be signed in to change notification settings - Fork 220
Fix styling of Classic Cart and Checkout Blocks on regular pages #11694
Conversation
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: +23 B (0%) Total Size: 1.54 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on this, @mikejolley! I wasn't able to reproduce the issue on the trunk. Is it happening on a specific theme?
I have requested a change based on my observation. Please correct me if I'm missing anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this, @mikejolley. I've successfully tested this PR and ran one failing E2E test, which now passed. Let's ⛴️ this fix. 🙌
What
When the classic shortcode block (classic cart or classic checkout variation) is used on a page that is not set as the main cart and checkout page, the styling is broken. This PR fixes this.
Why
The blocks can be inserted on any page, or the assigned page may change.
Testing Instructions
Please consider any edge cases this change may have, and also other areas of the product this may impact.
Screenshots or screencast
WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog