Commit Graph

307 Commits

Author SHA1 Message Date
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
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
Mike Jolley 4df54b4e53 Merge branch 'master' 2018-06-07 11:24:12 +01:00
therealgilles 0a6e5f7d16 Merge branch 'master' of https://github.com/woocommerce/woocommerce 2018-06-04 20:13:45 +00:00
Mike Jolley c74540fb1e
Merge pull request #20046 from woocommerce/feature/custom-shipping-calc-data
Allows manipulate cart shipping calculator data
2018-05-30 16:00:21 +01:00
Peter Fabian 082c1dfaf3 Excluded children categories from WP_Query in product shortcode if cat_operator=AND. 2018-05-24 16:12:48 +01:00
therealgilles 830e42794e Add woocommerce_checkout_skip_update_order_review_expired and woocommerce_checkout_skip_cart_is_empty_check filter calls. 2018-05-23 20:40:23 +00:00
therealgilles f7ec8c22de Add woocommerce_checkout_skip_update_order_review_expired and woocommerce_checkout_skip_cart_is_empty_check filter calls. 2018-05-23 20:08:14 +00:00
Mike Jolley be63fb152a Preview checkout without dummy product 2018-05-22 11:19:09 +01:00
Claudio Sanches aa814c294b Allows manipulate cart shipping calculator data
Introduces woocommerce_cart_calculate_shipping_address and
woocommerce_shipping_calculator_enable_country to allow full control in
the cart shipping calculator fields
2018-05-11 13:26:34 -03:00
Mike Jolley b357aa3e0f Prime post caches in shortcodes to reduce queries. 2018-05-01 12:31:17 +01:00
Mike Jolley efe06cb147 Remove direct calls to wc_print_notices 2018-04-19 18:26:21 +01:00
Claudio Sanches 0660a50e07 Removed obvious boolean results 2018-03-21 19:57:10 -03:00
Mike Jolley fb8b670cda Merge branch 'master' into update/19345 2018-03-19 18:00:28 +00:00
Mike Jolley e509e92f7b BW compat for nonce check 2018-03-19 17:59:30 +00:00
Mike Jolley d099aae4ec Fix test and default 2018-03-19 13:05:43 +00:00
Mike Jolley 1c9143546f Use wc_get_default_products_per_row as the default for product shortcodes
Closes #19408

Will apply if no fixed columns are provided via the shortcode args.
2018-03-15 11:16:34 +00:00
Mike Jolley 5d6b43dbc8 Update nonce handling 2018-03-13 14:16:56 +00:00
Claudio Sanches 397f440233 Fixed class-wc-shortcode-checkout.php PHPCS violations 2018-03-09 13:25:29 -03:00
Claudio Sanches 505d906c66 Fixed class-wc-shortcode-order-tracking.php PHPCS violations 2018-03-09 13:15:53 -03:00
Claudio Sanches af8c59de94 Fixed class-wc-shortcode-my-account.php PHPCS violations 2018-03-09 13:11:52 -03:00
Claudio Sanches 64d93eafc0 Fixed class-wc-shortcode-cart.php PHPCS violations 2018-03-09 12:59:01 -03:00
Claudio Sanches 92c4ea7a49 Fixed class-wc-shortcode-products.php PHPCS violations 2018-03-09 12:55:37 -03:00