@aljullu That is it. You can test the swatches on trunk right now by enabling WC Beta Tester > wc-visual-attribute. Happy to hear any thought/feedback on it and the new protocol.
@aljullu We can also have swatches inside Product Collection loop for preview variation images. Same concept applies, as long as the parent provide selectable items of variations, the same chips can be used
@aljullu Imagine Add to Cart + Options provides selectable items, we can use Chips with color swatches inside it, the same block inside Color filter. @aljullu is already making it happen
@aljullu The idea is simple: having a shared contract between parent and inner blocks. Blocks are now not coupled to other blocks, but to the protocol.
Attribute don't pass filter data to List and Chips anymore, they pass selectable items. Price now doesnt pass price but range input data
@aljullu Filter blocks already have two layers: logic and presentation (parent and inner blocks). Filter blocks shared some inner blocks, but they coupled to filter blocks and can't be used inside others. The new protocol fills that gap.
@aljullu We want to build a complete solution in which the same color swatches is shared by filters, add to cart, and product collection. To make it happen, we create a new data contract between parent and inner block, we're calling it Inner Block Protocol.
(The name isn't final)
For WooCommerce merchants & devs:
What’s a problem you’ve just “accepted” at this point?
Something annoying, inefficient, or clunky you wish worked better.
WordPress.com, one of Automattic’s flagship brands, turns 20 today. 🎉
For two decades, the teams at @wordpressdotcom have helped millions publish, build businesses, and create their corner of the open web. We’re incredibly proud of everyone who’s shaped it and grateful to the creators, entrepreneurs, and organizations who rely on it every day.
It’s our 20th birthday! 🎂💙
For two decades, you’ve been building the web on WordPress.com. We’ve had the privilege of hosting your sites, your online shops, your stories, and your voices.
Say hello to @meshhq, now part of Automattic!
Clay helps you stay on top of your relationships by gathering your contacts, messages, meetings, and more. No spreadsheets, no manual updates, just one organized place for your network.
After pausing our contributions to regroup, rethink, and plan strategically, we’re ready to press play again and return fully to the WordPress project. Expect to find our contributions across all of the greatest hits—WordPress Core, Gutenberg, Playground, Openverse, and WordPress.org. 🧵
In 2025, @Automattic, a founding member of The PHP Foundation, is increasing its contribution to $250,000—a 2.5x increase!
We are very grateful for their ongoing support and firm commitment to the PHP community.
Thank you, @Automattic and @WordPress!