Fix linting

This commit is contained in:
Tarun Vijwani 2022-08-16 17:05:23 +05:30
parent 8c2a277234
commit cb7bc46223
1 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
### Enable the Cart and Checkout blocks when WooCommerce Blocks is bundled in WooCommerce Core. ([6805](https://github.com/woocommerce/woocommerce-blocks/pull/6805))
##### Cart Block:
**Cart Block**:
1. In the Cart Block in the editor, ensure the shipping calculator is enabled.
2. Enable coupons on your site (WooCommerce -> Settings -> General -> Enable the use of coupon codes) and add one.
@ -20,7 +20,7 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
10. If you have express payments enabled and working, try checking out from the Cart Block using GPay or Apple pay.
11. If you don't, hit proceed to checkout and ensure it works correctly.
#### Checkout Block:
**Checkout Block**:
1. Go to WooCommerce -> Settings -> Accounts & Privacy and enable ` Allow customers to create an account during checkout` and `Allow customers to log into an existing account during checkout`.
2. Go to Checkout Block editor, select contact information block and enable `Allow shoppers to sign up for a user account during checkout`.
@ -37,13 +37,14 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
13. Ensure you received emails relating to your order (if using Local WP you can go to your site -> tools -> mailhog to check this).
### Refactor Product Categories block to use block.json. ([6875](https://github.com/woocommerce/woocommerce-blocks/pull/6875))
##### WooCommerce Blocks
**WooCommerce Blocks**:
1. Add Product Categories List block as a widget (Appearance → Widgets)
2. Open block settings
3. Test block controls, save, and review if it still renders correctly in the frontend
##### WPCOM
**WPCOM**:
1. Add Product Categories List block as a widget (Appearance → Widgets)
2. Open block settings