vedanshujain
f1742e2298
Exclude user table columns as well
...
This is to prevent overwriting of original column data by a meta data if meta_key name is same as a column.
2020-11-13 01:02:15 +05:30
Christopher Allford
1041c8d238
Updated WooCommerce Admin
2020-11-12 11:22:39 -08:00
vedanshujain
a2231c4387
Add unit test
2020-11-12 22:58:05 +05:30
vedanshujain
00b7b40c37
Add method to get rates based on order.
...
This method will prioritize getting rates from billing/shipping address instead of `WC()->customer` which in irrevelant in context of editing order from admin screen.
2020-11-12 22:58:05 +05:30
vedanshujain
24a69fd249
Add return param comment
2020-11-12 22:58:05 +05:30
vedanshujain
74de152535
Use tax location from order while computing tax in discount.
...
We were not passing tax location while computing discount in orders, hence it was defaulting to shop's base address resulting in incorrect tax calculation.
This commit refactors `get_rates` method into another method that allows getting rates from location directly.
2020-11-12 22:57:56 +05:30
Rodrigo Primo
7659b984dc
Merge pull request #28058 from woocommerce/fix/27937
...
Replaces some jQuery deprecated code
2020-11-12 14:00:39 -03:00
Roy Ho
decf1805de
Merge pull request #28114 from woocommerce/fix/issue-27972
...
Update SSR version to check against major versions only closes #27972
2020-11-12 06:34:58 -08:00
roykho
5597f74e81
Merge branch 'master' into fix/issue-27972
2020-11-12 06:21:52 -08:00
Roy Ho
8331759fa1
Merge pull request #28169 from woocommerce/fix/issue-27710
...
Hide add to cart button if all products in group are out of stock clo…
2020-11-12 05:59:14 -08:00
Rodrigo Primo
a33c6ea746
Merge pull request #28162 from woocommerce/renovate/wordpress-monorepo
...
Update dependency @wordpress/eslint-plugin to v7.3.0
2020-11-12 09:14:45 -03:00
vedanshujain
04fe12b5fb
Add proper params because otherwise this query will not set caches.
2020-11-12 15:10:16 +05:30
Christopher Allford
05ebdf9677
Adjusted Travis' PHPUnit to use the vendor binary instead of a global install
2020-11-11 23:42:14 -08:00
vedanshujain
fdceac9866
Delete refund cache for parent order when its deleted.
2020-11-12 10:01:15 +05:30
Claudio Sanches
e445e3c3cf
Merge pull request #28250 from woocommerce/fix/28103
...
Fixed placeholders and translators style WC_Form_Handler::add_to_cart_handler_variable
2020-11-11 20:25:01 -03:00
Claudio Sanches
6e2086e3eb
Check if $product exists before using
...
And removed some PHP variables.
2020-11-11 19:55:59 -03:00
Claudio Sanches
cb727736c0
Fixed placeholders and translators style
2020-11-11 19:47:03 -03:00
Claudio Sanches
d77fc005d2
Merge pull request #28233 from woocommerce/fix/template-names
...
Load product category content with content-product-cat.php
2020-11-11 19:31:08 -03:00
Claudio Sanches
404bdbff48
Merge pull request #28242 from woocommerce/update/replace-usage-of-depracted-function
...
Replace call to deprecated woocommerce_reset_loop()
2020-11-11 19:30:02 -03:00
Roy Ho
5dd19658f5
Merge pull request #28069 from woocommerce/fix/issue-27504
...
Fix stock reducing incorrect amount when order item is deleted after …
2020-11-11 14:05:37 -08:00
Christopher Allford
84968cd1ff
Removed Travis Composer downgrade
2020-11-11 13:53:53 -08:00
Christopher Allford
b22268c754
Updated to Composer v2
...
This also updates the woocommerce/woocommerce-admin and woocommerce/woocommerce-blocks packages as their dependence on `composer/installers` precludes update otherwise
2020-11-11 13:45:51 -08:00
roykho
4ec270b93d
Add unit tests for the fix
2020-11-11 15:28:06 -06:00
roykho
134786ada8
Fix stock reducing incorrect amount when order item is deleted after a refund closes #27504
2020-11-11 15:28:06 -06:00
Roy Ho
edb06be34e
Merge pull request #27997 from woocommerce/fix/issue-27656
...
Fix checkout page not displaying visual blocking when place order is …
2020-11-11 12:53:17 -08:00
roykho
18bc862773
Remove fix from TwentyNineteen as the issue can't be reproduce anymore
2020-11-11 12:52:05 -08:00
Rodrigo Primo
d8fdfabebf
Merge pull request #28161 from woocommerce/renovate/webpack-4.x
...
Update dependency webpack to v4.44.2
2020-11-11 16:24:34 -03:00
Rodrigo Primo
8c0d8115b1
Merge pull request #28160 from woocommerce/renovate/node-sass-4.x
...
Update dependency node-sass to v4.14.1
2020-11-11 16:24:11 -03:00
Rodrigo Primo
9f1567009f
Merge pull request #28156 from woocommerce/renovate/babel-monorepo
...
Update babel monorepo
2020-11-11 16:23:43 -03:00
Rodrigo Primo
2399668a05
Simplify code per reviewer suggestion
...
See https://github.com/woocommerce/woocommerce/pull/28058#pullrequestreview-519096925
2020-11-11 16:09:33 -03:00
Roy Ho
e0204e04e4
Merge pull request #28241 from woocommerce/fix/27566
...
Add shipping, tax and fee lines to refund response for better information in refund REST API.
2020-11-11 08:11:56 -08:00
Tam Mullen
04c9e2f12f
Merge pull request #28191 from woocommerce/packages/core-tests/functional-permlainks-test
...
add permalinks working test
2020-11-11 14:58:01 +00:00
Tam Mullen
8f46eec95a
Merge pull request #28198 from woocommerce/add/package-changelogs
...
add/update e2e package change logs
2020-11-11 14:12:52 +00:00
Rodrigo Primo
5d1435836d
Replace call to deprecated woocommerce_reset_loop()
...
This commit simply replaces the single call in WooCommerce core codebase to the deprecated woocommerce_reset_loop() function with its replacement wc_reset_loop().
2020-11-11 10:26:56 -03:00
vedanshujain
62ae94d93e
Add shipping, tax and fee lines to refund response for better information.
2020-11-11 18:47:48 +05:30
Renovate Bot
311ccb9944
Update dependency @wordpress/eslint-plugin to v7.3.0
2020-11-11 02:29:27 +00:00
Christopher Allford
72e93f11b2
Update CHANGELOG.md
...
Updated the `@woocommerce/api` changelog
2020-11-10 16:32:11 -08:00
Christopher Allford
93d6b261c6
Merge pull request #28129 from woocommerce/add/lerna-hoist
...
add lerna hoist, use consistent package versions
2020-11-10 16:13:58 -08:00
Claudio Sanches
f1f2c3cfff
Load product category content with content-product-cat.php
2020-11-10 20:54:59 -03:00
Claudio Sanches
54847356d0
Merge pull request #28226 from CHEWX/patch-2
...
[typo] - fix
2020-11-10 20:50:07 -03:00
Christopher Allford
28f5704ff3
Merge pull request #28206 from woocommerce/packages/api/add/simple-product
...
@woocommerce/api: Complete SimpleProduct implementation
2020-11-10 15:11:52 -08:00
Ron Rennick
ac89e09c9e
remove duplicate package dependency entries
2020-11-10 16:29:22 -04:00
Gerhard Potgieter
6832dc96a4
Make wc shipping button also purple
2020-11-10 19:43:11 +02:00
Gerhard Potgieter
3c1352d36c
Remember to break
2020-11-10 19:36:34 +02:00
Gerhard Potgieter
caf2ea99fa
Shorten title as per feedback
2020-11-10 19:26:44 +02:00
Gerhard Potgieter
8afae13724
Update addons-button-solid to new purple
2020-11-10 18:37:43 +02:00
Gerhard Potgieter
48ff367299
Revert "Use right purple"
...
This reverts commit 0f62b77d6e
.
2020-11-10 18:33:24 +02:00
Gerhard Potgieter
0f62b77d6e
Use right purple
2020-11-10 18:32:32 +02:00
Gerhard Potgieter
a0812d5009
Remove redirect as it does not work with the background installer
2020-11-10 18:28:47 +02:00
Gerhard Potgieter
b5fb7c0104
Add purple woo button
2020-11-10 18:26:59 +02:00