Updated Release Testing Instructions WooCommerce 5.6 (markdown)

Tam Mullen 2021-07-28 15:45:20 +01:00
parent 327b367a8e
commit db10164f2a
1 changed files with 23 additions and 2 deletions

@ -3,7 +3,7 @@ WooCommerce 5.6 includes:
- [WooCommerce Admin Updates](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.6#woocommerce-admin-updates)
- [WooCommerce Blocks Updates](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.6#woocommerce-blocks-updates)
- [WooCommerce Core Updates](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.6#woocommerce-core-updates)
-[WooCommerce API Updates](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.6#woocommerce-api-updates)
- [WooCommerce API Updates](https://github.com/woocommerce/woocommerce/wiki/Release-Testing-Instructions-WooCommerce-5.6#woocommerce-api-updates)
## WooCommerce Admin Updates:
@ -291,7 +291,7 @@ add_action('woocommerce_init', function() {
1. Edit or add an order in wp admin WooCommerce > Orders
1. Click edit besides the shipping address
1. Add phone number and save
1. View phone number. It will be clickable to match billing phone.r
1. View phone number. It will be clickable to match billing phone.
1. In the order actions metabox, send the invoice
1. Check the invoice email. Shipping phone will be displayed alongside the shipping address.
1. Go to Admin > Users > Profile
@ -375,3 +375,24 @@ add_filter( 'woocommerce_product_export_batch_limit', function () {
`POST /wp-json/wc/v3/orders/<id>/refunds`
1. Create another order with a product whose stock is managed.
1. Refund the order using the API, this time specifying the `api_restock` parameter with a `false` value. Verify that the stock is not restored.
### Add support for Shipping Phone Number in Order and Customer classes [#30097](https://github.com/woocommerce/woocommerce/pull/30097)
1. Edit or add an order in wp admin WooCommerce > Orders
1. Click edit besides the shipping address
1. Add phone number and save
1. Do a request to `/wp-json/wc/v3/orders/<id>` and confirm new shipping `phone` field exists with the `shipping` address.
```
"shipping": {
"first_name": "",
"last_name": "",
"company": "",
"address_1": "",
"address_2": "",
"city": "",
"state": "",
"postcode": "",
"country": "",
"phone": ""
},
```