This repository contains a proof of concept for upgrading the FFL extension to contain a block to be used with the WooCommerce Blocks-Based checkout.
- Clone this repository into the directory wordpress/wp-content/plugins/
- Run
npm install
to install the dependencies from package.json - Run
npm run build
- Go to the WordPress admin > Plugins > All and enable "FFL Custom Checkout Block"
- Add the block to the checkout by editing the Cart page. See more details here
To distribute this extension to other users, you need to zip the build directory. Users can install this plugin normally in WordPress by going to Plugins > Add Plugin and uploading the zip file.
After activating the plugin, a new block will be added to the blocks panel inside the Cart page.
