-
Notifications
You must be signed in to change notification settings - Fork 219
Switch Select
by Toggle
for the 'Add-to-Cart behaviour'
#8558
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThe
This comment was automatically generated by the TypeScript Errors Report
assets/js/blocks/mini-cart/edit.tsx
|
Size Change: +5 B (0%) Total Size: 1.11 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.
Nice work! 🚀
Create a new page and add the Mini cart block.
Open the settings and make sure the Add-to-Cart behaviour selector is using a toggle button, not a select dropdown.
✅ Confirmed the toggle button is in place.
Make sure both options can be saved, and keep working as expected (there are no regressions).
✅ Confirmed both options work as expected.
The goal of this PR is to change the
SelectControl
to theToggleGroupControl
since it only has two options.Fixes #7517
Screenshots
Testing
Automated Tests
User Facing Testing
Mini cart
block.Add-to-Cart behaviour
selector is using a toggle button, not a select dropdown.WooCommerce Visibility
Changelog