Include issue submission link in the footer of all documention (.md files) (https://github.com/woocommerce/woocommerce-blocks/pull/5655)
* Add links to single routes in main index woocommerce/woocommerce-blocks#4473 * Footer * Feedback template * Remove footer from existing MD files * Add doc footer script * Apply script to all docs * Fix examples
This commit is contained in:
parent
eb54c4bec0
commit
81bb982c5e
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
name: '📖 Feedback – Documentation'
|
||||||
|
about: Submit feedback or report an issue about some documentation.
|
||||||
|
labels: 'type: documentation'
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Thank you for taking the time to leave your feedback about the documentation. Please explain your issue or suggestion below.
|
||||||
|
-->
|
|
@ -0,0 +1,30 @@
|
||||||
|
#!/bin/bash
|
||||||
|
function update_footer {
|
||||||
|
export REPLACEWITH='
|
||||||
|
---
|
||||||
|
|
||||||
|
[We'\''re hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20'$1')
|
||||||
|
'
|
||||||
|
|
||||||
|
# Replace everything after <!-- FEEDBACK -->
|
||||||
|
if grep -q "$STARTTAG" "$1"; then
|
||||||
|
awk '/<!-- FEEDBACK -->/ {exit} {print}' $1 > tmp && mv tmp $1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Append feedback section.
|
||||||
|
printf '%s\n' "<!-- FEEDBACK -->$REPLACEWITH<!-- /FEEDBACK -->" '' >> $1
|
||||||
|
}
|
||||||
|
|
||||||
|
find ./docs -not -path "./docs/examples" -name "*.md"|while read filename; do
|
||||||
|
update_footer $filename
|
||||||
|
done
|
||||||
|
|
||||||
|
find ./packages/checkout -name "*.md"|while read filename; do
|
||||||
|
update_footer $filename
|
||||||
|
done
|
||||||
|
|
||||||
|
find ./src/StoreApi -name "*.md"|while read filename; do
|
||||||
|
update_footer $filename
|
||||||
|
done
|
|
@ -11,3 +11,12 @@ For more details about extensibility points in the blocks, you can reference the
|
||||||
| [Checkout API interface](./checkout/checkout-api.md) | This doc goes into some detail about some of the API specifics for the checkout block architecture. |
|
| [Checkout API interface](./checkout/checkout-api.md) | This doc goes into some detail about some of the API specifics for the checkout block architecture. |
|
||||||
| [Checkout Flow and Events](../extensibility/checkout-flow-and-events.md) | All about the checkout flow in the checkout block and the various emitted events that can be subscribed to. |
|
| [Checkout Flow and Events](../extensibility/checkout-flow-and-events.md) | All about the checkout flow in the checkout block and the various emitted events that can be subscribed to. |
|
||||||
| [Notices](./notices.md) | Explains how the notices system works and which methods are available to add an remove them. |
|
| [Notices](./notices.md) | Explains how the notices system works and which methods are available to add an remove them. |
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/block-client-apis/README.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -122,3 +122,12 @@ This hook is used to expose all the interfaces for the registered payment method
|
||||||
_Why don't payment methods just implement this hook_?
|
_Why don't payment methods just implement this hook_?
|
||||||
|
|
||||||
The contract is established through props fed to the payment method components via props. This allows us to avoid having to expose the hook publicly and experiment with how the props are retrieved and exposed in the future.
|
The contract is established through props fed to the payment method components via props. This allows us to avoid having to expose the hook publicly and experiment with how the props are retrieved and exposed in the future.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/block-client-apis/checkout/checkout-api.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -251,3 +251,12 @@ const CheckoutProcessor = () => {
|
||||||
</StoreNoticesProvider>
|
</StoreNoticesProvider>
|
||||||
</StoreSnackbarNoticesProvider>
|
</StoreSnackbarNoticesProvider>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/block-client-apis/notices.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -6,3 +6,12 @@ This folder contains documentation for specific Blocks and Blocks functionality.
|
||||||
| --------------------------------------------------------- | ------------------------------------------------------ |
|
| --------------------------------------------------------- | ------------------------------------------------------ |
|
||||||
| [Stock Reservation during Checkout](stock-reservation.md) | This doc covers the Checkout Stock Reservation system. |
|
| [Stock Reservation during Checkout](stock-reservation.md) | This doc covers the Checkout Stock Reservation system. |
|
||||||
| [Features Flags and Experimental interfaces](./feature-flags-and-experimental-interfaces.md) | This doc outlines all the current features that are gated behind a feature or experimental flag as well as any interfaces that are experimental |
|
| [Features Flags and Experimental interfaces](./feature-flags-and-experimental-interfaces.md) | This doc outlines all the current features that are gated behind a feature or experimental flag as well as any interfaces that are experimental |
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/blocks/README.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -131,3 +131,12 @@ Current list of events:
|
||||||
- `experimental__woocommerce_blocks-checkout-set-shipping-address` - Fired when a shipping address is added during checkout.
|
- `experimental__woocommerce_blocks-checkout-set-shipping-address` - Fired when a shipping address is added during checkout.
|
||||||
- `experimental__woocommerce_blocks-checkout-set-billing-address` - Fired when a billing address is added during checkout.
|
- `experimental__woocommerce_blocks-checkout-set-billing-address` - Fired when a billing address is added during checkout.
|
||||||
- `experimental__woocommerce_blocks-checkout-set-phone-number` - Fired when a phone number is added during checkout.
|
- `experimental__woocommerce_blocks-checkout-set-phone-number` - Fired when a phone number is added during checkout.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/blocks/feature-flags-and-experimental-interfaces.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -93,3 +93,12 @@ The point of which stock is reserved differs between the new Block based checkou
|
||||||
![Checkout Processes](checkout.jpg)
|
![Checkout Processes](checkout.jpg)
|
||||||
|
|
||||||
You can see that in both Checkouts, if stock cannot be reserved for all items in the order, either the order is rejected, or the user cannot proceed with checkout.
|
You can see that in both Checkouts, if stock cannot be reserved for all items in the order, either the order is rejected, or the user cannot proceed with checkout.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/blocks/stock-reservation.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -11,3 +11,12 @@ This folder contains documentation for developers and contributors looking to ge
|
||||||
| [Block Script Assets](block-assets.md) | This doc explains how Block Script Assets are loaded and used. |
|
| [Block Script Assets](block-assets.md) | This doc explains how Block Script Assets are loaded and used. |
|
||||||
| [JS build system](js-build-system.md) | This doc explains how JavaScript files are built. |
|
| [JS build system](js-build-system.md) | This doc explains how JavaScript files are built. |
|
||||||
| [CSS build system](css-build-system.md) | This doc explains how CSS is built. |
|
| [CSS build system](css-build-system.md) | This doc explains how CSS is built. |
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/README.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -77,3 +77,12 @@ On the client side the value will be available via:
|
||||||
```js
|
```js
|
||||||
wc.wcSettings.getSetting( 'key' );
|
wc.wcSettings.getSetting( 'key' );
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/block-assets.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -160,3 +160,12 @@ As you can see, the styles coming from the themes have higher specificity, so ou
|
||||||
5. If these steps weren't enough, consider not increasing specificity at all. If it's just a minor visual issue, consider ignoring it and assume the theme will update its conflicting styles at some point. If it's completely breaking the block or component in that theme, consider sending feedback to theme authors so they can fix it on their side.
|
5. If these steps weren't enough, consider not increasing specificity at all. If it's just a minor visual issue, consider ignoring it and assume the theme will update its conflicting styles at some point. If it's completely breaking the block or component in that theme, consider sending feedback to theme authors so they can fix it on their side.
|
||||||
|
|
||||||
Notice in the worst case scenario we would have increased selector specificity by 2 classes (0, 2, 0). That shouldn't make it too difficult for other themes to write styles on top of ours.
|
Notice in the worst case scenario we would have increased selector specificity by 2 classes (0, 2, 0). That shouldn't make it too difficult for other themes to write styles on top of ours.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/coding-guidelines.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -40,3 +40,12 @@ For more info about individual components, refer to [Storybook](https://woocomme
|
||||||
- Add stories in `.js` files in this folder.
|
- Add stories in `.js` files in this folder.
|
||||||
|
|
||||||
If you're stuck, copy source of an existing story to get started.
|
If you're stuck, copy source of an existing story to get started.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/components.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -29,3 +29,12 @@ Webpack config is split between several files, some relevant ones for the CSS bu
|
||||||
- [`webpack.config.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/webpack.config.js): Top level webpack config. Includes support for legacy and main build.
|
- [`webpack.config.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/webpack.config.js): Top level webpack config. Includes support for legacy and main build.
|
||||||
- [`bin/webpack-configs.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/bin/webpack-configs.js): Code for generating each build config. This most closely resembles a classic webpack config - if you're looking for something, start here.
|
- [`bin/webpack-configs.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/bin/webpack-configs.js): Code for generating each build config. This most closely resembles a classic webpack config - if you're looking for something, start here.
|
||||||
- [`bin/webpack-entries.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/bin/webpack-entries.js): Code for generating [webpack `entry` definitions](https://webpack.js.org/concepts/entry-points/) and mapping source files to entry points. If you're adding a new block or module to the build, start here.
|
- [`bin/webpack-entries.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/bin/webpack-entries.js): Code for generating [webpack `entry` definitions](https://webpack.js.org/concepts/entry-points/) and mapping source files to entry points. If you're adding a new block or module to the build, start here.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/css-build-system.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -149,3 +149,12 @@ When explaining functionality, the following structure should be used:
|
||||||
## Link references
|
## Link references
|
||||||
|
|
||||||
When referencing other documentations, the corresponding document should be linked.
|
When referencing other documentations, the corresponding document should be linked.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/documentation-guidelines.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -188,3 +188,12 @@ The following snippet explains how the WooCommerce Blocks repository is structur
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
This file is inspired by the great work of @JustinyAhin and @gziolo in https://github.com/WordPress/gutenberg/blob/trunk/docs/contributors/folder-structure.md.
|
This file is inspired by the great work of @JustinyAhin and @gziolo in https://github.com/WordPress/gutenberg/blob/trunk/docs/contributors/folder-structure.md.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/folder-structure.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -124,3 +124,12 @@ To use Prettier, you should install the [Prettier - Code formatter](https://mark
|
||||||
```
|
```
|
||||||
|
|
||||||
This will use the `.prettierrc.js` file in the root folder of the Blocks plugin repository and the version of Prettier that is installed in the root `node_modules` folder.
|
This will use the `.prettierrc.js` file in the root folder of the Blocks plugin repository and the version of Prettier that is installed in the root `node_modules` folder.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/getting-started.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -128,3 +128,12 @@ Would become
|
||||||
You also need to check any existing tests that checks the WP version.
|
You also need to check any existing tests that checks the WP version.
|
||||||
|
|
||||||
In `./tests/e2e/specs`, verify for conditions like `if ( process.env.WP_VERSION < 5.4 )` and remove them if they're not relevant anymore.
|
In `./tests/e2e/specs`, verify for conditions like `if ( process.env.WP_VERSION < 5.4 )` and remove them if they're not relevant anymore.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/javascript-testing.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -55,3 +55,12 @@ Webpack config is split between several files:
|
||||||
- [`bin/webpack-configs.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/bin/webpack-configs.js): Code for generating each build config. This most closely resembles a classic webpack config - if you're looking for something, start here.
|
- [`bin/webpack-configs.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/bin/webpack-configs.js): Code for generating each build config. This most closely resembles a classic webpack config - if you're looking for something, start here.
|
||||||
- [`bin/webpack-entries.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/bin/webpack-entries.js): Code for generating [webpack `entry` definitions](https://webpack.js.org/concepts/entry-points/) and mapping source files to entry points. If you're adding a new block or module to the build, start here.
|
- [`bin/webpack-entries.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/bin/webpack-entries.js): Code for generating [webpack `entry` definitions](https://webpack.js.org/concepts/entry-points/) and mapping source files to entry points. If you're adding a new block or module to the build, start here.
|
||||||
- [`bin/webpack-helpers.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/bin/webpack-helpers.js): Includes utils to load external code at run time, e.g. some dependencies from Woo and WordPress core.
|
- [`bin/webpack-helpers.js`](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/bin/webpack-helpers.js): Includes utils to load external code at run time, e.g. some dependencies from Woo and WordPress core.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/js-build-system.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -7,3 +7,11 @@ function my_function_callback( $order ) {
|
||||||
|
|
||||||
add_action( 'woocommerce_blocks_checkout_order_processed', 'my_function_callback', 10 );
|
add_action( 'woocommerce_blocks_checkout_order_processed', 'my_function_callback', 10 );
|
||||||
```
|
```
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/examples/checkout-order-processed.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -10,3 +10,11 @@ function my_function_callback( $features, $gateway ) {
|
||||||
|
|
||||||
add_filter( '__experimental_woocommerce_blocks_payment_gateway_features_list', 'my_function_callback', 10, 2 );
|
add_filter( '__experimental_woocommerce_blocks_payment_gateway_features_list', 'my_function_callback', 10, 2 );
|
||||||
```
|
```
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/examples/payment-gateways-features-list.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -44,3 +44,12 @@ In addition to the reference material below, [please see the `block-checkout` pa
|
||||||
| [Slots and Fills.](./slot-fills.md) | Explains Slot Fills and how to use them to render your own components in Cart and Checkout. |
|
| [Slots and Fills.](./slot-fills.md) | Explains Slot Fills and how to use them to render your own components in Cart and Checkout. |
|
||||||
| [Available Slot Fills.](./available-slot-fills.md) | Available Slots that you can use and their positions in Cart and Checkout. |
|
| [Available Slot Fills.](./available-slot-fills.md) | Available Slots that you can use and their positions in Cart and Checkout. |
|
||||||
| [DOM Events](./dom-events.md) | A list of DOM Events used by some blocks to communicate between them and with other parts of WooCommerce. |
|
| [DOM Events](./dom-events.md) | A list of DOM Events used by some blocks to communicate between them and with other parts of WooCommerce. |
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/README.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -693,3 +693,11 @@ do_action( 'wooocommerce_store_api_validate_cart_item', \WC_Product $product, ar
|
||||||
- [StoreApi/Utilities/CartController.php](../src/StoreApi/Utilities/CartController.php)
|
- [StoreApi/Utilities/CartController.php](../src/StoreApi/Utilities/CartController.php)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/actions.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -29,3 +29,12 @@ The items endpoint, which is also available on `wc/store/cart` inside the `items
|
||||||
### Key:
|
### Key:
|
||||||
|
|
||||||
- `CartItemSchema::IDENTIFIER`
|
- `CartItemSchema::IDENTIFIER`
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/available-endpoints-to-extend.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -252,3 +252,12 @@ working correctly.
|
||||||
<img src="https://user-images.githubusercontent.com/5656702/117035848-b4ccf880-acfc-11eb-870a-31ae86dd6496.png" width=600 />
|
<img src="https://user-images.githubusercontent.com/5656702/117035848-b4ccf880-acfc-11eb-870a-31ae86dd6496.png" width=600 />
|
||||||
|
|
||||||
The error will also be shown in your console.
|
The error will also be shown in your console.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/available-filters.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -58,3 +58,12 @@ Checkout:
|
||||||
### Passed paramters
|
### Passed paramters
|
||||||
- `cart`: `wc/store/cart` data but in `camelCase` instead of `snake_case`. [Object breakdown.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/c00da597efe4c16fcf5481c213d8052ec5df3766/assets/js/type-defs/cart.ts#L172-L188)
|
- `cart`: `wc/store/cart` data but in `camelCase` instead of `snake_case`. [Object breakdown.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/c00da597efe4c16fcf5481c213d8052ec5df3766/assets/js/type-defs/cart.ts#L172-L188)
|
||||||
- `extensions`: external data registered by third-party developers using `ExtendRestAPI`, if you used `ExtendRestAPI` on `wc/store/cart` you would find your data under your namespace here.
|
- `extensions`: external data registered by third-party developers using `ExtendRestAPI`, if you used `ExtendRestAPI` on `wc/store/cart` you would find your data under your namespace here.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/available-slot-fills.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -472,3 +472,12 @@ This event emitter doesn't care about any registered observer response and will
|
||||||
This event emitter is fired when a shipping rate selection is not being persisted to the server and the shipping data context error state is `UNKNOWN` or `INVALID_ADDRESS`.
|
This event emitter is fired when a shipping rate selection is not being persisted to the server and the shipping data context error state is `UNKNOWN` or `INVALID_ADDRESS`.
|
||||||
|
|
||||||
This event emitter doesn't care about any registered observer response and will simply execute all registered observers passing them the current error status in the context.
|
This event emitter doesn't care about any registered observer response and will simply execute all registered observers passing them the current error status in the context.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/checkout-flow-and-events.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -32,3 +32,12 @@ This event is the equivalent to the jQuery event `removed_from_cart` triggered b
|
||||||
|
|
||||||
_Example usage in WC Blocks:_ Cart and Mini Cart blocks (via the `useStoreCart()` hook) listen to this event to know if they need to update their contents.
|
_Example usage in WC Blocks:_ Cart and Mini Cart blocks (via the `useStoreCart()` hook) listen to this event to know if they need to update their contents.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/dom-events.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -328,3 +328,12 @@ class WC_Subscriptions_Extend_Store_Endpoint {
|
||||||
|
|
||||||
You may wish to use our pre-existing Formatters to ensure your data is passed through the Store API in the
|
You may wish to use our pre-existing Formatters to ensure your data is passed through the Store API in the
|
||||||
correct format. More information on the Formatters can be found in the [StoreApi Formatters documentation](./extend-rest-api-formatters.md).
|
correct format. More information on the Formatters can be found in the [StoreApi Formatters documentation](./extend-rest-api-formatters.md).
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/extend-rest-api-add-data.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -112,3 +112,12 @@ get_formatter( 'html' )->format(
|
||||||
```
|
```
|
||||||
returns
|
returns
|
||||||
`alert('bad script!') This “coffee” is <strong>very strong</strong>.`
|
`alert('bad script!') This “coffee” is <strong>very strong</strong>.`
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/extend-rest-api-formatters.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -39,3 +39,12 @@ self::EXTENDING_KEY => $this->get_extended_data( self::IDENTIFIER, $cart_item
|
||||||
That's it, your endpoint would now contain `extensions` in your endpoint, and you can consume it in the frontend.
|
That's it, your endpoint would now contain `extensions` in your endpoint, and you can consume it in the frontend.
|
||||||
|
|
||||||
Extending a new endpoint is usually half the work, you will need to receive this data in the frontend and pass it to any other extensibility point (Slot, Filter, Event).
|
Extending a new endpoint is usually half the work, you will need to receive this data in the frontend and pass it to any other extensibility point (Slot, Filter, Event).
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/extend-rest-api-new-endpoint.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -214,3 +214,12 @@ add_action('woocommerce_blocks_loaded', function() {
|
||||||
Now that this is registered, when the button is pressed, the `cart/extensions` endpoint is hit, with a `namespace` of
|
Now that this is registered, when the button is pressed, the `cart/extensions` endpoint is hit, with a `namespace` of
|
||||||
`super-coupons` our `redeem_points` function will be executed. After this has finished processing, the client-side cart
|
`super-coupons` our `redeem_points` function will be executed. After this has finished processing, the client-side cart
|
||||||
will be updated by WooCommerce Blocks.
|
will be updated by WooCommerce Blocks.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/extend-rest-api-update-cart.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -184,3 +184,12 @@ It is important to note the comment in this code block, you must not instantiate
|
||||||
If you've added your payment method correctly with the correct `supports` values then when you reach the checkout page
|
If you've added your payment method correctly with the correct `supports` values then when you reach the checkout page
|
||||||
with a `Bookable` item in your cart, any method that does not `supports` the `booking_availability` requirement should
|
with a `Bookable` item in your cart, any method that does not `supports` the `booking_availability` requirement should
|
||||||
not display, while yours, the one that _does_ support this requirement _will_ display.
|
not display, while yours, the one that _does_ support this requirement _will_ display.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/filtering-payment-methods.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -791,3 +791,11 @@ apply_filters( 'woocommerce_variation_option_name', string $value, null $unused,
|
||||||
- [StoreApi/Schemas/CartItemSchema.php](../src/StoreApi/Schemas/CartItemSchema.php)
|
- [StoreApi/Schemas/CartItemSchema.php](../src/StoreApi/Schemas/CartItemSchema.php)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/filters.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -193,3 +193,12 @@ string. The name of the setting containing the data added in `get_script_data` i
|
||||||
|
|
||||||
The value returned here is a plain old JavaScript object, keyed by the keys of the array returned by `get_script_data`,
|
The value returned here is a plain old JavaScript object, keyed by the keys of the array returned by `get_script_data`,
|
||||||
the values will serialized.
|
the values will serialized.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/integration-interface.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -238,3 +238,12 @@ function my_extension_woocommerce_blocks_support() {
|
||||||
```
|
```
|
||||||
|
|
||||||
As an example, you can see how the Stripe extension adds it's integration in this [pull request](https://github.com/woocommerce/woocommerce-gateway-stripe/pull/1467/files).
|
As an example, you can see how the Stripe extension adds it's integration in this [pull request](https://github.com/woocommerce/woocommerce-gateway-stripe/pull/1467/files).
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/payment-method-integration.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -48,3 +48,12 @@ You use `registerPlugin` to feed in your plugin namespace, your component `rende
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
For this to work, your script must be enqueued after Cart and Checkout. You can follow the [IntegrationInterface](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/50f9b3e8d012f425d318908cc13d9c601d97bd68/docs/extensibility/integration-interface.md) documentation for enqueueing your script.
|
For this to work, your script must be enqueued after Cart and Checkout. You can follow the [IntegrationInterface](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/50f9b3e8d012f425d318908cc13d9c601d97bd68/docs/extensibility/integration-interface.md) documentation for enqueueing your script.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/extensibility/slot-fills.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -10,3 +10,12 @@ The WooCommerce Blocks Handbook provides documentation for designers and develop
|
||||||
| [Store API (REST API)](../src/StoreApi/README.md) | These documents cover the Store API used to get product data on the frontend. |
|
| [Store API (REST API)](../src/StoreApi/README.md) | These documents cover the Store API used to get product data on the frontend. |
|
||||||
| [Extensibility](extensibility/README.md) | These documents cover extensibility of WooCommerce Blocks. |
|
| [Extensibility](extensibility/README.md) | These documents cover extensibility of WooCommerce Blocks. |
|
||||||
| [Theming](theming/README.md) | These documents cover theming for blocks, styles, CSS classnames and other theming best practices. |
|
| [Theming](theming/README.md) | These documents cover theming for blocks, styles, CSS classnames and other theming best practices. |
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/readme.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -8,3 +8,12 @@ This folder contains documentation around manual testing of WooCommerce Blocks.
|
||||||
| [Smoke Testing](smoke-testing.md) | This doc explains how to smoke test key Blocks functionality. |
|
| [Smoke Testing](smoke-testing.md) | This doc explains how to smoke test key Blocks functionality. |
|
||||||
| [Cart and Checkout Testing](./cart-checkout/readme.md) | Various testing flows for Cart and Checkout Blocks |
|
| [Cart and Checkout Testing](./cart-checkout/readme.md) | Various testing flows for Cart and Checkout Blocks |
|
||||||
| [Releases](./releases/README.md) | We document all testing flows for releases in this folder |
|
| [Releases](./releases/README.md) | We document all testing flows for releases in this folder |
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/README.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -32,3 +32,11 @@ With coupons enabled: <!-- heading -->
|
||||||
- [ ] Adding a coupon then adding `alone` coupon should replace the first one.
|
- [ ] Adding a coupon then adding `alone` coupon should replace the first one.
|
||||||
- [ ] Adding `alone` then trying to another coupon should result in an error.
|
- [ ] Adding `alone` then trying to another coupon should result in an error.
|
||||||
- [ ] Adding `freeship` should show the free shipping method you previously created.
|
- [ ] Adding `freeship` should show the free shipping method you previously created.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/cart-checkout/coupons.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -7,3 +7,11 @@ The baseline for testing is:
|
||||||
- WooCommerce 4.2 and up
|
- WooCommerce 4.2 and up
|
||||||
- All Browsers supported by [those two versions](https://make.wordpress.org/core/handbook/best-practices/browser-support/) so this includes Internet Explorer 11, and latest two versions of each browser.
|
- All Browsers supported by [those two versions](https://make.wordpress.org/core/handbook/best-practices/browser-support/) so this includes Internet Explorer 11, and latest two versions of each browser.
|
||||||
- Storefront, TwentyTwenty, and TwentyNineteen themes, we use storefront as a basis for development and push fixes to it regularly, so make sure you run the latest version.
|
- Storefront, TwentyTwenty, and TwentyNineteen themes, we use storefront as a basis for development and push fixes to it regularly, so make sure you run the latest version.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/cart-checkout/cross-browser.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -8,3 +8,11 @@
|
||||||
- [ ] You should not be able to interact directly with the block (except for some sections).
|
- [ ] You should not be able to interact directly with the block (except for some sections).
|
||||||
- [ ] You should be able to see block settings on the sidebar when it is focused.
|
- [ ] You should be able to see block settings on the sidebar when it is focused.
|
||||||
- [ ] Proceed to Checkout and Back to cart block settings should present you with a list of your website pages.
|
- [ ] Proceed to Checkout and Back to cart block settings should present you with a list of your website pages.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/cart-checkout/editor.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -19,3 +19,11 @@ taxes (if you have any), shipping and so on.
|
||||||
- [ ] You should be able to fix your info, if you have them saved, they will show up.
|
- [ ] You should be able to fix your info, if you have them saved, they will show up.
|
||||||
- [ ] Depending on what payment method you enabled (Credit Card, Check, Express payment), you can place the order.
|
- [ ] Depending on what payment method you enabled (Credit Card, Check, Express payment), you can place the order.
|
||||||
- [ ] You should see an order received page.
|
- [ ] You should see an order received page.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/cart-checkout/general-flow.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -23,3 +23,12 @@
|
||||||
- [ ] In one browser, increase the quantity of that item to the maximum you can.
|
- [ ] In one browser, increase the quantity of that item to the maximum you can.
|
||||||
- [ ] In the other browser, try increasing the quantity. An error should appear.
|
- [ ] In the other browser, try increasing the quantity. An error should appear.
|
||||||
- [ ] You should be able to remove an item.
|
- [ ] You should be able to remove an item.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/cart-checkout/items.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -38,3 +38,11 @@ If you have a payment method available: <!-- heading -->
|
||||||
- [ ] You should be able to perform a successful checkout with Check payments.
|
- [ ] You should be able to perform a successful checkout with Check payments.
|
||||||
- [ ] You should be able to perform a successful checkout credit card payment using this cart `4242424242424242`
|
- [ ] You should be able to perform a successful checkout credit card payment using this cart `4242424242424242`
|
||||||
- [ ] You should be able to perform a failed checkout credit card payment using this cart `4000000000000002`
|
- [ ] You should be able to perform a failed checkout credit card payment using this cart `4000000000000002`
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/cart-checkout/payment.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -80,3 +80,12 @@ the Cart and Checkout shortcodes.
|
||||||
- [Coupons](coupons.md)
|
- [Coupons](coupons.md)
|
||||||
- [Cross Browser and platform](cross-browser.md)
|
- [Cross Browser and platform](cross-browser.md)
|
||||||
|
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/cart-checkout/readme.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -35,3 +35,11 @@ If you don't have any shipping zones set up and/or shipping is disabled: <!-- he
|
||||||
If you don't have any shipping zones set up but **shipping is enabled**: <!-- heading -->
|
If you don't have any shipping zones set up but **shipping is enabled**: <!-- heading -->
|
||||||
|
|
||||||
- [ ] In the editor, Checkout Block will show you a placeholder promoting you to set up shipping zones.
|
- [ ] In the editor, Checkout Block will show you a placeholder promoting you to set up shipping zones.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/cart-checkout/shipping.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -16,3 +16,11 @@ With taxes enabled: <!-- heading -->
|
||||||
|
|
||||||
- [ ] You should see "Taxes" line in the cart or checkout.
|
- [ ] You should see "Taxes" line in the cart or checkout.
|
||||||
- [ ] If the user address or store settings country doesn't have taxes in it, the value will be 0.
|
- [ ] If the user address or store settings country doesn't have taxes in it, the value will be 0.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/cart-checkout/taxes.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -122,3 +122,12 @@ Support was added for showing category images in the Product Categories block. T
|
||||||
- When the option is toggled to "Show Category Image", images for categories are shown per category item in the list.
|
- When the option is toggled to "Show Category Image", images for categories are shown per category item in the list.
|
||||||
|
|
||||||
* [ ] Verify the new option works as expected according to the above both in the editor and in the frontend.
|
* [ ] Verify the new option works as expected according to the above both in the editor and in the frontend.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/260.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -18,3 +18,12 @@ _Note: assuming you are using a development site where you are okay with losing
|
||||||
1. Delete the `wc_reserved_stock` table.
|
1. Delete the `wc_reserved_stock` table.
|
||||||
2. Visit anywhere in the WordPress admin.
|
2. Visit anywhere in the WordPress admin.
|
||||||
3. Verify the `wc_reserved_stock` table was re-created.
|
3. Verify the `wc_reserved_stock` table was re-created.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/261.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -98,3 +98,12 @@ _Hand-picked Products on top, All Products below:_<br>
|
||||||
- All Products block shows discounted prices in two lines.
|
- All Products block shows discounted prices in two lines.
|
||||||
_Hand-picked Products on top, All Products below:_<br>
|
_Hand-picked Products on top, All Products below:_<br>
|
||||||
![Product grid blocks with the code snippets applied](https://user-images.githubusercontent.com/3616980/83164436-828a4280-a10c-11ea-81c1-b9a62cdf52b5.png)
|
![Product grid blocks with the code snippets applied](https://user-images.githubusercontent.com/3616980/83164436-828a4280-a10c-11ea-81c1-b9a62cdf52b5.png)
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/270.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -18,3 +18,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
- Save the page and visit it in the frontend.
|
- Save the page and visit it in the frontend.
|
||||||
- Using the Filter by Attributes block, filter the products by a specific attribute, making sure the Variable Product you created gets visible at some point.
|
- Using the Filter by Attributes block, filter the products by a specific attribute, making sure the Variable Product you created gets visible at some point.
|
||||||
- Go to the PHP logs of your site and verify there isn't any PHP warning in the logs related to the steps described above.
|
- Go to the PHP logs of your site and verify there isn't any PHP warning in the logs related to the steps described above.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/271.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -37,3 +37,12 @@ Expected behaviour is:
|
||||||
|
|
||||||
There are phpunit tests covering behaviour as well (including catching errors).
|
There are phpunit tests covering behaviour as well (including catching errors).
|
||||||
|
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/272.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -82,3 +82,11 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
- [ ] Edit it and select the Product image inner block. There, toggle the _Image sizing_ attribute.
|
- [ ] Edit it and select the Product image inner block. There, toggle the _Image sizing_ attribute.
|
||||||
- [ ] Verify when _Cropped_ is selected, the cropped image is displayed.
|
- [ ] Verify when _Cropped_ is selected, the cropped image is displayed.
|
||||||
- [ ] Repeat the process with the Product block.
|
- [ ] Repeat the process with the Product block.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/280.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -13,3 +13,12 @@ In some languages, the `State` and `Country` drop-down menus in the checkout blo
|
||||||
1. In checkout, select `Espanya` (Spain) from `País / Regió` (country) dropdown.
|
1. In checkout, select `Espanya` (Spain) from `País / Regió` (country) dropdown.
|
||||||
1. Click `Província` (state) dropdown and confirm that the menu items are alphabetically sorted.
|
1. Click `Província` (state) dropdown and confirm that the menu items are alphabetically sorted.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/290.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -135,3 +135,12 @@ Confirm that other payment methods still work correctly.
|
||||||
3. Reload the tab.
|
3. Reload the tab.
|
||||||
4. Verify no file ending with `-frontend.js` was loaded.
|
4. Verify no file ending with `-frontend.js` was loaded.
|
||||||
5. With an WP version between 5.2.0 and 5.3.0 (ie: 5.2.5) and verify legacy scripts are still being enqueued.
|
5. With an WP version between 5.2.0 and 5.3.0 (ie: 5.2.5) and verify legacy scripts are still being enqueued.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/300.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -74,3 +74,12 @@ We also made some changes to our API endpoints to make them work correctly with
|
||||||
|
|
||||||
- [ ] Cart
|
- [ ] Cart
|
||||||
- [ ] Checkout
|
- [ ] Checkout
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/310.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -114,3 +114,12 @@ You will need Product Add-ons extension to test this. <!-- heading -->
|
||||||
- [ ] In the editor, confirm that Product Search input has borders.
|
- [ ] In the editor, confirm that Product Search input has borders.
|
||||||
- [ ] the input should be functional.
|
- [ ] the input should be functional.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/320.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -69,3 +69,12 @@ The following enhancements shipped in WooCommerce Blocks 3.1.0 but were missed i
|
||||||
- [ ] Proceed to checkout block and verify there is an error notice informing shopper why there is a single item in the cart.
|
- [ ] Proceed to checkout block and verify there is an error notice informing shopper why there is a single item in the cart.
|
||||||
- [ ] Ensure the checkout block works correctly and shopper can complete purchase.
|
- [ ] Ensure the checkout block works correctly and shopper can complete purchase.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/330.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -86,3 +86,12 @@ Testing this change basically means verifying there are no regressions:
|
||||||
2. Add the All Products block in a page. **_Verify_** there are no regressions with the Product Price block.
|
2. Add the All Products block in a page. **_Verify_** there are no regressions with the Product Price block.
|
||||||
3. Repeat the verifications above using a small viewport browser.
|
3. Repeat the verifications above using a small viewport browser.
|
||||||
4. Repeat the verifications above using with the [Seedlet theme](https://wordpress.org/themes/seedlet/).
|
4. Repeat the verifications above using with the [Seedlet theme](https://wordpress.org/themes/seedlet/).
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/340.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -66,3 +66,11 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
- [ ] Go to Stripe settings and uncheck `Enable Payment via Saved Cards`. Make sure you have added back the API keys that you might have removed in the steps above.
|
- [ ] Go to Stripe settings and uncheck `Enable Payment via Saved Cards`. Make sure you have added back the API keys that you might have removed in the steps above.
|
||||||
- [ ] Start a purchase with a user that has saved payment methods and go to the Checkout block.
|
- [ ] Start a purchase with a user that has saved payment methods and go to the Checkout block.
|
||||||
- [ ] Verify saved credit cards are not shown in the Payment method options.
|
- [ ] Verify saved credit cards are not shown in the Payment method options.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/350.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -57,3 +57,12 @@ _Before:_
|
||||||
_After:_
|
_After:_
|
||||||
|
|
||||||
![Screenshot with normal height select](https://user-images.githubusercontent.com/3616980/94667483-29772900-030f-11eb-8b82-1a792c693e2e.png)
|
![Screenshot with normal height select](https://user-images.githubusercontent.com/3616980/94667483-29772900-030f-11eb-8b82-1a792c693e2e.png)
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/360.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -74,3 +74,12 @@ Test all blocks in editor/frontend and verify there are no evident issues with i
|
||||||
2. Select some attributes and click on Done.
|
2. Select some attributes and click on Done.
|
||||||
3. Click on the pencil icon to edit the block again.
|
3. Click on the pencil icon to edit the block again.
|
||||||
4. Confirm your existing attributes are selected by default.
|
4. Confirm your existing attributes are selected by default.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/370.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -33,3 +33,12 @@ As an alternative to (1), could also hack the JS REST request to always send `sh
|
||||||
- Repeat similar tests with a custom plugin implementing `woocommerce_checkout_registration_enabled` hook to disable checkout signup.
|
- Repeat similar tests with a custom plugin implementing `woocommerce_checkout_registration_enabled` hook to disable checkout signup.
|
||||||
- Test various combinations of store settings (e.g. guest checkout `Allow customers to place orders without an account`) and ensure that accounts are created when appropriate.
|
- Test various combinations of store settings (e.g. guest checkout `Allow customers to place orders without an account`) and ensure that accounts are created when appropriate.
|
||||||
- Test with WooCommerce < v4.7 and ensure that checkout block sign-up feature is not available, and there is no way to sign up using checkout block.
|
- Test with WooCommerce < v4.7 and ensure that checkout block sign-up feature is not available, and there is no way to sign up using checkout block.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/371.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -19,3 +19,12 @@ Moves the rendering of address fields to a single file so that PhoneNumber (new
|
||||||
|
|
||||||
0. Complete a build and smoke test block inserter - atomic blocks would be affected if this broke anything ( in Core those blocks are only accessible when editing the All Products block ).
|
0. Complete a build and smoke test block inserter - atomic blocks would be affected if this broke anything ( in Core those blocks are only accessible when editing the All Products block ).
|
||||||
1. Confirm -- usage in built files.
|
1. Confirm -- usage in built files.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/380.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -132,3 +132,12 @@ In a device compatible with express payment methods and a site with Stripe payme
|
||||||
### Move feature flag PHP logic to a service class
|
### Move feature flag PHP logic to a service class
|
||||||
|
|
||||||
* [ ] Verify Product Element blocks (i.e. `Product Price`) are not available in the feature plugin from the block picker (it is expected that some product element blocks are available when editing the template view for the All Products block).
|
* [ ] Verify Product Element blocks (i.e. `Product Price`) are not available in the feature plugin from the block picker (it is expected that some product element blocks are available when editing the template view for the All Products block).
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/390.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -104,3 +104,12 @@ POST `https://yourstore.test/wp-json/wc/store/cart/add-item`
|
||||||
Testing:
|
Testing:
|
||||||
|
|
||||||
* [ ] GET the following endpoint: `https://yourstore.test/wp-json/wc/store/cart/items`. There should be a valid response with response code 200.
|
* [ ] GET the following endpoint: `https://yourstore.test/wp-json/wc/store/cart/items`. There should be a valid response with response code 200.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/400.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -177,3 +177,12 @@ Validation via Checkout
|
||||||
- [ ] Do it several times with several products.
|
- [ ] Do it several times with several products.
|
||||||
- [ ] Paginate the block and try to add products again.
|
- [ ] Paginate the block and try to add products again.
|
||||||
- [ ] If you have filters set up, try using filters and then adding to cart.
|
- [ ] If you have filters set up, try using filters and then adding to cart.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/410.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -19,3 +19,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
3. Add a product to your cart and go to the checkout page.
|
3. Add a product to your cart and go to the checkout page.
|
||||||
4. Fill the details but keep the payment method as the saved card you added in step 2.
|
4. Fill the details but keep the payment method as the saved card you added in step 2.
|
||||||
5. Try to make a purchase and verify it completes successfully and no error is shown.
|
5. Try to make a purchase and verify it completes successfully and no error is shown.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/420.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -59,3 +59,12 @@ WC Product Add-Ons:
|
||||||
1. Create a product with a product add-on.
|
1. Create a product with a product add-on.
|
||||||
2. Add that product to your cart and go to the Cart and Checkout pages.
|
2. Add that product to your cart and go to the Cart and Checkout pages.
|
||||||
3. Verify add-on data is displayed.
|
3. Verify add-on data is displayed.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/430.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -95,3 +95,12 @@ This is a regression test due to the changes made for Subscriptions Integration.
|
||||||
- When updating your address, confirm the shipping rates update.
|
- When updating your address, confirm the shipping rates update.
|
||||||
2. Enter an address that has no rates. Ensure an error notice is shown in the cart shipping package "No shipping options were found.".
|
2. Enter an address that has no rates. Ensure an error notice is shown in the cart shipping package "No shipping options were found.".
|
||||||
3. Place an order. Confirm details persist.
|
3. Place an order. Confirm details persist.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/440.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -128,3 +128,12 @@ In the frontend:
|
||||||
|
|
||||||
1. Set a product to be on sale and add it to the cart
|
1. Set a product to be on sale and add it to the cart
|
||||||
2. Go to the cart and checkout blocks and make sure you can see the struckthrough regular price, and the sale price is displayed normally.
|
2. Go to the cart and checkout blocks and make sure you can see the struckthrough regular price, and the sale price is displayed normally.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/450.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -21,3 +21,12 @@ No changes.
|
||||||
1. Set your currency settings to display without a decimal place, like this: ![image](https://user-images.githubusercontent.com/3616980/108694932-fae92d00-74ff-11eb-8ab5-d2038527ea98.png)
|
1. Set your currency settings to display without a decimal place, like this: ![image](https://user-images.githubusercontent.com/3616980/108694932-fae92d00-74ff-11eb-8ab5-d2038527ea98.png)
|
||||||
1. Add a product that is on sale to your cart, if you've got an up to date WooCommerce Subscriptions repo (on branch: `feature/checkout-block-simple-multiple-subscriptions`) then add a subscription product that's on sale, too.
|
1. Add a product that is on sale to your cart, if you've got an up to date WooCommerce Subscriptions repo (on branch: `feature/checkout-block-simple-multiple-subscriptions`) then add a subscription product that's on sale, too.
|
||||||
2. View the Cart block and ensure the price and sale badge display well.
|
2. View the Cart block and ensure the price and sale badge display well.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/452.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -74,3 +74,12 @@ The following are related to various changes impacting some existing flows so ju
|
||||||
- Cart and checkout changing quantities works as expected.
|
- Cart and checkout changing quantities works as expected.
|
||||||
- Cart and checkout shipping interaction works as expected.
|
- Cart and checkout shipping interaction works as expected.
|
||||||
- Cart and checkout express payment method works as expected.
|
- Cart and checkout express payment method works as expected.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/460.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -125,3 +125,12 @@ The following are related to various changes impacting some existing flows so ju
|
||||||
- Cart and checkout changing quantities works as expected.
|
- Cart and checkout changing quantities works as expected.
|
||||||
- Cart and checkout shipping interaction works as expected.
|
- Cart and checkout shipping interaction works as expected.
|
||||||
- Cart and checkout express payment method works as expected.
|
- Cart and checkout express payment method works as expected.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/470.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -63,3 +63,12 @@ The following are related to various changes impacting some existing flows so ju
|
||||||
- Cart and checkout changing quantities works as expected.
|
- Cart and checkout changing quantities works as expected.
|
||||||
- Cart and checkout shipping interaction works as expected.
|
- Cart and checkout shipping interaction works as expected.
|
||||||
- Cart and checkout express payment method works as expected.
|
- Cart and checkout express payment method works as expected.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/480.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -107,3 +107,12 @@ The following are related to various changes impacting some existing flows so ju
|
||||||
|Before|After|
|
|Before|After|
|
||||||
|-|-|
|
|-|-|
|
||||||
|<img width="825" alt="Screenshot 2021-04-07 at 15 19 57" src="https://user-images.githubusercontent.com/1562646/113873096-c631ec00-97b4-11eb-9d04-e96f25dac34a.png">|<img width="821" alt="Screenshot 2021-04-07 at 15 18 52" src="https://user-images.githubusercontent.com/1562646/113873114-c9c57300-97b4-11eb-8857-4399a5786c11.png">|
|
|<img width="825" alt="Screenshot 2021-04-07 at 15 19 57" src="https://user-images.githubusercontent.com/1562646/113873096-c631ec00-97b4-11eb-9d04-e96f25dac34a.png">|<img width="821" alt="Screenshot 2021-04-07 at 15 18 52" src="https://user-images.githubusercontent.com/1562646/113873114-c9c57300-97b4-11eb-8857-4399a5786c11.png">|
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/490.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -14,3 +14,11 @@
|
||||||
|
|
||||||
- Cart and Checkout block should load fine on frontend.
|
- Cart and Checkout block should load fine on frontend.
|
||||||
- Cart and Checkout should be insertable.
|
- Cart and Checkout should be insertable.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/491.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -56,3 +56,12 @@ Optionally, because this is difficult to achieve, if you tab to an add to cart b
|
||||||
3. On the frontend, as a logged-out guest, add an item to your cart and go to the Block Checkout.
|
3. On the frontend, as a logged-out guest, add an item to your cart and go to the Block Checkout.
|
||||||
4. You shouldn't see a "Create an Account?" checkbox on Checkout.
|
4. You shouldn't see a "Create an Account?" checkbox on Checkout.
|
||||||
5. When placing an order, an account will be created for you.
|
5. When placing an order, an account will be created for you.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/500.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -21,3 +21,12 @@ Test both guest and logged in scenarios for the following:
|
||||||
- Uncheck "use shipping for billing" checkbox.
|
- Uncheck "use shipping for billing" checkbox.
|
||||||
- Verify email and phone fields still have their values.
|
- Verify email and phone fields still have their values.
|
||||||
- Submit the order and make sure those values persist on the server with the order.
|
- Submit the order and make sure those values persist on the server with the order.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/510.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -125,3 +125,12 @@ Do the testing steps for the following widgets: Product Search, Product Categori
|
||||||
1. Ensure Gutenberg feature plugin is enabled. To enable block widgets in the Customizer, go to Gutenberg -> Experiments and check the checkbox next to Widgets. After you’ve saved the experimental settings, navigate to Appearance -> Customize -> Widgets. **Note:** Later versions of Gutenberg will have the block widget interface already enabled (and no longer experimental) - if the option to enable this is not on this page just go to the next step.
|
1. Ensure Gutenberg feature plugin is enabled. To enable block widgets in the Customizer, go to Gutenberg -> Experiments and check the checkbox next to Widgets. After you’ve saved the experimental settings, navigate to Appearance -> Customize -> Widgets. **Note:** Later versions of Gutenberg will have the block widget interface already enabled (and no longer experimental) - if the option to enable this is not on this page just go to the next step.
|
||||||
2. Go to Appearance -> Customize and then click Widgets. Try to insert "All Products", "Price Filter", "Attribute Filter", and "Active Filter" blocks into the Sidebar area. You shouldn't be able to see them in the inspector!
|
2. Go to Appearance -> Customize and then click Widgets. Try to insert "All Products", "Price Filter", "Attribute Filter", and "Active Filter" blocks into the Sidebar area. You shouldn't be able to see them in the inspector!
|
||||||
3. Edit a page and try to insert "All Products", "Price Filter", "Attribute Filter", and "Active Filter" blocks. It should work as expected.
|
3. Edit a page and try to insert "All Products", "Price Filter", "Attribute Filter", and "Active Filter" blocks. It should work as expected.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/520.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -50,3 +50,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
2. Edit a page and add a 'Products by Category' block (choose a category with an out of stock product)
|
2. Edit a page and add a 'Products by Category' block (choose a category with an out of stock product)
|
||||||
3. On the front-end, go to the page and click on the out of stock product's "Read more" link
|
3. On the front-end, go to the page and click on the out of stock product's "Read more" link
|
||||||
4. Verify you cannot see the spinner on the button and when redirected on the product page, the WooCommerce error message does not show.
|
4. Verify you cannot see the spinner on the button and when redirected on the product page, the WooCommerce error message does not show.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/530.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -40,3 +40,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
| Before | After |
|
| Before | After |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| ![Screenshot where rating stars are replaced by S](https://user-images.githubusercontent.com/3616980/121849894-3cd6f280-ccec-11eb-81e4-de37f47ef9d3.png) | ![Schreenshot where rating stars are rendered correctly](https://user-images.githubusercontent.com/3616980/121849806-1fa22400-ccec-11eb-9359-007a4c6dd8a7.png) |
|
| ![Screenshot where rating stars are replaced by S](https://user-images.githubusercontent.com/3616980/121849894-3cd6f280-ccec-11eb-81e4-de37f47ef9d3.png) | ![Schreenshot where rating stars are rendered correctly](https://user-images.githubusercontent.com/3616980/121849806-1fa22400-ccec-11eb-9359-007a4c6dd8a7.png) |
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/531.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -13,3 +13,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
## Feature plugin only
|
## Feature plugin only
|
||||||
|
|
||||||
No changes.
|
No changes.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/532.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -36,3 +36,11 @@ To test this properly you'll need Stripe setup locally in sandbox mode. You can
|
||||||
1. Insert the Hand-picked Products block
|
1. Insert the Hand-picked Products block
|
||||||
2. See SKUs shown for products with a SKU
|
2. See SKUs shown for products with a SKU
|
||||||
3. Try searching for a SKU. See results.
|
3. Try searching for a SKU. See results.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/540.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -48,3 +48,12 @@ Test in the widget editor:
|
||||||
| Before | After |
|
| Before | After |
|
||||||
| - | - |
|
| - | - |
|
||||||
| ![image](https://user-images.githubusercontent.com/1562646/124119268-983a0c00-da72-11eb-8660-5465e3cbbdd8.png) | ![image](https://user-images.githubusercontent.com/1562646/124119281-9bcd9300-da72-11eb-9a33-3a171e6aa72f.png) |
|
| ![image](https://user-images.githubusercontent.com/1562646/124119268-983a0c00-da72-11eb-8660-5465e3cbbdd8.png) | ![image](https://user-images.githubusercontent.com/1562646/124119281-9bcd9300-da72-11eb-9a33-3a171e6aa72f.png) |
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/550.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -71,3 +71,11 @@ View the pagination rendered on the all products block and confirm the symbol ma
|
||||||
| Before | After |
|
| Before | After |
|
||||||
|---|---|
|
|---|---|
|
||||||
| ![image](https://user-images.githubusercontent.com/5656702/124503666-ed04bc00-ddbd-11eb-9da1-f9bf9fe3c274.png) | ![After](https://user-images.githubusercontent.com/5656702/124503503-9eefb880-ddbd-11eb-9bd9-e3d0e7145169.png) |
|
| ![image](https://user-images.githubusercontent.com/5656702/124503666-ed04bc00-ddbd-11eb-9da1-f9bf9fe3c274.png) | ![After](https://user-images.githubusercontent.com/5656702/124503503-9eefb880-ddbd-11eb-9bd9-e3d0e7145169.png) |
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/560.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -93,3 +93,12 @@ Test with the Twenty Twenty-One theme active. You'll need a test product and a t
|
||||||
| Before | After |
|
| Before | After |
|
||||||
| --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
||||||
| ![#4404-before](https://user-images.githubusercontent.com/3323310/128184619-030aecf6-1496-43c8-b649-c7e513d9a377.png) | ![#4404-after](https://user-images.githubusercontent.com/3323310/128184613-fb17fd6c-c7c4-401c-9628-5337f1b24082.png) |
|
| ![#4404-before](https://user-images.githubusercontent.com/3323310/128184619-030aecf6-1496-43c8-b649-c7e513d9a377.png) | ![#4404-after](https://user-images.githubusercontent.com/3323310/128184613-fb17fd6c-c7c4-401c-9628-5337f1b24082.png) |
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/570.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -11,3 +11,12 @@ With Storefront and WP 5.8:
|
||||||
1. Go to Appearance > Widgets and verify you can't add the Cart, Checkout, All Products & filters blocks.
|
1. Go to Appearance > Widgets and verify you can't add the Cart, Checkout, All Products & filters blocks.
|
||||||
2. Go to Appearance > Customizer > Widgets and verify you can't add those blocks either.
|
2. Go to Appearance > Customizer > Widgets and verify you can't add those blocks either.
|
||||||
3. Create a new post or page and verify those blocks can be added without problems.
|
3. Create a new post or page and verify those blocks can be added without problems.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/571.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -20,3 +20,12 @@ With Storefront active:
|
||||||
2. Save and publish the page.
|
2. Save and publish the page.
|
||||||
3. View the page on the frontend.
|
3. View the page on the frontend.
|
||||||
4. The search block should be shown full width, with a gap between the search input and the button.
|
4. The search block should be shown full width, with a gap between the search input and the button.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/572.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -57,3 +57,12 @@ A new block was introduced for filtering products by stock:
|
||||||
1. Create a post or page with the All Products block.
|
1. Create a post or page with the All Products block.
|
||||||
2. In the editor, make sure you can change the `Order Products By` value under `Content Settings` and the block is updated accordingly.
|
2. In the editor, make sure you can change the `Order Products By` value under `Content Settings` and the block is updated accordingly.
|
||||||
3. In the frontend, make sure you can change the order products are displayed in.
|
3. In the frontend, make sure you can change the order products are displayed in.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/580.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -43,3 +43,12 @@ Because of experimental work done during this release, we need to ensure no regr
|
||||||
| Before | After |
|
| Before | After |
|
||||||
|---|---|
|
|---|---|
|
||||||
| <img src="https://user-images.githubusercontent.com/3616980/133223981-f31f54ff-2a4d-4652-a8e8-599c7942b7ce.png" /> | ![image](https://user-images.githubusercontent.com/5656702/133245602-8751a6fd-9bad-40b2-aad0-4d91e09afdd7.png) |
|
| <img src="https://user-images.githubusercontent.com/3616980/133223981-f31f54ff-2a4d-4652-a8e8-599c7942b7ce.png" /> | ![image](https://user-images.githubusercontent.com/5656702/133245602-8751a6fd-9bad-40b2-aad0-4d91e09afdd7.png) |
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/590.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -11,3 +11,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
3. View the page on the frontend.
|
3. View the page on the frontend.
|
||||||
4. Apply a filter for any attribute so that the product list is filtered and the active filters block shows the filter you just added.
|
4. Apply a filter for any attribute so that the product list is filtered and the active filters block shows the filter you just added.
|
||||||
5. Verify you can remove applied attribute filters either using the cross icon next to each filter, or pressing the "Clear All" link.
|
5. Verify you can remove applied attribute filters either using the cross icon next to each filter, or pressing the "Clear All" link.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/591.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -192,3 +192,11 @@ In a block-based theme (ie: TT1 Blocks) with Gutenberg enabled:
|
||||||
- In the browser devtools, open the Network tab.
|
- In the browser devtools, open the Network tab.
|
||||||
- Search for a JS script with this part in the name `blocks/index.min.js`.
|
- Search for a JS script with this part in the name `blocks/index.min.js`.
|
||||||
- Verify it isn't there meaning it was loaded.
|
- Verify it isn't there meaning it was loaded.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/600.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -37,3 +37,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
1. Add a WordPress search block to a page.
|
1. Add a WordPress search block to a page.
|
||||||
2. Add a Product search block to the same page.
|
2. Add a Product search block to the same page.
|
||||||
3. Go to frontend and open the browser tools console, ensure no errors about elements with non-unique IDs appear (relating to the search box ID).
|
3. Go to frontend and open the browser tools console, ensure no errors about elements with non-unique IDs appear (relating to the search box ID).
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/610.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -49,3 +49,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
6. Edit the block using the pencil icon in the block toolbar.
|
6. Edit the block using the pencil icon in the block toolbar.
|
||||||
7. Select the previously created attribute that isn't assigned to any product.
|
7. Select the previously created attribute that isn't assigned to any product.
|
||||||
7. Confirm a different warning message appears.
|
7. Confirm a different warning message appears.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/620.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -110,3 +110,12 @@ Example of button text for the Hand-picked Products block:
|
||||||
1. Create a test page, add the All Products block and save the page.
|
1. Create a test page, add the All Products block and save the page.
|
||||||
2. Simulate a screen that has a width between 480px and 600px.
|
2. Simulate a screen that has a width between 480px and 600px.
|
||||||
3. Verify that the sale badge is aligned on the right.
|
3. Verify that the sale badge is aligned on the right.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/630.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -13,3 +13,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
5. Verify that the error `Country is required` is not visible.
|
5. Verify that the error `Country is required` is not visible.
|
||||||
6. Go to the checkout page and verify that the new shipping address is visible.
|
6. Go to the checkout page and verify that the new shipping address is visible.
|
||||||
7. Finalize the order and verify that the new shipping address is visible on the order details.
|
7. Finalize the order and verify that the new shipping address is visible on the order details.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/631.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -12,3 +12,12 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
4. Confirm you can load the template in the editor and it looks as expected in large/small viewports.
|
4. Confirm you can load the template in the editor and it looks as expected in large/small viewports.
|
||||||
5. Select the Legacy Template Block and click `Remove WooCommerce Legacy Template`.
|
5. Select the Legacy Template Block and click `Remove WooCommerce Legacy Template`.
|
||||||
6. Confirm that the block gets deleted in the editor.
|
6. Confirm that the block gets deleted in the editor.
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/632.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -12,3 +12,11 @@ Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.
|
||||||
4. Go to Dashboard > Updates and click "Update to latest 5.9 nightly".
|
4. Go to Dashboard > Updates and click "Update to latest 5.9 nightly".
|
||||||
5. After updating to e.g. WP 5.9-alpha-52211 navigate to `/shop`.
|
5. After updating to e.g. WP 5.9-alpha-52211 navigate to `/shop`.
|
||||||
6. Verify there is no fatal error in `/shop`.
|
6. Verify there is no fatal error in `/shop`.
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/633.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
|
@ -58,3 +58,12 @@ wc.blocksCheckout.__experimentalRegisterCheckoutFilters( 'my-test-extension', {
|
||||||
2. Install and activate a FSE enabled theme, such as [the TT1 Blocks theme](https://wordpress.org/themes/tt1-blocks/).
|
2. Install and activate a FSE enabled theme, such as [the TT1 Blocks theme](https://wordpress.org/themes/tt1-blocks/).
|
||||||
3. In WC 5.9, check that block templates are not loading. You can verify that going to a single product page (ie: Cap) and verify that contents don't appear twice.
|
3. In WC 5.9, check that block templates are not loading. You can verify that going to a single product page (ie: Cap) and verify that contents don't appear twice.
|
||||||
4. Also check the templates are not loading in the Site Editor (Appearance > Editor > Templates > General templates -- if this last folder doesn't exist, that means this is testing well).
|
4. Also check the templates are not loading in the Site Editor (Appearance > Editor > Templates > General templates -- if this last folder doesn't exist, that means this is testing well).
|
||||||
|
|
||||||
|
<!-- FEEDBACK -->
|
||||||
|
---
|
||||||
|
|
||||||
|
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
|
||||||
|
|
||||||
|
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/testing/releases/640.md)
|
||||||
|
<!-- /FEEDBACK -->
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue