Hello and welcome to the first edition of WooCommerce Blocks Extensibility Snaps! We plan to post a monthly update to highlight things we’ve been working on and keep you up to date with our plans for the coming month.
Highlights
Making WooCommerce Components available to developers
We recently shared our plans to make some components available to developers through a new package @woocommerce/blocks-components
– we’ve been working through this list and some of these components made it into the 11.4.0 release of WooCommerce Blocks!
FormStep
Spinner
RadioControl
FormattedMonetaryAmount
Chip
(andRemovableChip
)CheckboxList
To use these, we recommend using the @woocommerce/dependency-extraction-webpack-plugin (Version 2.3.0 will include support for `@woocommerce/blocks-components which should be released soon).
We expect the remaining components in the list (besides Combobox
and FormTokenField
) to be included in WooCommerce Blocks 11.5.0
Be sure to follow the discussion on GitHub to keep up to date with this effort.
Storybook
As part of this effort, we want to document these components in the WooCommerce Blocks Storybook – we spent some time working on bug fixes for our storybook setup and we’re now in a good spot to start creating examples to make it easier to use these components.
Adding custom checkout fields to the WooCommerce Checkout Block
We recently shared a discussion about empowering developers to add custom fields to the WooCommerce Checkout block. @senadir has been working on a technical proposal for this work and as always we welcome any and all feedback on it.
We plan to start working on this in the next weeks and we will post updates on the discussion when we have something to share.
Next steps
Next month we plan to work on the custom checkout fields feature, continue adding component examples to the WooCommerce Blocks Storybook and begin taking a look at Per-item inputs/data on the Cart block.
Feedback
If you have any feedback to share on the WooCommerce Blocks extensibility work we’re doing, we’d love to hear it! Please feel free to open a discussion on our GitHub discussions board or leave a message for us in the WooCommerce Community Slack
Leave a Reply