Skip to content

Sync GitHub master#32

Open
pvpcookie wants to merge 14 commits into
masterfrom
sync-github-master
Open

Sync GitHub master#32
pvpcookie wants to merge 14 commits into
masterfrom
sync-github-master

Conversation

@pvpcookie
Copy link
Copy Markdown
Contributor

No description provided.

dependabot Bot and others added 14 commits March 31, 2022 02:47
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…t-1.2.6

Bump minimist from 1.2.5 to 1.2.6
## What's being changed

We've updated our compatibility with newer versions of WordPress and WooCommerce. The `WC requires at least` and `WC tested up to` tags have been moved to the main plugin file, because Woo only respects these, and doesn't look in readme.txt.

## Why it's being changed

We've tested the plugin against WordPress v6.0 and WooCommerce 6.5.1.

## How to review / test this change

- Download a 3.3.x Woo from https://developer.woocommerce.com/releases/
- Install locally
- On the plugins page, you shouldn't see any warnings by the invitation to upgrade WooCommerce (e.g. 'Dotdigital for WooCommerce has not been tested against the newer version of WooCommerce')

Related work items: #175984
…items

## What's being changed

Cart insight data.

## Why it's being changed

Cart insight line items' `salePrice` property is supposed to be the price paid by the customer at checkout (i.e. it can reflect a discount). In Woo, if there is no discount or sale on an item, `$product->get_sale_price()` returns an empty string. This change uses the regular price for the sale price, in these cases.

## How to review / test this change

- Add a full price item to the basket
- Add a sale item to the basket
- Check the cart insight posted has the expected values for `salePrice` for both line items

Related work items: #177402
Release note and version updates.

Related work items: #177651
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants