Commit Graph

37795 Commits

Author SHA1 Message Date
Nestor Soriano 26f71af0a9 Fix in the logic of 'validate_checkout' regarding non-existing countries. 2021-02-08 16:20:33 +01:00
Nestor Soriano 9e2776bdfa Use 'isset' instead of 'array_key_exists' for 'country_exists'. 2021-02-08 15:58:02 +01:00
Nestor Soriano 07f3d9dee6 Add unit tests for the WC_Checkout class. 2021-02-08 15:49:38 +01:00
Nestor Soriano 70202c35bd Move country validation to 'validate_posted_data'.
Also, when shipping to billing address don't show the error twice,
and show the "we don't ship to X" error only if the country actually
exists (if it doesn't then we'll have shown the "X is not a valid
country code" already).
2021-02-08 15:37:50 +01: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
Niels Lange 63cac6fb82
👌 IMPROVE: Add body class woocommerce-shop to shop page 2021-02-08 14:55:07 +07: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
Veljko c18cbcec02 Remove variable from test 2021-02-05 10:49:52 +01:00
Veljko 3294897517 Add new shopper method and update test 2021-02-05 10:30:25 +01:00
Veljko 2bc07e9b55 Fix spacing in code 2021-02-05 09:29:30 +01:00
Veljko 9c0e1f37b9 Merge remote-tracking branch 'origin/fix/eslint/build' into e2e-shopper-browse-search-sort 2021-02-05 09:03:39 +01:00
Veljko 89caba74e6 Merge branch 'master' into e2e-shopper-browse-search-sort 2021-02-05 09:03:18 +01: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
Veljko 5c7fa67f35 Reorder shopper tests 2021-02-04 20:49:55 +01:00
Ron Rennick 371f2c31a6 update missed StoreOwner/CustomerFlows in docs, improve readability of some sections 2021-02-04 15:45:57 -04:00
Veljko 1d6d727350 Revert back change and update code 2021-02-04 20:44:29 +01:00
Mehul Gohil beb5916947
remove unnecessary closing brace in help text 2021-02-05 01:02:20 +05:30
Veljko 5b408704e0 Merge branch 'master' into e2e-shopper-browse-search-sort 2021-02-04 20:28:18 +01:00
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
Veljko 945d8bdf4a Update comment 2021-02-04 18:07:20 +01:00
Veljko 961ce70a2b Fix issue after merging master 2021-02-04 17:50:49 +01:00
Veljko 6f2e113ca2 Merge branch 'master' into e2e-shopper-browse-search-sort 2021-02-04 17:49:58 +01:00
Veljko be56fa7772 Reorder shopper tests 2021-02-04 17:23:37 +01: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
Veljko f6a19c1430 Reorder scenarios within test 2021-02-04 14:51:17 +01:00
Veljko 7f2163fdd8 Add new test shop browse search sort products 2021-02-04 14:44:23 +01: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
Takashi Kitajima ed042b5a83
The order of the full name returned by WC_Countries::get_formatted_address()
`WC_Abstract_Order::get_formatted_billing_full_name()` and 
`WC_Abstract_Order::get_formatted_shipping_full_name()` displays the names in the correct order according to the language, but `WC_Countries::get_formatted_address()` does not.
2021-02-03 14:21:43 +09:00
Kathy Daring 56281fc804 Reverse adb2c6b86... Restore jQuery.select() 2021-02-02 13:41:07 -07:00
Kathy Daring afd164e271 revert 0ccff4dda5. restore jQuery .focus() 2021-02-02 13:38:48 -07:00
Kathy Daring ffdb2d9059 Merge branch 'master' into issues/28286-jquery-3
# Conflicts:
#	assets/js/admin/meta-boxes-product.js
2021-02-02 09:43:08 -07:00
Kathy Daring 9b7b72f00a replace jQuery.bind except in 3rd party assets 2021-02-02 09:38:04 -07:00
Claudio Sanches cd70ca6895
Merge pull request #28895 from woocommerce/add/e2e-tests-to-gh-actions
Add/e2e tests to gh actions
2021-02-02 11:24:16 -03:00
James Allan 53e6a7317b Add filter to allow third-parties to filter exportable product types 2021-02-02 14:41:03 +10:00
Ron Rennick ba6debf83b add ts-ignore for interface 2021-02-01 22:02:15 -04:00
Ron Rennick 610e0d4f17 simplify imports/exports in api package 2021-02-01 19:41:18 -04:00
Roy Ho 17367c3669
Merge pull request #28993 from woocommerce/fix/wp5.7-no-robots
Proper implementation of wp_robots_no_robots() function
2021-02-01 14:47:38 -08:00
Claudio Sanches 0bd9c11b44 Fix conditional 2021-02-01 19:30:43 -03:00
Roy Ho 01f1d316aa
Merge pull request #28994 from woocommerce/update/requires-at-least
Increase WordPress minimum to 5.4
2021-02-01 14:25:04 -08:00
Claudio Sanches bf23ce5e35 Increase WordPress minimum to 5.4 2021-02-01 19:19:27 -03:00