Kathy Daring
0ccff4dda5
Repalce jQuery.focus() except in 3rd party assets
2021-01-07 15:06:18 -07:00
Kathy Daring
61c4e20863
replace jQuery..bind except in 3rd party assets
2021-01-07 15:04:26 -07:00
Kathy Daring
a67def78de
Replace jQuery.click()
2021-01-07 15:00:55 -07:00
Kathy Daring
80a8d66106
Replace jQuery.submit()
2021-01-07 15:00:14 -07:00
Kathy Daring
cc0714f612
Replace Jquery.isFunction() except in 3rd party assets
2021-01-07 14:59:17 -07:00
Vedanshu Jain
e74bc15103
Merge pull request #28745 from woocommerce/fix/28741
...
Revert order and product controllers to use WP Post queries directly.
2021-01-07 17:37:25 +05:30
vedanshujain
f8bcf6271d
Revert order and product controllers to use WP Post queries directly.
...
This commit revert some of the changes added in #27735 because wc_get_products and wc_get_orders is not fully compitable with API controller queries. Since we are close to release 4.9, its better to revert and fix them properly then rush a fix. This undones some the performance improvements we acheived in 27735, in favor of more stability, hopefully we will be able to restore this soon.
2021-01-07 16:47:54 +05:30
Rodrigo Primo
007f3ec8aa
Merge pull request #28706 from paulochang/patch-1
...
Remove post code from Guatemala
2021-01-06 17:58:23 -03:00
Ron Rennick
6d402c96c8
Merge pull request #28017 from woocommerce/fix/25643
...
Fix E2E variable product test
2021-01-06 14:39:19 -04:00
Ron Rennick
7959ba3d16
Merge pull request #28045 from woocommerce/fix/28012
...
add support for custom E2E container name
2021-01-06 13:52:42 -04:00
Peter Fabian
7640c7f1bd
Merge pull request #28731 from woocommerce/fix/28729
...
Restore stock_status in V3 response.
2021-01-06 14:25:09 +01:00
vedanshujain
27b22d3aaa
Move the logic to set stock_status from V2 to V3.
2021-01-06 17:55:56 +05:30
Vedanshu Jain
e989b7cb03
Merge pull request #28728 from woocommerce/update/wc-admin-1.8.3
...
Bump wc-admin to 1.8.3
2021-01-06 16:30:25 +05:30
vedanshujain
1c774a0494
Create composer.lock with composer 2.0.
2021-01-06 16:28:32 +05:30
vedanshujain
b0cc43a188
More for individual fields in responses for V2 and V3 products and orders endpoints.
2021-01-06 16:04:56 +05:30
vedanshujain
e546c237b7
Add tests for checking all fields are returned even requested individually.
2021-01-06 15:12:55 +05:30
vedanshujain
2ae6c5b543
Also fetch dependencies for fields which are computed from other fields.
2021-01-06 15:09:50 +05:30
vedanshujain
1fdc24daa9
Add unit test for verifying that all expected fields are present.
2021-01-06 14:19:26 +05:30
vedanshujain
0d43aecebd
Also fetch in_stock when stock_status requested in V2.
...
When called from V3, controller calls V2s get_product_data method, where stock_status was did not existed and was renamed. In V3 controller, we compute it based on V2 in_stock field.
2021-01-06 14:14:59 +05:30
Joel Thiessen
509d45abb3
Bump wc-admin to 1.8.3
2021-01-05 16:23:21 -08:00
Roy Ho
c6f6d04c2e
Merge pull request #28558 from tyrann0us/patch-2
...
Invert “if” statement to reduce nesting
2021-01-05 12:02:01 -08:00
jonathansadowski
1e267980e8
Merge pull request #28723 from woocommerce/feature/issue-27208
...
Feature/issue 27208
2021-01-05 14:00:55 -06:00
Ron Rennick
b3b73e069a
merge upstream
2021-01-05 14:56:27 -04:00
Ron Rennick
35e490e631
restore accidental readme deletion
2021-01-05 14:52:29 -04:00
roykho
b25f01d2f3
Add unit tests
2021-01-05 08:14:39 -08:00
Leif Singer
62d5e9a0bc
fix an overlooked merge conflict resolution issue
2021-01-05 15:06:51 +01:00
Ron Rennick
3076e1e50f
disable setting variation fields in variable product test
2021-01-05 13:24:51 +01:00
Ron Rennick
120fc00f82
use waitAndClick, waitForSelector where applicable
2021-01-05 13:24:51 +01:00
Ron Rennick
7a03688006
variation test works to last uncommented step
2021-01-05 13:24:51 +01:00
Ron Rennick
923bf28d44
use checkbox object for checking/unchecking
2021-01-05 13:19:49 +01:00
Ron Rennick
eca159ecab
phpcs fixes, on sale dates should be displayed in local time
2021-01-05 13:19:49 +01:00
Ron Rennick
0d2a5ac5e9
Fixes needed for variable product E2E test
...
- Jest/Puppeteer sometimes will not find an element on page load when that element is outside the initial viewport
- There were duplicate .variation_tab classes which confused Jest/Puppeteer
- Add function for opening and verifying new product page
- Update test sequence for changes in flow in markup and Jest/Puppeteer
2021-01-05 13:19:49 +01:00
Vedanshu Jain
7d4cf1b8bf
Merge pull request #28677 from woocommerce/fix/request-request-arg-api
...
Add protection around `func_get_arg` method for backward compatibility.
2021-01-05 17:45:31 +05:30
vedanshujain
3a7e3fda34
Use `!empty` for consistency with other usages.
2021-01-05 16:37:39 +05:30
vedanshujain
80f5d35311
Apply coding standards w.r.t PR #28677
2021-01-05 13:47:16 +05:30
roykho
7b091485a2
Create product tags if they don't exists closes #27208
2021-01-04 14:59:28 -08:00
Ron Rennick
82fb9f106d
Merge pull request #27137 from woocommerce/issue_26959
...
Modify the logic for deleting variations
2021-01-04 13:06:24 -04:00
Paulo Chang
41f853fbc1
Remove post code from Guatemala
...
Guatemala has no real working postal service. We therefore don't use postal codes. Address and department is enough.
2020-12-31 22:41:51 +01:00
Ron Rennick
3aee9f2dbd
Merge pull request #28678 from woocommerce/update/changelog
...
Add changelog for new fixes.
2020-12-30 10:04:10 -04:00
Ron Rennick
91e39b70c3
Merge pull request #28575 from woocommerce/add/e2e-simple-price-config-variable
...
Add config variable for simple product price to default.json
2020-12-30 10:00:49 -04:00
zhongruige
f472d3cc0f
Cast to number for the comparison
2020-12-29 10:38:36 -07:00
zhongruige
e3765dc650
Code review feedback
2020-12-29 09:10:22 -07:00
vedanshujain
37198e579c
Add changelog for new fixes.
2020-12-28 19:23:01 +05:30
Vedanshu Jain
b3be8931d6
Merge pull request #28630 from woocommerce/update/jetpack-autoloader
...
Updated the Jetpack Autoloader to v2.7.1
2020-12-28 19:00:43 +05:30
vedanshujain
dd22387bc7
Merge branch 'master' into update/jetpack-autoloader
2020-12-28 18:20:15 +05:30
vedanshujain
818e24d5c5
Add protection around `func_get_arg` method for backward compatibility.
...
We are using func_get_arg method to receive argument in a backward compatible way since we cannot modify function signature to add more params even with default params. Earlier I was hoping to use DI to create another child class with modified signature and load it depending upon where we are executing from, however since we had to revert DI, we add this workaround to unblock #27735 .
2020-12-28 14:10:22 +05:30
zhongruige
aeb0f5861f
Make sure the tests are backwards compatible
2020-12-27 15:18:31 -07:00
zhongruige
98ee48d1df
Merge branch 'master' of https://github.com/woocommerce/woocommerce into add/e2e-simple-price-config-variable
2020-12-24 16:15:09 -07:00
Vedanshu Jain
9db6e2e49c
Merge pull request #28643 from woocommerce/feature/fix-build
...
Feature/fix build
2020-12-24 13:12:58 +05:30
roykho
e4efc70df4
Add subdirectory pattern match instead of being verbose as suggested
2020-12-23 06:11:29 -08:00