Merge branch 'release/4.5.1' into trunk
This commit is contained in:
commit
549afc1065
|
@ -0,0 +1,23 @@
|
|||
## Testing notes and ZIP for release 4.5.2
|
||||
|
||||
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-gutenberg-products-block/files/6028194/woocommerce-gutenberg-products-block.zip)
|
||||
|
||||
## Feature plugin and package inclusion in WooCommerce core
|
||||
|
||||
No changes.
|
||||
|
||||
## Feature plugin only
|
||||
|
||||
### Fix cart line subtotal display when currency has 0 decimals [(3876)](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3876)
|
||||
|
||||
1. Go to WooCommerce > Settings and change the currency format so it has 0 decimals, ie:
|
||||
![image](https://user-images.githubusercontent.com/3616980/108694932-fae92d00-74ff-11eb-8ab5-d2038527ea98.png)
|
||||
2. Add any product to your cart and go to the Cart and Checkout blocks.
|
||||
3. Verify cart line prices are displayed correctly, instead of being `0`.
|
||||
|
||||
|
||||
### Show total sale badge in medium carts & make it display below price [(3879)](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3879)
|
||||
|
||||
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.
|
||||
2. View the Cart block and ensure the price and sale badge display well.
|
|
@ -23,3 +23,4 @@ Every release includes specific testing instructions for new features and bug fi
|
|||
- [4.3.0](./430.md)
|
||||
- [4.4.0](./440.md)
|
||||
- [4.5.0](./450.md)
|
||||
- [4.5.2](./452.md)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "@woocommerce/block-library",
|
||||
"title": "WooCommerce Blocks",
|
||||
"author": "Automattic",
|
||||
"version": "4.5.1",
|
||||
"version": "4.5.2",
|
||||
"description": "WooCommerce blocks for the Gutenberg editor.",
|
||||
"homepage": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/",
|
||||
"keywords": [
|
||||
|
|
|
@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
|
|||
Requires at least: 5.4
|
||||
Tested up to: 5.7
|
||||
Requires PHP: 7.0
|
||||
Stable tag: 4.5.1
|
||||
Stable tag: 4.5.2
|
||||
License: GPLv3
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
|
@ -85,6 +85,13 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 4.5.2 - 2021-02-23 =
|
||||
|
||||
#### Bug Fixes
|
||||
|
||||
- Fix cart items showing a price of 0 when currency format didn't have decimals. ([3876](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3876))
|
||||
- Ensure the sale badge is displayed correctly below short prices in the Cart block. ([3879](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/3879))
|
||||
|
||||
= 4.5.1 - 2021-02-16 =
|
||||
|
||||
This release fixes an error that some users experienced when their site automatically updated to a temporarily broken version of the 4.5.0 release.
|
||||
|
|
|
@ -106,7 +106,7 @@ class Package {
|
|||
NewPackage::class,
|
||||
function ( $container ) {
|
||||
// leave for automated version bumping.
|
||||
$version = '4.5.1';
|
||||
$version = '4.5.2';
|
||||
return new NewPackage(
|
||||
$version,
|
||||
dirname( __DIR__ ),
|
||||
|
|
Loading…
Reference in New Issue