Commit Graph

38777 Commits

Author SHA1 Message Date
Nestor Soriano b85c8b6138
Merge branch 'master' into add/29609 2021-06-08 17:55:13 +02:00
Nestor Soriano 039f81ea50
Implement the product attributes lookup table data creation.
Lookup entries for a product or a variation are created whenever
the product is created, including untrashing and duplication
(not yet when an existing product is modified).
2021-06-08 17:53:45 +02:00
Nestor Soriano e54ff461f9
Implement the product attributes lookup table data deletion.
Lookup entries for a product or a variation are deleted whenever
the product is deleted or trashed.
2021-06-07 16:54:08 +02:00
Nestor Soriano 7f86d1988d
Remove superfluous 'delete' method in WC_Product_Variation class. 2021-06-07 16:52:22 +02:00
Nestor Soriano f237642af4
Refactor save method in WC_Product and WC_Product_Variable
The 'save' method in WC_Product_Variable was almost identical
to the parent method in WC_Product, only adding a few bits
of extra processing before and after the actual datastore save.
This commit adds a couple of protected methods,
before_data_store_save_or_update and after_data_store_save_or_update,
and implements them in WC_Product_Variable so that the extra
'save' method in WC_Product_Variable can be removed.
2021-06-04 12:21:29 +02:00
jonathansadowski 062ba0bcb7
Merge pull request #30035 from woocommerce/update/action-scheduler-3.2.0
Update Action Scheduler to 3.2.0.
2021-06-03 13:59:46 -05:00
barryhughes 2d613f9d9c Update composer.lock in relation to Action Scheduler (3.2.0) update. 2021-06-03 10:47:15 -07:00
barryhughes be42d2c0bf Update Action Scheduler to 3.2.0. 2021-06-03 10:36:03 -07:00
Ron Rennick f3908c9fe9
add wait between loading shop and add to cart (#30017) 2021-06-03 16:07:55 +02:00
Ron Rennick 0c762a3266
Merge pull request #30030 from woocommerce/update/readme-typo-slack-oauth
fix Slack OAuth scopes typo in README
2021-06-03 09:09:35 -03:00
Leif Singer b2ab18d168
fix Slack OAuth scopes typo in README 2021-06-03 13:42:10 +02:00
Roy Ho 0507f06508
Merge pull request #30012 from woocommerce/update/widgets-show-instance-in-rest-api
Widgets: show instance in Rest API
2021-06-02 07:37:59 -07:00
Claudio Sanches c81440f56e
Merge pull request #30010 from woocommerce/fix/29982-show-tracker-data-via-cli
Add a CLI command for dumping tracker data to terminal
2021-06-02 10:34:05 -03:00
Rua Haszard 414ba48ee2 switch to using a Formatter for more flexible output, improve docs 2021-06-02 15:49:25 +12:00
Rua Haszard afb59d060c
fill in @since version number for WC_CLI_Tracker_Command
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-06-02 15:29:14 +12:00
Rua Haszard e0ff75f826
rename command to `snapshot` in `tracker` namespace
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-06-02 15:28:16 +12:00
Claudio Sanches 94bdcd0320
Merge pull request #27684 from woocommerce/refactor/settings-pages-classes-take-2
Refactor the settings pages, and add unit tests for them
2021-06-01 13:19:49 -03:00
Michael P. Pfeiffer 3e36432d94 Widgets: show instance in Rest API 2021-05-31 12:20:57 +02:00
Rua Haszard bcadf9d264 add a CLI command for dumping tracker data to terminal 2021-05-31 14:55:29 +12:00
Roy Ho 84f8fcd016
Merge pull request #29938 from geektzu/fix/29708
Fix for deleted Reduce or Zero rate tax classes
2021-05-28 07:11:33 -07:00
geektzu 394b6665f8 Move the comments as per code review 2021-05-28 10:26:31 +12:00
Claudio Sanches e745be1b42
Merge pull request #29783 from macr1408/trunk
Check for WP Error when uploading products placeholder
2021-05-26 19:28:43 -03:00
Claudio Sanches c9db54c784
Update includes/class-wc-install.php 2021-05-26 19:26:35 -03:00
Claudio Sanches 639623edb2
Update includes/class-wc-install.php 2021-05-26 19:26:02 -03:00
Claudio Sanches d29a2784b1
Merge pull request #29986 from mahdiyazdani/patch-4
Typo in `product_data_panels` method comment
2021-05-26 19:22:28 -03:00
Ron Rennick d586d11ca2
add support for projects to suppress console output (#29960)
* add support for projects to suppress console output

* update E2E env readme, package lock maintenance
2021-05-26 13:20:08 +02:00
Barry Hughes 71cdb3d752
Merge pull request #29848 from yehudah/fix/29840
Curaçao: remove postcode field, stop requiring the state field | #29840
2021-05-25 13:08:28 -07:00
Mahdi Yazdani e682a44878
Typo in `product_data_panels` method comment 2021-05-25 20:06:30 +03:00
Ron Rennick e52bb139e8
release api package 0.2.0 (#29930) 2021-05-25 16:00:56 +02:00
Christopher Allford 4ec6d9d9a9
Merge pull request #29980 from woocommerce/fix/29709
Use prop function to set attributes closes #29709
2021-05-24 14:49:14 -07:00
Christopher Allford e97044b067
Merge pull request #29979 from woocommerce/update/woocommerce-admin/2.3.1
Update woocommerce-admin package to 2.3.1
2021-05-24 13:58:10 -07:00
roykho 2e106f64cf
Use prop function to set attributes closes #29709 2021-05-24 12:55:15 -07:00
Christopher Allford 084b13657b Fixed lock file version 2021-05-24 12:50:05 -07:00
Timmy Crawford 5f9b632eae Update woocommerce-admin package to 2.3.1 2021-05-24 12:00:32 -07:00
Ron Rennick ba8597432d
support analytics page tests having charts (#29958) 2021-05-24 18:00:26 +02:00
Ron Rennick e1d5fc06a4
Packages/e2e releases (#29951)
* update env docs, bump version to 0.2.2

* update util docs, bump version to 0.1.5

* update core-tests docs, bump version to 0.1.4
2021-05-24 17:37:33 +02:00
Vedanshu Jain 48c6646365
Merge pull request #29941 from woocommerce/update/rename-products-widgets
Block Widgets: rename Products, Products by Rating and Recent Viewed Products widgets
2021-05-24 14:42:01 +05:30
Greg 7c5fd005fd
Merge pull request #29939 from woocommerce/e2e/remove-merchant-ui-login
Remove merchant login/logout calls
2021-05-22 10:06:33 -06:00
Claudio Sanches 02000dc8a3
Merge pull request #29945 from woocommerce/fix/29891
Calculate order total before applying a percentage fee
2021-05-21 17:46:15 -03:00
Roy Ho a5cd695e62
Merge pull request #29959 from woocommerce/revert/28187
Revert #28187
2021-05-21 13:22:13 -07:00
Christopher Allford 070954c888 Revert #28187
The default functionality within the `ThemeSupport` class has an unintended
side-effect of breaking the existing default functionality within the
`wc_get_theme_support()` function. Since the default set in the support
class is prioritized over the one given to `ThemeSupport::get_option()`,
the WordPress options set in the Customizer are never used for images.
2021-05-21 12:10:15 -07:00
Christopher Allford 514068982a
Merge pull request #29956 from woocommerce/fix/28822
Fix regression of using jQuery ON when bind should be used ref #28822
2021-05-21 11:18:10 -07:00
Vedanshu Jain 6667233eb1
Merge pull request #29762 from woocommerce/fix/29502
Update restock logic during refunds closes #29502
2021-05-21 22:53:22 +05:30
roykho 7dd2be207e
Fix regression of using jQuery ON when bind should be used ref #28822 2021-05-21 08:08:33 -07:00
roykho 65bbb719b9
Clean up code and update version 2021-05-21 06:32:29 -07:00
Rodel Calasagsag 072af834b9 Clear browser cache and cookies after each test.
Add merchant logins to relevant onboarding & setup tests
2021-05-21 19:27:50 +08:00
geektzu 3ee412155b Fixed function signature and re-ran unit tests locally
Also stick to the commenting standard
2021-05-21 18:04:35 +12:00
del 8a7f185652 Trash posts using WP API 2021-05-21 04:55:14 +08:00
del e455479db9 Removed unnecessary merchant logout 2021-05-21 04:43:47 +08:00
del 7751034808 Added necessary merchant logins 2021-05-21 04:43:29 +08:00