Commit Graph

39844 Commits

Author SHA1 Message Date
And Finally 77528d9dd6 Addressing https://github.com/woocommerce/woocommerce/issues/30625 caused by iOS's behaviour around taps and hover, https://humanwhocodes.com/blog/2012/07/05/ios-has-a-hover-problem/. Adding `no-touch` class to body if we're not on a touch device. Adjusted CSS to take this class into account. 2021-09-13 14:29:32 +01:00
Nestor Soriano 39b24c1ffb
Add the 'woocommerce_quantity_input_min/step_admin' filters.
These filters allow changing the minimum value and change step for the
quantity editors in the order details page of the admin area,
in the context of order line edition and refund line edition.
2021-09-13 12:38:15 +02:00
Sandeep Rajakrishnan c144476128
Changed sizeof to count 2021-09-13 14:55:32 +05:30
Nestor Soriano 98a2391747
Add unit test for 'wc_get_price_excluding_tax'.
The test verifies that when an order is passed as an argument,
the order customer is passed to 'WC_Tax::get_rates'.
2021-09-13 10:16:18 +02:00
Greg 4707f48769 Added workflow for running smoke tests on PR 2021-09-10 15:24:24 -06:00
Ron Rennick d2a94ba5d9 update utils readme to include general utils 2021-09-10 15:56:16 -03:00
Ron Rennick 20cb447204 delete coupons instead of trashing them 2021-09-10 15:30:28 -03:00
Ron Rennick a6e4cf2023
Merge pull request #30688 from woocommerce/add/release-slack-channel
Use slack channel for release testing
2021-09-10 12:23:02 -03:00
Barry Hughes fb4162f92f
Merge pull request #30690 from woocommerce/fix/28996
Fix select2 dropdown alignment offset closes #28996
2021-09-10 05:32:53 -07:00
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
roykho 41f63bd487
Fix select2 dropdown alignment offset closes #28996 2021-09-09 15:12:26 -07:00
Greg 323a316bd3 Add release slack channel 2021-09-09 14:26:28 -06:00
Greg e09b43f099 Code review feedback 2021-09-09 12:23:23 -06:00
Greg 62453974dd Code review feedback 2021-09-09 11:01:13 -06:00
Greg edb10107cf Run API tests with regular run and add script 2021-09-09 08:41:36 -06: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
roykho c935a4a5f8
Add individual item remove notices for shipping and fees closes #29890 2021-09-07 08:06:32 -07:00
Sandeep Rajakrishnan 89c9dadd9b
Checking If sizeof($addons>0)
Checking  sizeof($addons>0) along with !empty($search) to display search results if addons found
2021-09-07 19:53:11 +05:30
Sandeep Rajakrishnan 432f7caf0d
Displaying message if sizeof($addons)==0
made changes requested in PR #30641
2021-09-07 19:42:27 +05:30
Sandeep Rajakrishnan 78bc4779ef
Merge branch 'woocommerce:trunk' into trunk 2021-09-07 19:01:44 +05:30
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
Sandeep Rajakrishnan 4bd9d696d2
Added text to be displayed when no search results
Added text to be displayed when no search results found , fixes issue #30588
2021-09-03 19:55:18 +05:30
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