woocommerce/packages/js/extend-cart-checkout-block
Thomas Roberts c539e5614f
Update `@woocommerce/extend-checkout-block` to include an example of a forced inner block (#33833)
* Update main integration file to register newsletter block scripts/styles

* Add files for example newsletter block

* Use only one internal dependencies comment

* Include newsletter block in index

* Move entry to correct position in webpack

* Rename functions to register scripts and styles

* Add changelog

* Remove block registration code

* Register slug as a block category to prevent warnings in console

* Add comment explaining the purpose of the function

* Bring templates up to date with latest changes to WC Blocks

The way the validation store selectors work was updated, so this template will use the new selectors.

* Ensure error message shows when box is not checked

* Ensure checkbox is targeted with CSS in editor
2022-10-27 01:28:44 -07:00
..
changelog Update `@woocommerce/extend-checkout-block` to include an example of a forced inner block (#33833) 2022-10-27 01:28:44 -07:00
src Update `@woocommerce/extend-checkout-block` to include an example of a forced inner block (#33833) 2022-10-27 01:28:44 -07:00
$slug-blocks-integration.php.mustache Update `@woocommerce/extend-checkout-block` to include an example of a forced inner block (#33833) 2022-10-27 01:28:44 -07:00
$slug.php.mustache Update `@woocommerce/extend-checkout-block` to include an example of a forced inner block (#33833) 2022-10-27 01:28:44 -07:00
.eslintignore.mustache Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
.eslintrc.js.mustache Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
.gitignore Extend cart checkout block package: Prep for publish (#33355) 2022-06-10 15:25:17 +12:00
.gitignore.mustache Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
CHANGELOG.md Update JS packages changelogs (#33412) 2022-06-16 10:06:31 +12:00
README.md Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
README.md.mustache Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
composer.json Changelogger: Fix PHPCS violations (#33664) 2022-07-07 08:54:48 +12:00
composer.lock Add PR numbers to changelog entries on code freeze process (#33627) 2022-06-28 11:15:39 -07:00
index.js Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
package.json Update pnpm once again to fix issues with auto-install-peers (#35007) 2022-10-10 16:59:51 +13:00
project.json Add `@woocommerce/extend-cart-checkout-block` package (#32323) 2022-05-25 23:44:31 +12:00
webpack.config.js.mustache Update `@woocommerce/extend-checkout-block` to include an example of a forced inner block (#33833) 2022-10-27 01:28:44 -07:00

README.md

@woocommerce/extend-cart-checkout-block

This is a template to be used with @wordpress/create-block to create a WooCommerce Blocks extension starting point.

Installation

From your plugins directory run:

npx @wordpress/create-block -t @woocommerce/extend-cart-checkout-block your_extension_name

When this has completed, go to your WordPress plugins page and activate the plugin.

Add some items to your cart and visit the Checkout block, notice there is additional data on the block that this template has added.