Commit Graph

368 Commits

Author SHA1 Message Date
Mike Jolley e777b4d557 Merge branch 'feature/product-csv-import-export' into feature/csv-exporter 2017-05-12 21:03:20 +01:00
Claudiu Lodromanean c6fc0003c3 Merge pull request #14971 from woocommerce/improvement/13646
WC_*_Query date queries
2017-05-11 21:43:41 -07:00
Claudio Sanches 663c1d5f51 Merge pull request #15012 from woocommerce/fix/14994
Correctly set rating during updates
2017-05-10 19:08:38 -03:00
claudiulodro e31cbfd5c4 Formatting for readibility 2017-05-10 14:33:29 -07:00
Mike Jolley 4cacceeede Variation handling 2017-05-10 22:16:53 +01:00
claudiulodro d461ea86d6 Use local timezone for yyyy-mm-dd queries 2017-05-10 13:08:47 -07:00
claudiulodro db1d5ac987 Simplify logic 2017-05-10 12:02:15 -07:00
claudiulodro a0727fb8a1 Change to date array 2017-05-10 11:49:11 -07:00
Mike Jolley 37a544dd6f Ensure needle is set
Fixes #15004
2017-05-10 19:30:34 +01:00
Mike Jolley cd9119443a Correctly set rating during updates
Fixes #14994
2017-05-10 19:21:38 +01:00
claudiulodro 5d86b2f001 Formatting 2017-05-09 14:55:39 -07:00
claudiulodro 93835f69db New working date query format 2017-05-09 14:49:45 -07:00
claudiulodro c89e389b3f Good progress towards better date queries 2017-05-09 11:37:45 -07:00
Mike Jolley 19fb7ac079 Fix hardcoded table name 2017-05-09 19:17:24 +01:00
Mike Jolley a741f2c7bf Make other queries match the new query in 14936 2017-05-08 19:08:59 +01:00
Mike Jolley b961d6fb74 Correctly exclude terms in wc_get_related_products
Fixes #14909
2017-05-08 14:15:16 +01:00
Mike Jolley dd3be1278b Merge pull request #14733 from woocommerce/feature/13646
WC_Object_Query & WC_Order_Query
2017-05-07 14:24:12 +01:00
Claudio Sanches 421c9a3ba7 Introduced woocommerce_shop_order_search_results filter
Closes #14857
2017-05-03 18:14:41 -03:00
Claudio Sanches 63552c9757 Fixed conflict between global attributes and custom attributes.
Check if is a custom attribute before trying to get an ID from a global attribute.
2017-05-03 16:30:50 -03:00
claudiulodro 7c393a4469 Better time handling 2017-04-28 14:01:06 -07:00
claudiulodro 1bb46ad876 Array filter results 2017-04-28 10:12:31 -07:00
Mike Jolley af09548ec0 Add missing shipping_company from internal props in data store
Fixes #14768
2017-04-28 13:44:22 +01:00
claudiulodro 30d2332f48 Handle paginate 2017-04-27 19:14:48 -07:00
claudiulodro 0721354ff2 Add paginate 2017-04-27 15:02:02 -07:00
claudiulodro 11c7722eff Update tests 2017-04-27 14:46:00 -07:00
claudiulodro 059389c684 Missed a spot 2017-04-27 14:13:06 -07:00
claudiulodro 4eb1396e85 Offload more to subclasses 2017-04-27 14:09:10 -07:00
claudiulodro db3de7375d Tweaks from feedback 2017-04-27 11:07:03 -07:00
claudiulodro 6aecb15505 Reduce scope 2017-04-27 08:38:18 -07:00
claudiulodro 020e24225a Line up array 2017-04-26 14:20:44 -07:00
claudiulodro 1647e253a0 Add filters 2017-04-26 11:19:54 -07:00
claudiulodro 2fad12221d Better comments 2017-04-26 11:04:28 -07:00
claudiulodro 9f0f0cd246 Polish and cleanup 2017-04-26 10:49:19 -07:00
Mike Jolley 481a5045aa Merge pull request #14622 from jaumarar/patch-2
Fix: Creating customer triggers password changed
2017-04-26 14:32:28 +01:00
Mike Jolley 234bc3c017 Missing arg in data store too 2017-04-26 11:08:47 +01:00
claudiulodro efa1dbbda5 Basic working order queries 2017-04-25 14:52:17 -07:00
Mike Jolley 8e624e6230 Filter invalid products before returning them for wc_get_products
Closes #14592
2017-04-25 14:03:30 +01:00
Jaume 5e53ed70d8 Fix: Creating customer triggers password changed
Sending POST /wc/v1/customers or POST /wc/v2/customers with the required args triggers the 'Notice of Password Changed' after creating the customer due to update() calls when the password still has a value.
2017-04-22 20:06:56 +02:00
Mike Jolley a325d03deb wc_get_orders support for guest orders and unit tests
Fixes #14575
2017-04-20 18:05:58 +01:00
Claudio Sanches 0b60af0774 Merge pull request #14415 from woocommerce/fix/save-post-infinite-loops
Prevent infinite loops during save_post
2017-04-20 00:44:57 -03:00
Claudio Sanches c90e71e890 Merge pull request #14509 from woocommerce/fix/14480
Only return product by SKU if published
2017-04-19 14:38:14 -03:00
Claudio Sanches 0d46a89f83 Check only if is not in trash 2017-04-19 14:27:19 -03:00
Mike Jolley bdb01c4bea is_existing_sku should check all post statuses except for trash
Fixes #14525
2017-04-19 11:32:49 +01:00
Claudio Sanches f61646d1a2 Only return product by SKU if published
Fixes #14480
2017-04-18 21:32:52 -03:00
Mike Jolley d4a8f3c25b fix coupon update 2017-04-15 21:48:22 +01:00
Mike Jolley 1f28b9d0b8 Other object types 2017-04-15 21:18:24 +01:00
Mike Jolley 27c9006f77 Product data store loop protection 2017-04-15 21:04:41 +01:00
claudiulodro 96ed33f227 Use read_downloads in variations 2017-04-14 14:18:08 -07:00
Mike Jolley 21da0cf71f Ensure name and file is set 2017-04-12 14:11:04 +01:00
Claudio Sanches 627d7a8790 Merge pull request #14278 from woocommerce/fix/14209-alt
Variation Attribute Name Fixes (simplified)
2017-04-11 17:25:28 -03:00