Nestor Soriano
9ef18fea0e
Change the calculate_refund_amount_from_line_items method
...
to return the calculated amount instead of setting it in the request.
2021-02-16 15:44:51 +01:00
Nestor Soriano
fae00e2bdf
Make the refunds creation REST API behave more as documented
...
- Allow the list of line items to be a non-associative array
where each item is identified by an "id" field
- Same for taxes inside line items, specify amount to refund in
a "refund_total" key as in the case of line items
- Allow "quantity" keys as synonyms of "qty"
Also calculate "amount" automatically if missing and when all the
line items and taxes have a valid "refund_total" key.
2021-02-11 09:51:13 +01:00
Roy Ho
986b4fe0b9
Merge pull request #29089 from woocommerce/fix/issue-29087
...
Type cast floats to prevent string addition errors in PHP 8 closes #2…
2021-02-10 19:16:53 -08:00
Greg
6d16e6831a
Merge pull request #29064 from woocommerce/add/e2e-merchant-order-customr-payment-page
...
Add e2e test: merchant order customer payment page
2021-02-10 16:01:47 -07:00
Claudio Sanches
734f54c0fb
Merge pull request #29070 from woocommerce/enhancement/28924
...
Add CI for code coverage and code sniff on GitHub actions.
2021-02-10 19:50:13 -03:00
Claudio Sanches
69c5d428a2
Merge pull request #29095 from woocommerce/fix/conditional-wc-admin
...
Check if WC Admin is active before showing message
2021-02-10 19:45:34 -03:00
Roy Ho
84c1e64a1d
Merge pull request #29036 from mehul0810/issue/28992
...
Removed extra closing brace ) from the Zone regions help text.
2021-02-10 13:52:33 -08:00
roykho
315c4de5c3
Check if WC Admin is active before showing message
2021-02-10 13:21:35 -08:00
Greg
dcbbde1ce6
Merge pull request #29082 from woocommerce/e2e/e2e-fix-flaky-cart-coupons-test
...
Make cart coupons test more granular
2021-02-10 12:57:35 -07:00
Ron Rennick
cd8826e85f
Merge pull request #29037 from woocommerce/packages/update-e2e-docs
...
Update E2E docs
2021-02-10 15:29:41 -04:00
roykho
93e528f8ea
Type cast floats to prevent string addition errors in PHP 8 closes #29087
2021-02-10 10:06:25 -08:00
Veljko
389075256c
Merge branch 'master' into e2e/e2e-fix-flaky-cart-coupons-test
2021-02-10 14:00:14 +01:00
Veljko
f3b18880f0
Add waits to avoid flakiness
2021-02-10 13:22:04 +01:00
Veljko
c7cf42020f
Remove unnecessary code from test
2021-02-10 12:29:56 +01:00
Vedanshu Jain
6b862e12e5
Merge pull request #28940 from woocommerce/install-e2e-only-explicitly
...
Improve the WooCommerce build process
2021-02-10 16:26:04 +05:30
Veljko
c27aa94a80
Updated cart coupons test
2021-02-10 11:51:08 +01:00
zhongruige
5d228cc4ab
Code review feedback
2021-02-09 13:35:20 -07:00
vedanshujain
4a39b00a2e
Run build action only for WC PRs because forks wont have permission to post comment.
2021-02-09 16:20:00 +05:30
vedanshujain
8963755442
Use bash instead of sh
2021-02-09 16:15:48 +05:30
vedanshujain
3e0fc5e89b
Add CI for code coverage and code sniff on GitHub actions.
2021-02-09 16:09:56 +05:30
zhongruige
dfeea59f6b
Minor wording change
2021-02-08 17:03:19 -07:00
zhongruige
b52c31063f
Added new tests for customer order page in the merchant orders flow
2021-02-08 17:01:21 -07:00
Ron Rennick
c477644d2d
Merge pull request #28906 from woocommerce/package/utils/update/factory-dependency
...
@woocommerce/e2e-utils: updated fishery to 1.2
2021-02-08 19:03:52 -04:00
Greg
73c2eb20a0
Merge pull request #29060 from woocommerce/packages/ignore-default-json
...
allow env default.json to be untracked in git
2021-02-08 15:58:04 -07:00
Greg
36c9e951e5
Merge pull request #29059 from woocommerce/fix/e2e/get-app-name
...
fix import in get-app-name.js
2021-02-08 15:00:38 -07:00
Ron Rennick
493a8934be
Merge branch 'master' into package/utils/update/factory-dependency
2021-02-08 16:51:02 -04:00
Ron Rennick
099b1c486a
allow env default.json to be untracked in git
2021-02-08 16:12:10 -04:00
Ron Rennick
d2fd592819
fix import in get-app-name.js
2021-02-08 15:57:58 -04:00
Claudio Sanches
81cdb4df94
Merge pull request #29057 from woocommerce/update/jetpack-autoloader
...
Updated the Jetpack Autoloader to 2.9.1
2021-02-08 16:09:24 -03:00
Claudio Sanches
926af1d3c3
Merge pull request #29054 from Dan-Q/master
...
Change color of WooCommerce logo from old to new purple
2021-02-08 15:54:31 -03:00
Christopher Allford
2a1c322cbc
Updated the autoloader to 2.9.1
2021-02-08 10:43:48 -08:00
Greg
eb2491b93b
Merge pull request #28855 from woocommerce/e2e-shopper-grouped-product
...
Add new e2e test shopper grouped product
2021-02-08 11:34:40 -07:00
Dan Q
7d0e67c12e
Change WooCommerce logo color to new purple.
...
Re #29053 .
2021-02-08 11:57:02 +00:00
Dan Q
be04cce715
Merge pull request #1 from woocommerce/master
...
Merge from head master
2021-02-08 11:55:43 +00:00
jonathansadowski
10f92ca091
Merge pull request #29043 from woocommerce/fix/25261
...
Fix price filtering when there are variations.
2021-02-05 12:19:42 -06:00
Nestor Soriano
3976abffd6
Fix price filtering when there are variations.
...
The price filtering query wasn't working properly when there are
variations with different prices: if at least one variation was
outside of the price range but other were inside, the product wasn't
being listed.
2021-02-05 16:34:42 +01:00
Roy Ho
30e27acee8
Merge pull request #29039 from woocommerce/fix/eslint/build
...
Fix eslint errors to enable build step.
2021-02-05 06:07:55 -08:00
vedanshujain
2bb419e92f
Fix eslint errors.
2021-02-05 12:35:40 +05:30
Roy Ho
a420638ef3
Merge pull request #29038 from woocommerce/fix/jquery
...
Revert jQuery function change as these are not jQuery objects
2021-02-04 12:37:58 -08:00
roykho
5c76d8df59
Revert jQuery function change as these are not jQuery objects
2021-02-04 12:36:15 -08:00
Ron Rennick
8fde150ba9
update built-in readme with shorthand script
2021-02-04 15:52:18 -04:00
Ron Rennick
371f2c31a6
update missed StoreOwner/CustomerFlows in docs, improve readability of some sections
2021-02-04 15:45:57 -04:00
Mehul Gohil
beb5916947
remove unnecessary closing brace in help text
2021-02-05 01:02:20 +05:30
Greg
9ae9a2f58b
Merge pull request #28995 from woocommerce/packages/api/simplify-imports
...
simplify imports/exports in api package
2021-02-04 11:54:42 -07:00
Roy Ho
ce31630498
Merge pull request #28753 from helgatheviking/issues/28286-jquery-3
...
Issues/28286 Updates for deprecated jQuery 3 functions
2021-02-04 06:19:57 -08:00
Roy Ho
e57c07eeb5
Merge pull request #28983 from woocommerce/fix/issue-28649
...
Update tax rate label when saving order closes #28649
2021-02-04 05:40:23 -08:00
jonathansadowski
e5a3ac48aa
Merge pull request #28933 from Mindsize/wc-24581-holding-stock-minutes
...
Wc 24581 holding stock minutes
2021-02-03 16:05:18 -06:00
Roy Ho
5f81036a70
Merge pull request #29019 from woocommerce/update/composer-packages
...
Update composer dependencies
2021-02-03 14:01:12 -08:00
Claudio Sanches
0131210907
Update composer dependencies
2021-02-03 18:10:05 -03:00
Veljko
ff71de8578
Fix spaces and split tests
2021-02-03 13:13:28 +01:00