Commit Graph

328 Commits

Author SHA1 Message Date
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
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
Allen Snook 9efd543f73 Correct coding standard violations in pre-existing code 2019-01-04 08:39:57 -08:00
JeroenSormani f4775ccd90 Use shipping method instead of property through magic + doc return statements 2019-01-04 12:41:38 +00:00
Allen Snook 21441cc441 Restore non-cart notice printing opportunity during checkout 2019-01-03 15:52:45 -08:00
claudiulodro 695d3eb433 Add hold stock minutes check to order pay shortcode also 2018-11-26 11:10:07 -08:00
Gerhard aabae5d21f On form-pay, do not check for stock if not managing stock or allowing backorders. 2018-11-07 08:54:41 -05:00
Gerhard aa6a6f2b10 Refine numeric slug checking when using the products shortcode for attributes and categories. 2018-10-15 13:22:12 +02:00
Gerhard 48de1f6b97 Accommodate numeric slugs in the product shortcode attribute and category fields. 2018-10-15 12:49:56 +02:00
Peter Fabian 4dce6ec050
Merge pull request #21011 from woocommerce/fix/21010
Allow usage of orderby sorting via GET params when using the shortcode.
2018-08-14 09:54:11 +02:00
Peter Fabian ca08beaa42 Changed explicit check to implicit. 2018-08-13 19:44:33 +02:00
Peter Fabian 84e008337c Update customer's ip address on successful payment. 2018-08-13 14:37:21 +02:00
Gerhard Potgieter a250b0044f Add support for order as well to the shortcode 2018-08-08 13:44:47 +02:00
Gerhard Potgieter 2596796de3 Allow usage of orderby sorting via GET params when using the shortcode. 2018-08-08 11:05:27 +02:00
Claudio Sanches 575575d280 Fixed reset password cookie when REQUEST_URI includes cyrillic alphabet
WordPress core doesn't try to satinize this either.
See: ae2b929294/wp-login.php (L646)

Closes #20895
2018-07-25 20:33:11 -03:00
Mike Jolley 5e6405b650 Merge branch 'master' into update/13359 2018-06-15 15:12:12 +01:00
therealgilles 9adff87a1c Rename woocommerce_checkout_skip_cart_is_empty_check to woocommerce_checkout_redirect_empty_cart and invert filter polarity. 2018-06-10 18:58:47 +00:00
therealgilles 1d733236e0 Merge branch 'master' of https://github.com/woocommerce/woocommerce 2018-06-10 18:53:13 +00:00
Mike Jolley e92463632b Held stock qty check for pay page 2018-06-08 16:58:33 +01:00