Commit Graph

39444 Commits

Author SHA1 Message Date
Nestor Soriano 319b95b6f1
Modify "wc_get_price_excluding_tax" to use order location for rates
The order is optional and must be passed as an "order" key in "$args".
If present, the order customer will be passed to "WC_Tax::get_rates"
in order to calculate the taxes to substract (provided that
"$product->is_taxable() && wc_prices_include_tax()")

Also "WC_Abstract_Order->add_product" and "WC_AJAX::maybe_add_order_item"
are modified to pass the order being processed so that ultimately
"wc_get_price_excluding_tax" uses it.

This prevents the base tax location to be wrongly used instead of the
customer location when the "woocommerce_adjust_non_base_location_prices"
hook is set to return false.
2021-09-10 11:45:01 +02:00
Barry Hughes 3ce7d627f2
Merge pull request #30640 from woocommerce/fix/30264
Add additional context to have browse all products open in new tab cl…
2021-09-08 12:05:10 -07:00
Greg 2efdcda7d3
Merge pull request #30658 from woocommerce/e2e/release-packages 2021-09-08 12:07:42 -06:00
Ron Rennick be4915bef5
Merge pull request #30559 from woocommerce/add/api-core-tests
Added API testing package
2021-09-08 11:35:28 -03:00
Ron Rennick 94b7254e40 release package updates 2021-09-08 11:01:02 -03:00
Greg 3e2c04a97c Minor tweaks and fixed a bug 2021-09-07 19:02:58 -06:00
Greg aaad21bb8b Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/api-core-tests 2021-09-07 17:17:43 -06:00
Greg 83155f5275 Remove todo line 2021-09-07 16:21:52 -06:00
Greg 095a74347a Code review feedback 2021-09-07 16:20:44 -06:00
Néstor Soriano 25f4aa730d
Merge pull request #30639 from woocommerce/fix/30471
Use prop to set checked state fixes #30471
2021-09-06 09:38:27 +02:00
roykho 15e8e1d19e
Add additional context to have browse all products open in new tab closes #30264 2021-09-03 07:56:27 -07:00
roykho 89535405bf
Use prop to set checked state fixes #30471 2021-09-03 07:24:25 -07:00
Roy Ho 2d005836eb
Merge pull request #30627 from woocommerce/update/wc-admin.2.6.1
Bump woocommerce-admin version to 2.6.1
2021-09-02 15:00:12 +01:00
Moon 2f04c0e0da Bump WCA version to 2.6.1 2021-09-01 18:01:05 -07:00
jonathansadowski f939eefb55
Merge pull request #30626 from woocommerce/fix/30607
Fix search input not getting focus when select2 dropdown element gets…
2021-09-01 17:59:08 -05:00
roykho ccf481c97b
Fix search input not getting focus when select2 dropdown element gets focused closes #30607 2021-09-01 11:41:01 -07:00
Ron Rennick e66124716d
Merge pull request #30119 from woocommerce/add/e2e-implement-describe-each
Add/e2e implement describe each
2021-09-01 15:02:26 -03:00
Rodel Calasagsag aa67c7e932 Merge branch 'trunk' into add/e2e-implement-describe-each 2021-09-01 14:30:15 +08:00
Rodel Calasagsag 7a835abaea Revert each() calls in onboarding tasklist tests 2021-09-01 14:29:55 +08:00
Greg 1ce5f7a863
Update README.md 2021-08-31 15:47:42 -06:00
Roy Ho de42581845
Merge pull request #30616 from woocommerce/update/wc-admin.2.6.0
Bump woocommerce-admin version to 2.6.0
2021-08-31 19:36:38 +01:00
Moon cf7ed6d49f Bump WCA version to 2.6.0 2021-08-31 10:19:40 -07:00
Ron Rennick 9e278853bf
Merge pull request #30609 from woocommerce/fix/e2e-checkout-page-failures
Fix/e2e checkout page failures
2021-08-31 13:44:23 -03:00
Greg a17cc41a2f
Update customer.js 2021-08-31 08:42:57 -06:00
Greg b6fc307b9b
Update request.js 2021-08-31 08:41:09 -06:00
Greg a1648e5d60
Merge branch 'trunk' into fix/e2e-checkout-page-failures 2021-08-31 08:17:50 -06:00
Ron Rennick f6c5dbf268
Merge pull request #30597 from woocommerce/add/e2e-get-environment-context
Get environment context for tests including WP version and WC version
2021-08-31 11:12:50 -03:00
Greg b2c281781e Skip WCCOM connection 2021-08-31 20:17:36 +08:00
rodelgc ecac17817b
Merge branch 'trunk' into add/e2e-implement-describe-each 2021-08-31 19:36:51 +08:00
Greg 4eaf1e1710 Update API call for zip code 2021-08-30 15:01:59 -06:00
Greg a130109445 Skip WCCOM connection 2021-08-30 14:22:23 -06:00
Greg e5e5cfd993 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/e2e-get-environment-context 2021-08-30 14:20:28 -06:00
Greg 494ff2c8de Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/e2e-checkout-page-failures 2021-08-30 14:20:01 -06:00
Greg 2624ad969d Merge branch 'add/e2e-get-environment-context' of github.com:woocommerce/woocommerce into add/e2e-get-environment-context 2021-08-30 13:24:12 -06:00
Greg b1990cfb85 Code review feedback 2021-08-30 13:23:54 -06:00
Roy Ho 778040ac74
Merge pull request #30606 from woocommerce/update/blocks-to-5.7.1
Update WooCommerce Blocks to 5.7.1
2021-08-30 20:20:44 +01:00
Darren Ethier 1fb5cc07da
update Woo Blocks to 5.7.1 2021-08-30 14:02:25 -04:00
Greg 59c69e54dd Added updateSettingOption and updatePaymentGateway to withRestAPI flows 2021-08-30 12:00:31 -06:00
Greg eaed316450
Added missing semicolon 2021-08-30 11:00:54 -06:00
Greg 7276a4e489 Code review feedback 2021-08-30 10:33:45 -06:00
Greg 9234fb7f3b Fix typo 2021-08-27 17:36:39 -06:00
Greg a688716587 Remove extra whitespace 2021-08-27 16:08:33 -06:00
Greg e496f5ef15 Minor fix to README 2021-08-27 16:07:55 -06:00
Greg 0f1325d937 Added changelog and readme 2021-08-27 16:04:03 -06:00
Greg efbb119b31 Get environment context for tests 2021-08-27 15:59:44 -06:00
Greg 77c7c386f0
Merge pull request #30595 from woocommerce/e2e/reset-obw-on-retest
reset E2E onboarding on retest
2021-08-27 13:57:55 -06:00
Ron Rennick 1cd8d14ac4 skip product search on WP versions < 5.8 2021-08-27 16:14:04 -03:00
Barry Hughes 55ae972e8a
Merge pull request #30573 from Melebius/fix/30553
Change the shop page summary.
2021-08-27 11:01:57 -07:00
Ron Rennick d129a980d9 reset onboarding on retest 2021-08-27 11:12:13 -03:00
jonathansadowski 614ae96516
Merge pull request #30585 from woocommerce/add/29461
Add 'modified_before' and 'modified_after' params to REST API
2021-08-27 08:25:23 -05:00