Manos Psychogyiopoulos
ae9f4eacc4
fix get_post_parent fatal error
2016-12-27 10:34:32 +02:00
Mike Jolley
50b1a9d378
woocommerce_update_order
2016-12-20 15:44:37 +00:00
Mike Jolley
54ca822e57
Fix variable names
2016-12-19 17:13:25 +00:00
Mike Jolley
c78e5cf2ec
Trigger actions after data is saved
...
#12648
2016-12-19 16:40:53 +00:00
Mike Jolley
910d6d9900
Store custom checkout fields prefixed with shipping or billing in meta
...
Closes #12634
2016-12-19 14:51:56 +00:00
Mike Jolley
218689d9c3
woocommerce_order_data_store_cpt_get_orders_query
...
Closes #12643
2016-12-19 14:24:20 +00:00
Manos Psychogyiopoulos
03fac5231f
set order item object as read after reading child class data
2016-12-18 20:04:14 +02:00
Mike Jolley
95794b720c
Only set date_created if empty
...
Fixes #12579
2016-12-13 14:22:59 +00:00
Mike Jolley
6cf565c122
IDs for products were stored as strings in legacy
2016-12-12 15:29:53 +00:00
Mike Jolley
1e80db6021
Force meta to be written on creation
...
#12567
2016-12-12 13:56:35 +00:00
Mike Jolley
2c6bef3ce1
Reverse query so missing stock status meta does not break sync
...
Fixes #12567
2016-12-12 13:37:51 +00:00
Mike Jolley
0ce99fbdbb
Merge pull request #12558 from woocommerce/crud-reduce-queries
...
CRUD reduce queries
2016-12-10 12:35:45 +00:00
Mike Jolley
e0e0c9e832
Replace rating filters with taxonomy
2016-12-09 15:43:25 +00:00
Mike Jolley
5562cfc1f6
Lazy load product meta data
2016-12-09 12:18:21 +00:00
Mike Jolley
563dda505a
Use real cache keys
2016-12-08 17:57:07 +00:00
Mike Jolley
709d314ca7
Add caching to product factory
2016-12-08 17:17:23 +00:00
Mike Jolley
767a1e500e
Helper to get term ids
2016-12-08 17:01:39 +00:00
Mike Jolley
12608af03a
Sorting handling
2016-12-08 14:28:51 +00:00
Mike Jolley
56e9244b8b
Update vis during create
2016-12-08 12:38:30 +00:00
Mike Jolley
4bacbaf90c
Fix completed and paid date meta keys.
2016-12-08 11:19:32 +00:00
Mike Jolley
47fbae4d26
Product Visibility Taxonomies ( #12527 )
...
* Convert visibility and featured to taxonomy
* Comment
* Add missing tax_queries
* Only check SKU after read.
* Added visibility term for outofstock products to speed those queries up al
* wc_bool_to_string
2016-12-08 10:56:45 +00:00
Justin Shreve
f9891b1744
Pass product slug to wp_set_object_terms directly
2016-12-07 12:55:34 -08:00
Justin Shreve
63a29dd4db
Add 'locale' to list of customer meta keys, and update expected type for 'object' for gateways, products, and shipping zones to fix some API issues.
2016-12-07 12:23:23 -08:00
Mike Jolley
4bd05c7396
Combine 2 address loops
2016-12-05 16:08:51 +00:00
Mike Jolley
6a50228cda
Merge pull request #12472 from woocommerce/refactor-checkout-class
...
Checkout Refactoring
2016-12-02 16:16:18 +00:00
Justin Shreve
ede9d181b6
Merge pull request #12480 from franticpsyx/variable-data-store-read_price_data-methods-missing-method-context
...
[2.7] Wrong use of 'view' context in WC_Product_Variable_Data_Store_CPT:: read_price_data
2016-11-28 10:50:22 -08:00
Manos Psychogyiopoulos
08b81f73c6
add $product argument to `woocommerce_[variation_]set_stock_status` action
2016-11-28 19:03:33 +02:00
Manos Psychogyiopoulos
72c0877d82
switch variation price getters in WC_Product_Variable_Data_Store_CPT::read_price_data to 'edit' context
2016-11-28 13:54:35 +02:00
Mike Jolley
56396d305e
Fix last name
2016-11-25 21:46:52 +00:00
Mike Jolley
348efad1ed
Fix customer notes
2016-11-25 21:46:45 +00:00
Mike Jolley
43d362d107
Tidy, refactor, and split up methods in checkout class
2016-11-25 21:46:34 +00:00
Mike Jolley
30539b6f5a
Update display name when saving customer
2016-11-25 20:16:19 +00:00
Mike Jolley
1a632cda1f
Missing space and incorrect comment
2016-11-25 10:43:56 +00:00
Mike Jolley
1749551021
Customer crud
2016-11-24 15:31:05 +00:00
Mike Jolley
9087a45f29
Remove attribute_ prefix rather than add so that get_attributes has better return values, and don't show duplicate data in cart.
2016-11-24 14:20:48 +00:00
Mike Jolley
b9bb8eabba
Fix order item meta
2016-11-24 11:50:34 +00:00
Mike Jolley
13289b7104
Fix order item meta
...
@justinshreve Noticed this wasn’t saving or loading correctly. Is this
the only missing piece?
2016-11-23 18:44:24 +00:00
Mike Jolley
b1007c9d62
Fix order item meta saving
2016-11-23 15:37:34 +00:00
Mike Jolley
d846ca6311
Update parent meta too for refunds
2016-11-23 15:37:34 +00:00
Claudio Sanches
bdb863cef1
Fixed method return value in write context
2016-11-23 12:41:40 -02:00
Claudio Sanches
8d19832937
Fixed coding standards
2016-11-22 23:47:13 -02:00
Mike Jolley
885dad605a
Interface naming
2016-11-22 13:54:51 +00:00
Justin Shreve
58b4cb9cf4
Make sure get_hook_prefix is present on all of our classes.
...
And fix up an exclude internal keys call for the customer data store.
2016-11-22 04:20:25 -08:00
Justin Shreve
0f335d7b60
Order item update store needs to extend the _WP class.
2016-11-22 04:07:46 -08:00
Justin Shreve
dd0a2317f1
Fix up data tests and some coding standards issues
2016-11-22 04:05:05 -08:00
Justin Shreve
0814c2c579
Fix product variations
2016-11-22 04:05:05 -08:00
Justin Shreve
174aa38be6
Start moving meta to normal stores, instead of a separate meta store.
2016-11-22 04:05:05 -08:00
Justin Shreve
5c59bad9ca
Interface updates
2016-11-22 04:03:57 -08:00
Justin Shreve
f3140889d5
Move meta handling saving/getting logic to a data store, and fix cache handling for meta to reduce queries.
2016-11-22 04:03:57 -08:00
Justin Shreve
84c24b99f8
Finish order item data store interface
2016-11-21 11:45:22 -08:00