Commit Graph

21100 Commits

Author SHA1 Message Date
Roy Ho e62f20b9b3
Merge pull request #29049 from wppunk/master
Fix #29048
2021-03-17 13:46:19 -07:00
Roy Ho f89b21488e
Merge pull request #29391 from woocommerce/fix/28516
Handles errors in fault installations of PHP Intl
2021-03-17 09:43:06 -07:00
Claudio Sanches fc991ac418 Remove translation function 2021-03-17 12:50:52 -03:00
Peter Fabian aa9b6ab691 Change got merged sooner than expected. 2021-03-17 10:13:28 +01:00
Néstor Soriano 17224d0ab1
Merge pull request #29345 from woocommerce/hw/low-stock-threshold-for-variations
Low stock threshold for variations
2021-03-17 08:59:32 +01:00
Claudio Sanches 5c6778a0dc Fix coding standards 2021-03-16 11:46:34 -03:00
Peter Fabian cb6e0d8201 Don't echo the strings, return them for later use. 2021-03-16 13:01:15 +01:00
Peter Fabian a2e9c055d5 Make the inherited values explicit by stating where it comes from. 2021-03-16 12:39:25 +01:00
Peter Fabian f33c80186f Updated the wording of the tooltip. 2021-03-16 08:51:29 +01:00
Claudio Sanches 3f50ab3278 Handles errors in fault installations of PHP Intl 2021-03-15 17:48:49 -03:00
Peter Fabian bb5c56c148 Set correct placeholder value for variation--first the parent, then the store-wide default. 2021-03-15 18:41:55 +01:00
Peter Fabian e6cdd74a79 Add parent's default for low stock if notthing is set on individual variation.
I.e. use variation low stock amount value, if not available, use parent product's value, if not available, use the store-wide default.
2021-03-15 18:31:31 +01:00
Roy Ho 57569c5168
Merge pull request #29232 from Dartui/trunk
Pass checkout submit result to triggered handler
2021-03-15 09:46:31 -07:00
Peter Fabian 2ae5ec59ba Improve the description of the low stock threshold tooltip. 2021-03-15 12:42:10 +01:00
Peter Fabian 8bfa97d633 Use null rather than empty string to signify unset value. 2021-03-15 12:37:39 +01:00
Krzysztof Grabania aebdf869d9 Add order_id to checkout result response 2021-03-13 10:52:08 +01:00
roykho efdf76634b
Fix docblock defaults to false closes #29367 2021-03-12 11:59:18 -08:00
Roy Ho ee90c02f63
Merge pull request #29218 from wywarren/fix/27553
Fix for issue #27553 - REST API v3 not supporting settings type `order` and `class` for settings type on shipping zone methods
2021-03-11 09:22:34 -08:00
Peter Fabian aac4ecc943 Added comment documenting the history of the function. 2021-03-11 16:58:51 +01:00
Peter Fabian 1f8f8580d1 Better wording of the tooltip--being more specific about what the amount relates to. 2021-03-11 16:26:41 +01:00
Peter Fabian b48a389264 Add support for low stock amount to REST API v3. Ref #27371. 2021-03-11 16:21:43 +01:00
Néstor Soriano b446417be6
Merge pull request #29281 from woocommerce/fix/issue-25375-cache
Fix/issue 25375 cache
2021-03-11 08:30:41 +01:00
roykho 1df38c2f6b
Refactor and moved filter to _wc_recount_terms function 2021-03-10 12:33:46 -08:00
Peter Fabian f7755f123e Enable bulk updates of variations with low stock amount. 2021-03-10 18:15:31 +01:00
Peter Fabian e2e589b049 Don't take the low stock amount info from the parent of the variation, but the variation itself.
Potentially bw incompatible.
2021-03-10 17:57:56 +01:00
Peter Fabian 685be2a791 Connect the UI to the db to allow updates of the values. 2021-03-10 17:24:52 +01:00
Peter Fabian b92d1d1391 Harmonize the id and name with simple product. 2021-03-10 15:38:49 +01:00
Peter Fabian a6b45d08bf Added low stock threshold input to the Admin UI. 2021-03-10 11:47:22 +01:00
roykho cf634987b4
Prepare default branch 2021-03-09 06:11:41 -08:00
Saggre 24167a5eed Fix typos in docs 2021-03-05 11:19:58 +02:00
roykho 71d8f760b0
Apply recount term per product with filter to product data store 2021-03-04 13:54:09 -08:00
roykho cb0b92750b
Extract recount terms logic into own function closes #25375 2021-03-04 09:06:03 -08:00
Roy Ho 20c8cbee0c
Merge pull request #29008 from inc2734/patch-1
The order of the full name returned by WC_Countries::get_formatted_address()
2021-03-04 07:31:45 -08:00
Claudio Sanches d8735d7225
Merge pull request #29151 from woocommerce/hide_coupon_on_incomplete_checkout
Prevent displaying coupon form on checkout requiring login
2021-03-03 17:05:53 -03:00
Roy Ho 9ba49a0e4b
Merge pull request #29117 from tyler-paulson/docs
Fixes to documentation of WC_Shipping_Rate
2021-03-03 11:54:02 -08:00
Moon 00a272fa85
Merge pull request #29174 from woocommerce/add/28568-dashboard-widget-finish-setup
Add/28568 dashboard widget - setup
2021-03-02 16:46:51 -08:00
Moon d013d7f765 Move init logic to should_display_widget 2021-03-02 16:06:10 -08:00
Néstor Soriano 1181c4be4a
Merge pull request #28535 from woocommerce/add/disable_wc_admin_tracking
Tracker: Add tracking of woocommerce_admin_disabled usage.
2021-03-02 09:35:38 +01:00
Claudio Sanches 6df220c2cc
Merge pull request #29121 from hsingyuc/fix/28868
Remove extra content wrapper
2021-03-01 14:09:13 -03:00
Claudio Sanches df191037c6
Merge pull request #29241 from woocommerce/update/28936
Merging 28936
2021-02-26 20:55:45 -03:00
Claudio Sanches d133ee9d08 Fixed docblock 2021-02-26 20:54:40 -03:00
Claudio Sanches 3ed9e4b259
Merge pull request #28936 from Mindsize/wc-26857-add-action-remove-order-item
WC Issue: 26857 - Add action remove order item
2021-02-26 20:53:23 -03:00
Claudio Sanches bcdfe3cb68
Merge pull request #29182 from woocommerce/fix/26973-get-customer-location
Avoid/minimize wc-ajax requests when `geolocation_ajax` is enabled | #26973
2021-02-26 20:33:29 -03:00
roykho 503a218e85
Revert "Flush term cache when saving product and settings closes #25375"
This reverts commit 8b0915c4e0.
2021-02-26 12:42:23 -08:00
Roy Ho f6d77c206d
Merge pull request #29228 from woocommerce/fix/28238
Update default GIT branch
2021-02-26 11:59:09 -08:00
Vedanshu Jain 422002a2a8
Merge pull request #29200 from woocommerce/fix/upgrade-notices-major-version
Remove compatibility checks for major version
2021-02-26 14:55:30 +05:30
Warren Wang d6b2e91c9d Minor adjustments to fit coding standards
Added periods to comments and proper spacing and capitalization to comments.
2021-02-26 13:45:20 +08:00
Claudio Sanches d6e3cf6de9 Update default GIT branch 2021-02-25 20:51:14 -03:00
Timmy Crawford c7a19b538a Updates per feedback. 2021-02-25 15:19:27 -08:00
Timmy Crawford 47a3d1bfb3 Tracker: Add tracking of woocommerce_admin_disabled usage. 2021-02-25 15:19:27 -08:00