vedanshujain
15d4bd7381
Don't individual tax lines to honour "Round at subtotal" setting.
2020-03-02 15:19:16 +05:30
vedanshujain
3546e60d96
Use common rounding method for consistency.
2020-03-02 15:19:16 +05:30
vedanshujain
740e2c8a92
Treat individual tax totals as line items because they will be totalled later.
...
This means that we won't round them individually unless we have setting for round at line item enabled.
2020-03-02 15:19:16 +05:30
vedanshujain
48e63adf77
Make rounding methods consistent in orders and cart
2020-03-02 15:19:16 +05:30
vedanshujain
f5e5eda946
Refactor `create_order` to make it more testable
2020-03-02 15:19:00 +05:30
Renovate Bot
6a8a33ed7b
Update dependency grunt-stylelint to v0.14.0
2020-03-01 02:50:52 +00:00
Renovate Bot
2c835619e2
Update dependency eslint-plugin-jest to v23.8.1
2020-03-01 02:50:17 +00:00
Renovate Bot
674a479d63
Update dependency config to v3.3.0
2020-03-01 01:36:55 +00:00
Renovate Bot
5614466b91
Update dependency commander to v4.1.1
2020-03-01 01:36:22 +00:00
Renovate Bot
d792495e30
Update dependency @wordpress/e2e-test-utils to v4.3.0
2020-03-01 00:59:22 +00:00
Renovate Bot
71484c98fc
Update babel monorepo
2020-03-01 00:58:43 +00:00
Vedanshu Jain
6f2b232fc7
Merge pull request #25734 from woocommerce/fix/25650
...
Fixed caching for order item on deletion
2020-02-27 13:48:44 +05:30
Christopher Allford
37ff503855
Adjusted the ordering of the cache clear on order item deletion to prevent leaving behind a ghost cache entry
2020-02-26 09:36:28 -08:00
Christopher Allford
165138fc30
Renamed the WC_Order_item_Data_Store::clear_cache method to be consistent with other data stores.
2020-02-26 09:34:27 -08:00
Peter Fabian
d43d8685b6
Merge pull request #25661 from woocommerce/update/changelog
...
Update 3.9.2 changelog and fixes for 4.0 changelog
2020-02-26 13:25:59 +01:00
Peter Fabian
150c77ba29
Improve coupon name output handling.
2020-02-26 12:24:04 +01:00
Peter Fabian
1edddebbde
Merge pull request #25701 from woocommerce/fix/25700
...
change the namespace of the WC Admin Package class
2020-02-26 12:10:14 +01:00
Peter Fabian
d9c90dc873
Merge pull request #25757 from woocommerce/fix/25756
...
move edited attribute message to consistent location
2020-02-26 11:28:29 +01:00
Peter Fabian
7fdee5b03e
Merge pull request #25707 from woocommerce/fix/as-460
...
Mark AS migration pending when updating WC to ensure migration happens.
2020-02-25 22:03:45 +01:00
Paul Sealock
27504e8bd5
bump wc-admin to 0.26.1
2020-02-26 10:02:01 +13:00
Kathy Daring
38e081e590
Set adding_to_cart trigger to variable. If false, do not fire ajax. Closes #25759 .
2020-02-25 13:12:27 -07:00
Peter Fabian
4271eb94d7
Merge pull request #25736 from woocommerce/try/db-update-notice
...
Added the WC Admin enabled db update notice.
2020-02-25 20:19:38 +01:00
Ron Rennick
25ab5596a2
fix composer.lock conflict
2020-02-25 15:00:55 -04:00
Ron Rennick
39417f161e
merge previous commit
2020-02-25 14:56:22 -04:00
Ron Rennick
4e43b27aed
update status report to correctly show active plugin
2020-02-25 14:51:22 -04:00
Peter Fabian
4138aecdcd
Merge pull request #25696 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
...
Update dependency woocommerce/woocommerce-blocks to v2.5.13
2020-02-25 19:05:44 +01:00
Patricia Hillebrandt
c3379482a2
Updating docblock
2020-02-25 16:53:40 +01:00
Ron Rennick
84c2c7fb00
move edited attribute message to location consistent with other edited messages
2020-02-25 11:28:11 -04:00
Peter Fabian
d9f702c3d4
Merge pull request #25670 from woocommerce/fix/25664-2
...
Replaced deprecated Jetpack::is_staging_site call
2020-02-25 15:20:11 +01:00
Peter Fabian
63486a1cb0
Force the saving of notices for the 'install' notice to prevent performance problems for all notices, while also making it less prone to race conditions during the installation.
2020-02-25 15:00:37 +01:00
Peter Fabian
992c6538dc
Force the saving of notices only for the 'update' notice to prevent performance problems.
2020-02-25 14:58:02 +01:00
Peter Fabian
f3dceae5df
Added more exclusions for the DB notice show_reminder method.
...
Also, moved `woocommerce_hide_update_notice` outside those exclusions in case
it would get triggered from cron or via AJAX.
2020-02-25 14:51:09 +01:00
Peter Fabian
aec5373ab2
Updated the Package class namespace according to latest changes in WC Admin.
2020-02-25 14:38:13 +01:00
Peter Fabian
d115418c29
Merge pull request #25747 from woocommerce/fix/jetpack-configure
...
Add defensive checks because `configure` is not present in older jetp…
2020-02-25 11:36:17 +01:00
Renovate Bot
0f317108cf
Update dependency woocommerce/woocommerce-blocks to v2.5.13
2020-02-25 10:25:02 +00:00
vedanshujain
f5220383a5
Add defensive checks because `configure` is not present in older jetpack version
2020-02-25 15:03:15 +05:30
Peter Fabian
56839efcbf
Merge pull request #25745 from woocommerce/update/AS-3.1.1-unit-tests
...
Bump Action Scheduler to 3.1.1 + unit tests
2020-02-25 10:26:49 +01:00
Peter Fabian
f1f02dc292
Remove the patch from PR 450, as it's already included in 3.1.1.
2020-02-25 10:13:56 +01:00
Peter Fabian
19b180af7e
Updated composer.lock file.
2020-02-25 09:32:56 +01:00
Vedanshu Jain
0dc5c0bcb1
Merge pull request #25742 from woocommerce/fix/25651
...
Run configure for Jetpack plugin before attempting to try_registration.
2020-02-25 09:31:27 +05:30
Ron Rennick
77d6dc1342
update WCA class namespace in unit tests
2020-02-24 23:22:11 -04:00
Ron Rennick
22d5dce682
change the namespace of the WC Admin Package class
2020-02-24 22:56:32 -04:00
Ron Rennick
2d70a48361
bump action scheduler version, add queue unit tests
2020-02-24 21:45:19 -04:00
Peter Fabian
d4933d9a5d
Run configure for Jetpack plugin before attempting to try_registration.
...
This should prevent the fatal error otherwise occuring when connecting with Jetpack
during the OBW if Jetpack is inactive/not installed.
2020-02-24 17:47:07 +01:00
Peter Fabian
27b5210fdf
Merge branch 'master' into fix/25664-2
2020-02-24 13:34:24 +01:00
Peter Fabian
3dcb3e0106
Correct the fallback check logic for is_staging_site().
...
There are JP versions where \Automattic\Jetpack\Status exists, but does not
contain is_staging_site() function, so this commit should correctly handle
those cases as well.
2020-02-24 11:01:44 +01:00
brakf
a0ebe12cc2
reverted my changes as I moved the filter to wc-order-functions
2020-02-24 08:24:12 +01:00
brakf
050d702f49
move filter to wp-order-functions.php
2020-02-24 08:22:34 +01:00
Peter Fabian
7ec65a1b35
Added the WC Admin enabled db update notice.
2020-02-23 21:59:03 +01:00
Christopher Allford
6a292de9f9
Cleared the cache when order items are added, updated, or deleted
2020-02-23 12:41:33 -08:00