Kevin Killingsworth
0b9c2e2f15
CRUD: Add CRUD operations for ajax functions.
...
This commit changes post and post_meta calls to CRUD objects
throughout the wc-ajax server-side code.
It does not update the most complex functions that have inline SQL.
2016-11-23 15:35:48 -06:00
Claudio Sanches
8d19832937
Fixed coding standards
2016-11-22 23:47:13 -02:00
Claudio Sanches
a9ba510732
Merge pull request #12442 from woocommerce/shipping-zone-placeholder
...
Use placeholder in new shipping zone UI instead of default string
2016-11-22 17:05:16 -02:00
Justin Shreve
90e93e1eba
Set a blank default name when displaying the shipping zone form, so the placeholder will be used instead.
2016-11-22 10:52:58 -08:00
Claudio Sanches
f256b768bb
Merge pull request #12440 from MichelPoulain/patch-1
...
Update locale-info.php
2016-11-22 16:15:25 -02:00
Claudio Sanches
0f57fa0b50
Merge pull request #12436 from woocommerce/js-cookie-replacement
...
Replace jquery-cookie with js-cookie
2016-11-22 16:14:25 -02:00
Michel Poulain
6cfc7a731f
Update locale-info.php
...
In France, the VAT is called «TVA» = Taxe sur la Valeur Ajoutée.
2016-11-22 19:13:30 +01:00
Justin Shreve
2d5da279b6
Merge pull request #12435 from woocommerce/data-store-naming
...
Interface naming
2016-11-22 08:02:09 -08:00
Mike Jolley
3d8c6b8564
Merge pull request #12395 from opportus/layered-nav-hide-attributes
...
Layered nav widget with 'OR' behavior keep showing attributes applying to (0) products
2016-11-22 15:56:26 +00:00
Mike Jolley
deec278d4a
Only update menu order and display if set.
...
Closes #12411
2016-11-22 15:50:35 +00:00
Mike Jolley
bc1103b438
Missing key in download variation
2016-11-22 15:43:21 +00:00
Mike Jolley
b73bbabab6
Fix missing key variable
2016-11-22 15:41:37 +00:00
Mike Jolley
ca04ee8e9f
Replace
2016-11-22 15:09:37 +00:00
Mike Jolley
fdedc08f70
BE tax rate
...
Closes #12431
2016-11-22 14:50:17 +00:00
Mike Jolley
430a31a963
Add notice class to checkout message
...
Closes #12245
2016-11-22 14:21:21 +00:00
Mike Jolley
277d9db832
Fix coupon unit test
2016-11-22 13:59:08 +00:00
Mike Jolley
885dad605a
Interface naming
2016-11-22 13:54:51 +00:00
Mike Jolley
0b4054d3aa
Merge pull request #12434 from woocommerce/hook-prefix
...
Make sure get_hook_prefix is present on all of our classes.
2016-11-22 12:32:26 +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
e1d2a252b7
Merge pull request #12381 from woocommerce/wc-data-meta
...
WC_Data Meta Improvements
2016-11-22 04:09:42 -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
a8fa6ea69e
Move loading meta data store out of constructor.
2016-11-22 04:03:57 -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
8d551c01e6
Merge pull request #12403 from woocommerce/order-item-data-store
...
Order Item Data Store
2016-11-22 03:39:53 -08:00
Justin Shreve
c83823b97c
Remove stray error_log
2016-11-22 03:39:26 -08:00
Mike Jolley
1715fbdfd2
Merge pull request #12427 from woocommerce/fix-backwards-compatibility-for-product-title
...
Fix get_post_data() backwards compatibility for variations
2016-11-22 11:24:34 +00:00
Mike Jolley
d87411285e
Merge pull request #12429 from dabernathy89/master
...
fix typo in get_variation_sale_price argument list
2016-11-22 10:53:10 +00:00
Mike Jolley
cecfac6318
Product false test
2016-11-22 10:52:18 +00:00
Mike Jolley
3b9934a2b1
Try catch and false for products
2016-11-22 10:46:19 +00:00
Daniel Abernathy
4a758ef5ca
fix typo in get_variation_sale_price argument list
2016-11-21 19:17:50 -06:00
Claudio Sanches
4f7290daa0
Fixed expected result from WC_Product::get_post_data for variations
2016-11-21 20:10:40 -02:00
Claudio Sanches
351f983e97
Stop use deprecated product->get_title() in coupons
2016-11-21 20:06:40 -02:00
Claudio Sanches
dd78bbd6ad
Keep backwards compatibility for variation title
2016-11-21 20:05:37 -02:00
Justin Shreve
84c24b99f8
Finish order item data store interface
2016-11-21 11:45:22 -08:00
Justin Shreve
9b08f4b32d
Move order-item-functions queries to a data store. Rebase & update to use download data store.
2016-11-21 11:38:07 -08:00
Justin Shreve
a7cb7e011c
Only return a fallback system when we are in the view context, so we don't overwrite.
2016-11-21 10:57:33 -08:00
Justin Shreve
afa294e70d
Fix legacy API issues
2016-11-21 10:57:33 -08:00
Justin Shreve
f15867bb67
Fix ajax actions for saving items, and misc issues.
2016-11-21 10:57:33 -08:00
Justin Shreve
34821b8c92
Add new files.
2016-11-21 10:57:33 -08:00
Justin Shreve
51a55b6782
Add interface, renaming main order item data store to abstract. Various fixes.
2016-11-21 10:57:33 -08:00
Justin Shreve
b20b3590c8
First pass at order items
2016-11-21 10:56:21 -08:00
Claudio Sanches
89e628f3d5
Merge pull request #12421 from woocommerce/fix-12416
...
Make sure attributes get a prefix when set
2016-11-21 15:18:11 -02:00
Claudio Sanches
ec56bd5015
Merge pull request #12386 from woocommerce/order-data-store
...
Order data stores
2016-11-21 15:14:22 -02:00
Mike Jolley
8cf3feaf82
No absint here
2016-11-21 16:55:36 +00:00
Mike Jolley
8466f4f79a
Feedback
2016-11-21 16:46:32 +00:00
Mike Jolley
a9b8d41500
Merge pull request #12407 from woocommerce/rest-api-crud-fixes
...
CRUD - Fixes and improviments for the REST API
2016-11-21 16:12:50 +00:00