Hello and welcome to the November edition of WooCommerce Blocks Extensibility Snaps! This post is 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
More WooCommerce Components are available to developers!
We shared our plans to make some components available to developers through a new package @woocommerce/blocks-components
. Since the last post we’ve been continuing with that work and now all components we planned to move have been (besides Combobox
and FormTokenField
).
Unfortunately, one component didn’t make it in time for 11.6.0: CheckboxControl
. This will be included in the components package in 11.7.0
The full list of components available in WooCommerce Blocks 11.6.0 is:
Button
CheckboxList
Chip
FormStep
FormattedMonetaryAmount
Label
Panel
RadioControl
RadioControlAccordion
RadioControlOption
RadioControlOptionLayout
RemovableChip
SortSelect
Spinner
StoreNotice
StoreNoticesContainer
Subtotal
TextInput
Textarea
Title
TotalsFees
TotalsItem
TotalsTaxes
TotalsWrapper
ValidatedTextInput
ValidationInputError
To use these, we recommend using the @woocommerce/dependency-extraction-webpack-plugin.
Storybook
Last time we were working hard on making examples of our components available on our storybook. We’ve still got a little housekeeping to do to move these components to the right part of our storybook, but there is an example for each exported component on there! Please check these examples out if you need help using the components.
Adding custom checkout fields to the WooCommerce Checkout Block
Last time we shared a discussion about empowering developers to add custom fields to the WooCommerce Checkout block.
We’re still working hard on defining the criteria for this – we have had a fantastic amount of engagement from our community on the linked discussion. This engagement is helping to steer us in the direction that benefits our merchants and developers most! Thank you to everyone who has chimed in on this and we welcome any further discussion.
We have a preliminary set of GitHub issues ready to be worked on once we’ve nailed down exactly what we want to deliver, so we will be tackling them as soon as we can.
Per-item inputs/data on the Cart block
We decided to focus our efforts on the “Adding custom checkout fields to the WooCommerce Checkout Block” project, so no progress has been made on this, and it’s unlikely any will be made before the next update. For now this effort has been paused.
Discussions
We have an open discussion that we’d like to get community feedback on: Deprecating and graduating experimental features.
We welcome you to leave any comments on the discussion. Your opinions are really valuable and will help shape the future of WooCommerce.
Next steps
Next month we plan to work solely on the custom checkout fields feature, as always we will post any updates or relevant information on the discussion for that effort.
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