Gerhard
22bb52f9be
Fix failing unit tests due to changes in #24111
2019-07-10 08:48:33 +02:00
Claudio Sanches
8af5117bf4
Fixed unit tests and coding standards
2019-05-20 17:27:25 -03:00
Rodrigo Primo
18ee70918b
Fix PHPCS violations in tests/ using PHPCBF
...
This commit fixes all 1533 PHPCS errors that PHPCBF can fix automatically in the tests/ directory. Before this change there was a total of 3106 PHPCS errors in the WooCommerce repository and now there is 1573 errors.
2019-05-01 19:05:00 -03:00
David Garcia Watkins
7a55f67f47
Fix test
2018-09-28 18:46:05 +02: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
Mike Jolley
d099aae4ec
Fix test and default
2018-03-19 13:05:43 +00:00
claudiulodro
8cf36aa0d2
New shortcode features for products block
2018-03-01 10:05:22 -08:00
claudiulodro
d60456cc73
Resolve conflicts and bring up to date with master
2017-12-04 13:56:59 -08:00
claudiulodro
832d17dcbd
Update test
2017-12-01 08:39:02 -08: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
Claudio Sanches
6dc58b4f6a
Allow select visibility in product shortcodes
...
Ref #15979
2017-08-29 18:29:29 -03:00
Claudio Sanches
acad44e3c9
Auto map legacy attributes to the new ones
2017-08-28 17:45:56 -03:00
Claudio Sanches
32ea76f09f
Render product_attribute shortcode results with WC_Shortcode_Products
2017-08-25 19:07:10 -03:00
Claudio Sanches
ddeea547b1
Use WC_Shortcode_Products inside featured_products shortcode
2017-08-25 18:42:02 -03:00
Claudio Sanches
72df581c6f
Use WC_Shortcode_Products inside top_rated_products shortcode
2017-08-25 15:55:34 -03:00
Claudio Sanches
c0da59d75a
Use WC_Shortcode_Products inside best_selling_products shortcode
2017-08-25 11:46:47 -03:00
Claudio Sanches
366686c34a
Fixed unit tests for PHP 5.2 and 5.3
2017-08-25 11:01:25 -03:00
Claudio Sanches
3dabdda480
Apply WC_Shortcode_Products class into sale_products shortcode
2017-08-25 11:00:48 -03:00
Claudio Sanches
0cea847c63
Renamed $loop_name to $type
2017-08-24 22:22:42 -03:00
Claudio Sanches
d7bea55aae
Use WC_Shortcode_Products to render product shortcode results
2017-08-24 22:16:42 -03:00
Claudio Sanches
013da90f51
Included unit test for recent_products shortcode
2017-08-24 21:38:42 -03:00
Claudio Sanches
461066d2b1
Allow query products by category on products shortcode
2017-08-24 21:24:05 -03:00
Claudio Sanches
429aecd400
Allow set loop name
2017-08-24 20:20:14 -03:00
Claudio Sanches
57379938b5
WC_Shortcode_Products unit tests
2017-08-24 20:12:12 -03:00