Commit Graph

39163 Commits

Author SHA1 Message Date
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
Vedanshu Jain 514367af28
Merge pull request #29987 from woocommerce/fix/29738
Set geolocation transients to expire in one day
2021-06-04 13:10:45 +05:30
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
Claudio Sanches d2d660a806 Remove ASBPATH check from interfaces 2021-06-03 13:02:19 -03:00
Ron Rennick f3908c9fe9
add wait between loading shop and add to cart (#30017) 2021-06-03 16:07:55 +02:00
Mike Jolley 01f71d7564 Add phone to api 2021-06-03 14:05:30 +01:00
Mike Jolley 5e26428d44 Add order test 2021-06-03 14:05:19 +01:00
Mike Jolley e9db2d4522 Add shipping phone to user profile/order screen 2021-06-03 13:58:19 +01:00
Mike Jolley 9c7f886e13 Cleanup shipping phone in privacy classes 2021-06-03 13:57:00 +01:00
Mike Jolley d19c31dee3 Add shipping phone to user facing emails 2021-06-03 13:55:56 +01:00
Mike Jolley e168702bb3 Add shipping phone to data stores 2021-06-03 13:55:37 +01: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
Rodel Calasagsag 95c088142b Removed unnecessary 3rd attribute in default variations object 2021-06-03 20:06:50 +08:00
Leif Singer b2ab18d168
fix Slack OAuth scopes typo in README 2021-06-03 13:42:10 +02:00
Rodel Calasagsag de56309f81 REmove unnecessary imports 2021-06-03 19:20:59 +08:00
Rodel Calasagsag 28c2597b0f Allow customization of variable product and variations 2021-06-03 19:16:20 +08:00
Brian Henry b4fc1737bc Remove functionless ABSPATH check.
Checking for ABSPATH is recommended so WordPress functions are not called before WordPress has been loaded. This does not apply to interfaces.
2021-06-02 23:39:48 -07: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
Rodel Calasagsag 46b5cf8803 Use factories object to create variable products 2021-06-02 21:12:31 +08:00
Rodel Calasagsag 0a6d38fc6b TODO: use factory instead 2021-06-02 18:46:12 +08:00
Rodel Calasagsag f616645f7b Select attributes based on what's written in default.json 2021-06-02 18:45:20 +08:00
Rodel Calasagsag c46a30be8c Added logo attribute to variation 2021-06-02 18:43:38 +08:00
Rodel Calasagsag ee50c0d4b2 Return variable product object from response 2021-06-02 16:43:55 +08: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
Rodel Calasagsag 2276f70fd2 Remove merchant login & logout steps surrounding createVariableProduct() 2021-06-01 20:06:00 +08:00
Rodel Calasagsag a028973279 Use api to create variable product 2021-06-01 20:04:04 +08:00
Rodel Calasagsag ddef1d8d95 updated property names to match those in API documentation 2021-06-01 20:03:25 +08:00
Nestor Soriano c6dff96c0f
Undo a wrong change in filtering logic. 2021-06-01 11:25:57 +02:00
Nestor Soriano 72442f20bb
Add the remaining tests for the Filterer class. 2021-06-01 10:06:25 +02:00
Sabbir Ahmed 4b33e5490f fix js console error when add new shipping zone button clicked 2021-06-01 12:05:05 +06:00
Nestor Soriano c78627e6ee
Add unit tests for the Filterer class (variable products) 2021-05-31 16:54:55 +02:00
Albert Juhé Lluveras d01261e19a Allow block templates for WooCommerce pages 2021-05-31 12:57:47 +02: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
Nestor Soriano 9878aa37aa
Add unit tests for the Filterer class (simple products only for now)
Also fix a small issue in the product counters when using "or" filter.
2021-05-28 17:27:03 +02: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
Claudio Sanches 517b723c63 Set geolocation transients to expire in one day 2021-05-25 17:59:50 -03: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