Commit Graph

282 Commits

Author SHA1 Message Date
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
claudiulodro 8cf36aa0d2 New shortcode features for products block 2018-03-01 10:05:22 -08:00
Mike Jolley f56e40363b If using get_catalog_ordering_args. remove the args when finsihed 2018-02-08 13:59:03 +00:00
Mike Jolley 2ed9691c14 Fix shop on homepage with unsupported themes 2018-02-01 11:15:46 +00:00
Mike Jolley 5d11f660fe Fire hooks for pagination etc only when pagination is enabled 2018-01-31 21:46:52 +00:00
Mike Jolley 4378bd6df1 Enforce columns in shortcodes 2018-01-26 15:15:06 +00:00
Boro Sitnikovski 7b52082dc3 Allow stock to be overriden by filter when paying for orders 2018-01-17 14:31:56 +01:00
claudiulodro 4d370309be Change transient name 2018-01-08 13:09:50 -08:00
Mike Jolley 912c3e2ef8 Process form fields if set 2017-12-08 14:11:41 +00:00
Mike Jolley 1f2011e8de Tweak query args 2017-12-06 19:03:14 +00:00
Mike Jolley 119ee7f27c Use new loop functions 2017-12-06 18:10:44 +00:00
Mike Jolley 07792a253b Correct variable name 2017-12-06 15:54:40 +00:00
Mike Jolley 8dcffa660e Normalise get_query_results names and add new param for pagination 2017-12-06 13:13:43 +00:00
claudiulodro aab65923c1 Refactor for better style 2017-12-05 10:45:08 -08:00
claudiulodro 73bfc1444b Fix weird bracket 2017-12-05 08:42:50 -08:00
claudiulodro 813024c654 line up array 2017-12-05 08:42:04 -08:00
claudiulodro fec60ab2ea Fix product shortcode pagination 2017-12-05 08:31:50 -08:00
claudiulodro d60456cc73 Resolve conflicts and bring up to date with master 2017-12-04 13:56:59 -08:00
claudiulodro 22031c5b56 Tag support in shortcode 2017-11-30 13:43:32 -08:00
Claudio Sanches 48132a9dbf Fixed coding standards 2017-11-23 16:43:54 -02:00
Claudio Sanches e40138d188 Updated $GLOBALS['post'] data in products shortcode
No need to pass it as reference.
And passing by reference is breaking Divi's page builder.
2017-11-23 16:40:59 -02:00
Claudio Sanches b4347f4071 Restore global $GLOBALS['post'] after render products shortcode
Closes #17769
2017-11-17 18:38:30 -02:00
Claudio Sanches 01983e6b96 Query and save only IDs of products when fetching products by shortcode 2017-11-16 15:14:36 -02:00
Mike Jolley 3bf47d7d97 Fixed tests 2017-11-10 17:45:01 +00:00
Mike Jolley 155f8ed187 paginate 2017-11-09 13:44:24 +00:00
Mike Jolley 22bb92132e Ordering 2017-11-09 13:43:15 +00:00