Claudio Sanches
d48f1d4e2e
Fixed package tag usage
2020-08-05 13:36:24 -03:00
Vedanshu Jain
b45373fe0c
Revert "Revert "Introduce a `reserved stock` class and database table to prevent race conditions during checkout""
2020-06-05 15:18:01 +05:30
Gregory Karpinsky
42bc3d3bf3
Update class-wc-shortcode-products.php
...
Spelling in a comment
2020-05-31 08:27:14 -04:00
Vedanshu Jain
ee119e0a7e
Revert "Introduce a `reserved stock` class and database table to prevent race conditions during checkout"
2020-04-21 15:37:21 +05:30
Mike Jolley
02cf328afe
Remove check for held stock minutes during stock checks - this will be handled elsewhere
2020-04-03 15:55:14 +01:00
Claudio Sanches
2ebd86f2dc
Revert "Revert "Add support for '_held_for_checkout` records to prevent race conditions.""
2020-04-03 15:55:13 +01:00
Claudio Sanches
4de580dca8
Merge pull request #25573 from mgibbs189/master
...
Adds a `woocommerce_shortcode_products_query_results` hook
2020-02-05 18:42:06 -03:00
Matt Gibbs
f57f1c6293
Requested commenting & hook tweaks
2020-02-05 13:08:40 -05:00
vedanshujain
946aecae9e
Show notice when logged in user pays for gues order
2020-02-05 15:42:15 +05:30
Matt Gibbs
e4e0755bbc
Adds a `woocommerce_shortcode_products_query_results` hook
...
This hook makes it easier to grab a shortcode's results (product IDs, pager data)
2020-02-04 15:01:56 -05:00
Claudio Sanches
0bec8443f4
Merge pull request #25137 from woocommerce/fix/24936
...
Only update the customer IP address when order gets created from admin
2020-01-30 19:41:08 -03:00
Rodrigo Primo
7337ab60c2
Fix PEAR.Functions.FunctionCallSignature violations
...
This commit fixes all violations of the PEAR.Functions.FunctionCallSignature sniff automatically using phpcbf.
2019-12-20 15:25:23 -03:00
Rodrigo Primo
00c40dab1a
Add pay order product has enough stock filter ( #25230 )
...
* [#25021 ] Add filter when checking if product has enough stock while paying for order
* [#25021 ] Retain original < check, invert bool
* [#25021 ] Make filter more readable
2019-12-13 11:16:30 -03:00
Claudio Sanches
0d1d0d6653
Fixed coding standards
2019-12-06 11:18:13 -03:00
Khokan Sardar
51252a6f8e
Fixed issue #24575 ( #24586 )
...
* Fixed issue #24575
* Fixed implementation for #24575
2019-12-05 21:23:40 -03:00
Juancho Pestana
b8217fa080
Fix #24365 : Prevent billing address from being updated on shipping update. ( #24374 )
...
* Prevent billing address from being updated on shipping update.
* Set billing address if empty.
* Fix coding standard issue.
* Fixed missing tab
2019-12-05 21:17:01 -03:00
Claudio Sanches
a12c25862b
Revert "Add support for '_held_for_checkout` records to prevent race conditions."
2019-12-04 16:03:05 -03:00
Claudio Sanches
0c486785ad
Merge pull request #25089 from woocommerce/fix/24009
...
Add support for '_held_for_checkout` records to prevent race conditions.
2019-12-03 17:47:22 -03:00
Christopher Allford
91877b8f42
Revert "Changed the default sorting for the products shortcode to "menu_order""
...
This reverts commit 4a8645c9b4
.
2019-12-03 09:54:23 -08:00
Peter Fabian
fa38299ad1
Added abstraction for checking the modus of order creation.
2019-11-29 15:32:38 +01:00
Peter Fabian
9a91341334
Only update the IP address when order gets created from admin.
...
This should prevent potential conflicts/race conditions with callbacks from payment gateways updating the order in parallel.
2019-11-28 15:10:33 +01:00
Christopher Allford
a0c4d54b4a
Updated NonceVerification code sniff suppressions
...
The suppressions come in two flavors, a warning and an error. The suppressions have been updated to respect those states accordingly.
2019-11-21 09:19:56 -08:00
vedanshujain
882b441bfb
Remove order_id param because order is not pending (see desc).
...
In the query inside method `wc_get_hold_stock_quantity` we have a clause of `status = wc_pending`. Call for this method here is already nested inside an `if` condition which checks that order is not pending. So this parameter is not needed here and only adds complexity to the final query.
2019-11-21 13:49:49 +05:30
Christopher Allford
4a8645c9b4
Changed the default sorting for the products shortcode to "menu_order"
...
In order to take advantage of the "Sorting" admin feature, we need to make use of the menu order sorting. Initially we were using the title, which would ignore whatever the user set.
2019-11-20 09:19:54 -08:00
Christopher Allford
b12574e9e4
Fixed code sniffs
2019-11-20 08:16:19 -08:00
Claudio Sanches
acc57ec853
Introduced "woocommerce_output_cart_shortcode_content" filter
2019-10-01 14:28:31 -03:00
Rodrigo Primo
e7c0c894b2
Merge pull request #24154 from ryangjchandler/master
...
Fix #24153 - Added filter to disable password change notification
2019-09-24 18:08:04 -03:00
Rodrigo Primo
9c9715ac8d
Merge pull request #24435 from strayobject/fix-show-error-in-myaccount-when-order-missing
...
fix: show error message in myaccount if order does not exist.
2019-08-21 16:29:10 -03:00
Claudio Sanches
4b45905f18
Prevent load order twice
2019-08-19 18:19:36 -03:00
Michal Zdrojewski
b2e9584a53
fix: show error message in myaccount if order does not exist.
2019-08-19 16:47:17 +01:00
rgjchandler
687197f234
Fix #24153 - Added filter to disable password change notification
2019-07-15 16:00:13 +01:00
alerobertson
b7ab7b81c9
Add tag_operator to products shortcode
...
Allow user to decide how products are filtered by tag, instead of defaulting to IN
2019-07-09 13:06:35 -04:00
Claudio Sanches
cb12b30c85
Fixed @since tag version
2019-07-02 12:51:36 -03:00
Claudio Sanches
fe4dfea8eb
Merge pull request #23771 from woocommerce/fix/23756
...
Fix Top rated shortcode results
2019-06-24 12:18:57 -03:00
Gerhard
3a49e7a53b
Clear notices after calling checkout/cart-errors.php to avoid duplicate notices on the cart page. cart-errors.php does not output notices but a general notice message yet error notices are still enqueued before calling the template.
2019-05-22 09:49:53 +02:00
Claudio Sanches
a2301dc0cb
Removed deprecated PHPCS flags
2019-05-20 17:06:41 -03:00
Claudio Sanches
5eaf71b483
Fixed coding standards
2019-05-20 17:04:24 -03:00
Claudio Sanches
cc6d7996fd
Restored WC_Shortcode_Products::order_by_rating_post_clauses
2019-05-20 16:57:14 -03:00
Ibrahim
0db84aec56
Fixes #23756
2019-05-18 21:04:13 +05:30
Mike Jolley
4672a47d67
Update from master
2019-02-18 11:41:05 +00:00
Mike Jolley
00b48febac
Merge branch 'update/versioned-transients-alt'
2019-02-06 13:18:50 +00:00
Mike Jolley
fe2e70d7dc
Merge pull request #22392 from woocommerce/fix/checkout-shipping-address-20975
...
For logged in customers, pull default address fields from customer object, not session object
2019-02-04 11:23:03 +00:00
Mike Jolley
afbdd06e83
Merge branch 'pr/22409'
2019-01-22 13:12:34 +00:00
Mike Jolley
6367d19615
phpcs
2019-01-21 08:11:40 -08:00
Mike Jolley
452bb5b5e7
Include version within transient
2019-01-21 12:31:48 +00:00
plexus admin
9acc7ced5d
Add function wc_get_is_pending_statuses
2019-01-16 09:54:02 -06:00
Mike Jolley
f68a547f53
Don't mix session and customer data
2019-01-15 16:49:01 +00:00
Claudiu Lodromanean
c3050db67c
Merge pull request #22337 from woocommerce/fix/22048
...
Restore non-cart notice printing opportunity during checkout
2019-01-08 12:16:20 -08:00
Mike Jolley
15979d975a
phpcs
2019-01-08 16:56:23 +00:00
Mike Jolley
ce2473e09f
Whenn loading address fields, enforce valid address
2019-01-07 16:03:23 +00:00