Claudio Sanches
16e386c873
Merge pull request #11757 from woothemes/get-coupon-code-by-id
...
Get coupon code by
2016-08-24 14:18:23 -03:00
Mike Jolley
0667c1cde1
Remove option based tools
2016-08-24 17:35:13 +01:00
Mike Jolley
84487d0f4b
Shipping debug mode moved to shipping settings
2016-08-24 16:55:34 +01:00
Mike Jolley
2dc3e5252f
Made WC_TEMPLATE_DEBUG_MODE a constant only
2016-08-24 16:46:07 +01:00
Mike Jolley
26c4b3ce13
Delete if qty = 0
2016-08-24 16:09:39 +01:00
Mike Jolley
a8dc46cfdf
Default line item data
2016-08-24 16:06:35 +01:00
Mike Jolley
938361535f
Exception handling
2016-08-24 16:02:19 +01:00
Mike Jolley
cde78abed3
Working on catching errors
2016-08-24 15:26:35 +01:00
Mike Jolley
d9798f7226
Set reading to prevent exceptions during DB load
2016-08-24 14:37:19 +01:00
Mike Jolley
7e30e8dda3
Set defaults and handle order reads without exceptions
2016-08-24 12:34:19 +01:00
Mike Jolley
53f01b52a8
Bring back WC_Data_Exception
2016-08-24 10:46:29 +01:00
Mike Jolley
c839944d46
Revert "Remove exception class"
...
This reverts commit 7c271e5dc5
.
2016-08-24 10:20:58 +01:00
Claudio Sanches
c8726cc42b
Fixed method return value in write context
...
cc @justinshreve
2016-08-24 01:50:12 -03:00
Claudio Sanches
3633960165
Removed dead global variables
2016-08-23 20:02:38 -03:00
Claudio Sanches
00b2e43250
DRY
2016-08-23 20:00:30 -03:00
Claudio Sanches
4513e33031
Introduces the wc_get_coupon_code_by_id() function
2016-08-23 19:52:14 -03:00
Claudio Sanches
5e069a4f4e
Merge pull request #11756 from woothemes/update/coupon-api-crud
...
Update Coupon API to use CRUD
2016-08-23 19:51:27 -03:00
Justin Shreve
77088a4a22
Coupon ID will also be an integer, so we can switch the prepare statement to expect that
2016-08-23 13:55:21 -07:00
Mike Jolley
b727acd96e
Implement get and set prop methods
2016-08-23 18:48:48 +01:00
Mike Jolley
e08e5a816d
2d array handling
2016-08-23 15:49:34 +01:00
Mike Jolley
2636d04ba6
Setters
2016-08-23 15:25:50 +01:00
Mike Jolley
b1bd1c2227
Fee
2016-08-23 15:02:57 +01:00
Mike Jolley
3e3e35d50d
Add set prop/get prop helper, error handler, and validation to item product class
2016-08-23 14:58:44 +01:00
Mike Jolley
7c271e5dc5
Remove exception class
2016-08-23 13:43:35 +01:00
Mike Jolley
74c96e305b
Error method
2016-08-23 13:43:26 +01:00
Mike Jolley
aa5fee3372
Merge pull request #11752 from corsonr/issue_11751
...
Fix issue 11751
2016-08-23 10:35:21 +01:00
corsonr
f430c23cdc
fix issue 11751
2016-08-23 11:16:38 +02:00
Multidots
41d079f086
Fixes add reply-to to admin emails ref #11630
2016-08-23 13:09:27 +05:30
Multidots
c7fc7cce07
Merge branch 'master' of https://github.com/nishitlangaliya/woocommerce
2016-08-23 12:41:22 +05:30
Claudio Sanches
2407a880f7
Updated the default colors for emails to match the Woo Style Guide
...
Closes #11748
cc @jameskoster
2016-08-22 20:59:56 -03:00
Justin Shreve
a243829db6
Convert Coupon Controller to use CRUD operations
2016-08-22 15:06:21 -07:00
Justin Shreve
7da590e422
Coupon Tests:
...
* Move tests for legacy endpoints to a legacy test folder.
* Create a test class to test the WC-API coupons endpoint.
2016-08-22 13:50:32 -07:00
Claudio Sanches
eb55096a32
Allow oAuth1.0a authentication using headers
2016-08-22 17:39:41 -03:00
Claudio Sanches
7a0c5bc19b
REST API expect meta data ID as an integer value
...
cc @mikejolley
2016-08-22 16:59:03 -03:00
Claudio Sanches
38e1be71eb
ID first for all elements in the REST API
...
cc @mikejolley
2016-08-22 16:58:34 -03:00
Claudio Sanches
0da91bb7d7
Merge pull request #11746 from woothemes/crud-meta-id
...
Swaps meta_id for id across crud and api
2016-08-22 16:43:57 -03:00
Mike Jolley
f34f1aa635
Simplify prepare_line_items logic
2016-08-22 19:58:30 +01:00
Mike Jolley
39f4a1cdca
Swaps meta_id for id across crud and api
2016-08-22 19:37:34 +01:00
Mike Jolley
169780d31b
woocommerce-message--success
...
Followed
https://github.com/woothemes/woocommerce/wiki/CSS-SASS-coding-guidelines
-and-naming-conventions
Closes #11722
2016-08-22 18:41:38 +01:00
Mike Jolley
2cea613566
Fix shipping meta save
...
#11601
2016-08-22 18:07:52 +01:00
Mike Jolley
a8e47992a6
Put back add_product for convenience. Fix unit tests.
2016-08-22 18:00:52 +01:00
Mike Jolley
3d696266d2
Set_address
2016-08-22 17:03:59 +01:00
Mike Jolley
7cf75f5085
Remove use of deprecated functions
2016-08-22 16:57:54 +01:00
Mike Jolley
95b11606fc
get_product_from_item -> get_product
2016-08-22 16:51:24 +01:00
Mike Jolley
c88984eb0e
Replace add methods
2016-08-22 16:48:19 +01:00
Mike Jolley
e079895c08
Set rate in one go for tax rate items
2016-08-22 14:52:03 +01:00
Mike Jolley
fc2e039882
Deprecate add_product etc
...
#11601
2016-08-22 14:51:53 +01:00
Mike Jolley
09e43cf797
read only refunded by
2016-08-22 13:15:15 +01:00
Mike Jolley
fdd7e797ba
API get refunds
2016-08-22 13:15:15 +01:00
Mike Jolley
9e45927803
Create refund with crud
2016-08-22 13:15:15 +01:00
Mike Jolley
7eb9720fde
Merge pull request #11737 from thii/add/paypal-here-txn-type
...
Add PayPal Here as a valid transaction type
2016-08-22 09:50:29 +01:00
Mike Jolley
698c84827d
Merge pull request #11717 from woothemes/improve-configure-terms
...
Change "Configure terms" into a link
2016-08-22 09:49:27 +01:00
Mike Jolley
9558c9e99a
Merge pull request #11730 from woothemes/improve-log-viewer
...
Removed internal scroll from log viewer
2016-08-22 09:48:55 +01:00
nishit.langaliya
94ed2fd96d
Fixes: Add reply-to to admin emails ref #11630
2016-08-22 11:42:21 +05:30
Claudio Sanches
8fe4c14e78
[REST API] Fixed customer last order data
2016-08-20 14:29:48 -03:00
Claudio Sanches
a6ffd4cafd
Update customer fields
2016-08-20 14:29:27 -03:00
Claudio Sanches
f7bf0b1184
Improve save customer meta fields and removed extra escape function #11733
2016-08-20 13:02:04 -03:00
Claudio Sanches
4c8a60fa06
Allow checkboxes in customer profiles, closes #11733
2016-08-20 12:57:35 -03:00
Thi
43cd8c9578
Add PayPal Here as a valid transaction type
2016-08-20 18:19:49 +09:00
Claudio Sanches
80ee7016f8
Fixed conflicts
2016-08-19 20:31:59 -03:00
Claudio Sanches
b3c0bee7fc
Sort by top rated widget with meta
...
ref #11711
cc @mikejolley
2016-08-19 19:57:42 -03:00
Claudio Sanches
d3e732322e
Fixed indentation for #11583
2016-08-19 19:37:03 -03:00
Claudio Sanches
e02d75bd9c
Merge pull request #11583 from opportus/seo-tweaks
...
Seo Tweaks
2016-08-19 19:34:29 -03:00
Claudio Sanches
47177667aa
Removed internal scroll from log viewer, closes #11729
2016-08-19 18:48:49 -03:00
Mike Jolley
3f4ffe8a49
More crud updates
2016-08-19 17:05:47 +01:00
Mike Jolley
190cd0bf86
Remove direct access of item props in admin
2016-08-19 15:08:00 +01:00
Mike Jolley
21ad196297
Use CRUD in wc_save_order_items
2016-08-19 13:43:33 +01:00
Claudio Sanches
d60d3d5b1e
Merge branch 'order-crud-api'
2016-08-19 02:07:10 -03:00
Claudio Sanches
acd8a70a30
[2.6] [REST API] Allow save refund reason, closes #11718
2016-08-18 15:20:52 -03:00
Mike Jolley
03110e755f
Unit tests
2016-08-18 17:24:44 +01:00
Claudio Sanches
9da3f79f41
Introduces the woocommerce_webhook_order_payload_filters filter
2016-08-18 13:22:13 -03:00
Mike Jolley
f1e517130a
Feedback from @claudiosmweb
2016-08-18 13:30:10 +01:00
Mike Jolley
fb585e9633
Add transient caching to product_loop
...
Closes #11708
2016-08-18 13:19:57 +01:00
Mike Jolley
5a740b7837
Merge pull request #11710 from woothemes/rest-api-load-priority
...
REST API hook load priority
2016-08-18 11:39:14 +01:00
Mike Jolley
747c48c13b
Sort by rating with meta
...
Closes #11711
2016-08-18 11:33:19 +01:00
Mike Jolley
eab72bd48e
Sync rating after clear_transients so meta exists
...
#11711
2016-08-18 11:10:16 +01:00
opportus
92513c6ad1
seo tweaks - branch update
2016-08-18 10:39:55 +02:00
Claudio Sanches
838f3737ea
[2.6] Fixed downloadable variable product URL, closes #11699
2016-08-18 00:53:27 -03:00
Claudio Sanches
74484c7009
[2.6] [REST API] Fixed undefined order ID, closes #11707
2016-08-18 00:41:46 -03:00
Claudio Sanches
2799bbdb27
Changed "Configure terms" into a link
2016-08-18 00:02:18 -03:00
Mike Jolley
7852eecb06
Fix get param usage
2016-08-17 17:25:29 +01:00
Mike Jolley
594bceedf2
Comment out exception code - see #11715
2016-08-17 17:07:30 +01:00
Mike Jolley
709dec9ef1
Create and update handling
2016-08-17 16:53:01 +01:00
Mike Jolley
3755049d86
Fix item data
2016-08-17 11:45:07 +01:00
Mike Jolley
0b9a5998cc
Exception class
2016-08-17 11:44:56 +01:00
Mike Jolley
b4599d9254
Schema update
2016-08-17 11:44:39 +01:00
Claudio Sanches
b1ac42220a
Merge pull request #11690 from sumnermic/patch-1
...
Add anchor attribute target "_blank"
2016-08-16 18:40:12 -03:00
Claudio Sanches
525b11a2a2
Defined a priority for the REST API init method
2016-08-16 17:44:32 -03:00
Claudio Sanches
49b7dd6dfa
Removed custom hooks introduced in #11668
2016-08-16 17:43:09 -03:00
Claudio Sanches
3cf8058f9b
DRY #11614
2016-08-16 16:55:26 -03:00
JLuis Freitas
5a0f0cf5b4
add PT (Portugal) address format
...
add $postcode_before_city format to portuguese addresses
2016-08-16 17:10:09 +01:00
Mike Jolley
92ebb933b4
Finish order get
2016-08-16 15:18:16 +01:00
Mike Jolley
3e88ec1f20
Product formatting
2016-08-16 14:49:30 +01:00
Mike Jolley
b64c55de49
Format item meta
2016-08-16 13:55:10 +01:00
Mike Jolley
99be0167b4
Order type doesn't appear to be used anywhere, and I'd expect other plugins extending orders to have their own classes anyway making this a bit pointless.
...
@thenbrent
2016-08-16 13:02:22 +01:00
Mike Jolley
b70a979fce
Get product item data
2016-08-16 13:01:38 +01:00
Mike Jolley
1baef12395
qty -> quantity
2016-08-16 12:36:38 +01:00
Mike Jolley
71ce5f77d0
Replace order_item_id with just id
2016-08-16 12:27:00 +01:00
Mike Jolley
0621db57d3
Merge branch 'master' into order-crud-api
2016-08-16 12:20:34 +01:00
Mike Jolley
e99798f16e
Date modified is read only and set by WP after update
2016-08-16 11:57:25 +01:00
opportus
c04cfa9d15
seo tweaks - adds to loop product and loop category headings a specific css class
2016-08-16 12:34:38 +02:00
opportus
26367d1108
seo tweaks - branch update
2016-08-16 12:19:29 +02:00
Multidots
dd445d8f09
Fixes:'File' link on My Accounts->Downloads incorrect for variations
2016-08-16 15:47:35 +05:30
Mike Jolley
bc75c60227
Merge branch 'master' into order-crud-api
2016-08-16 11:09:14 +01:00
Mike Jolley
46b6ca0f3b
Only read users from current site
2016-08-16 11:08:54 +01:00
Mike Jolley
de7e522835
Remove customer order queries for performance reasons and offer get_last_order() method instead.
...
Same for order counts - these don’t need to be populated after read,
only when needed. cc @justinshreve
2016-08-16 10:04:52 +01:00
Mike Jolley
c6f6713e47
Write context in coupon api
...
@justinshreve
2016-08-15 19:28:07 +01:00
Mike Jolley
589ce2f544
Write context
2016-08-15 18:26:00 +01:00
Mike Jolley
5afac69f10
Fix write context errors
2016-08-15 17:50:02 +01:00
Mike Jolley
c7ae2c31ea
leave wp meta alone and handle serialisation
2016-08-15 17:37:18 +01:00
Mike Jolley
3f08d116d8
Start using crud for order requests
2016-08-15 17:27:33 +01:00
Mike Jolley
9138d8a9e1
order api notices
2016-08-15 16:56:55 +01:00
Mike Jolley
83dca89d0c
Correct customer escaping and tests
2016-08-15 16:53:48 +01:00
Mike Jolley
14b40ea340
Handle first and last name fields
...
@justinshreve
2016-08-15 14:13:20 +01:00
Mike Jolley
e1318d9175
Stop WP core meta data being removed for customers
...
@justinshreve
2016-08-15 13:17:43 +01:00
Multidots
63c3a979f4
Fixes Add reply-to to admin emails
2016-08-15 16:31:12 +05:30
Mike Jolley
23e13fbfa6
created_via
2016-08-15 11:29:29 +01:00
Mike Jolley
0113dbd7c5
Use wc_do_deprecated_action
2016-08-15 11:08:36 +01:00
Mike Jolley
46793622df
wc_do_deprecated_action helper
2016-08-15 11:02:49 +01:00
Mike Jolley
6090e3cd00
set_backorder_meta helper
2016-08-15 11:02:38 +01:00
Mike Jolley
0dd41179aa
Prefix item ids and revert some changes to add_products method for ease of use.
2016-08-15 11:02:25 +01:00
Mike Jolley
7796fe9cf1
Clean item/group cache when remove_order_items is used.
2016-08-12 16:48:48 +01:00
Mike Jolley
eec9ce5b41
Revert addition of _delete_extra_meta_data
...
This essentially removes the ability to delete meta which is not great.
@justinshreve you added this in
https://github.com/woothemes/woocommerce/commit/e3b1f6dbc9558bae606fa76e
6941175582a301b7 - can you tell me what problems it was causing you so
we can add a different fix if needed?
2016-08-12 16:41:06 +01:00
Mike Jolley
eb45acf0d5
[2.6] Use method title in admin shipping dropdown
...
fixes #11678
2016-08-12 14:23:59 +01:00
sumnermic
e336886afa
Add anchor attribute target "_blank"
...
Add anchor attribute target "_blank" to Regenerate Thumbnails link. It's pretty annoying for it to not open in a new window/tab.
2016-08-12 13:58:54 +01:00
Mike Jolley
f3651a9881
Fix user agent calls
2016-08-12 12:53:09 +01:00
Mike Jolley
f7958f2b20
[2.6] Drafts don't have post_date_gmt
...
Fixes #11686
@claudiosmweb @justinshreve
2016-08-12 12:53:09 +01:00
Mike Jolley
cfc31dd311
wc_prevent_adjacent_posts_rel_link_wp_head
...
Closes #11683
2016-08-12 11:03:28 +01:00
Mike Jolley
97618fa2af
Made stock notes consistent
...
Fixes #11673
2016-08-12 10:47:01 +01:00
Mike Jolley
bb50ca8a6c
Merge remote-tracking branch 'origin/master'
2016-08-12 10:39:47 +01:00
Mike Jolley
584b1ce4cb
Merge branch 'pr/11674'
2016-08-12 10:39:45 +01:00
Mike Jolley
3b0af0c54b
Merge pull request #11670 from woothemes/fix-reports-custom-daterange
...
Reports: Clean up custom date range UI
2016-08-12 10:36:48 +01:00
kellychoffman
f41321fb27
input length: increased to 11
2016-08-11 15:59:25 -06:00
Justin Shreve
a610c6a804
Update the Customers API to use the WC_Customer CRUD Class
...
Also:
* Introduces Tests for the Customer REST API
* Fixes a few API and test issues from recent CRUD changes
* Adds some missing billing_ and shipping_ meta data functions to Customer CRUD
2016-08-11 10:30:44 -07:00
corsonr
51060807c4
remove un-necessary slashes
2016-08-11 16:07:40 +02:00
rspublishing
f3956131bf
Copy update in setup wizard
2016-08-11 08:40:12 +02:00
Gabor Javorszky
ddd34a4460
Fix add to cart variation AJAX mode when cart fragments are dequeued
...
No issue.
* high traffic site, so wc-cart-fragments are dequeued (#7777 )
* variable product with a lot of variations, so stock lookup happens through ajax
* previously the add-to-cart-variation.js used the wc_cart_fragments_params for the ajax URL, which in this case wasn't available, the result was a hung page
* decoupled from cart fragments: added the wc_ajax_url to the params that wc_add_to_cart_variation_params gets, so no more hung pages.
2016-08-11 01:17:43 +01:00
Claudio Sanches
43c654a04b
[2.6] [REST API] Fixed wrong get order notes error message, closes #11672
2016-08-10 17:55:41 -03:00
kellychoffman
9a7b391b74
custom date: add en dash, larger inputs, no hidden text
2016-08-10 10:35:42 -06:00
Justin Shreve
dd0ddac577
Merge pull request #11668 from woothemes/add/wc-api-loading-hooks
...
Add a new hook and filter for loading new REST API files.
2016-08-10 06:30:26 -07:00
Justin Shreve
1c333b4a18
Merge pull request #11667 from woothemes/issues/11664/fix-func_get_args-warning
...
Fix func_get_args warning thrown by php7cc.
2016-08-10 06:27:06 -07:00
Justin Shreve
7def54c528
Add a new hook and filter for loading new REST API files.
2016-08-10 06:19:06 -07:00
Akeda Bagus
2fb71e6ec6
Fix func_get_args warning thrown by php7cc.
...
Although unlikely to happens, this is an attempt to prevent any modification
before func_get_args().
See https://github.com/php/php-src/blob/PHP-7.0/UPGRADING#L190-L213
Fixes #11664 .
2016-08-10 19:00:20 +07:00
Mike Jolley
efd390e951
Merge pull request #11645 from woothemes/orders-crud-function-update
...
Orders crud functions
2016-08-10 12:19:38 +01:00
Mike Jolley
d4cc1f80d4
[2.6] Fix ship to specific counties option
...
Fixes #11642
2016-08-10 12:04:52 +01:00
Mike Jolley
dff1fc84de
Merge pull request #11651 from rodrigoprimo/comment-type-index
...
Add an index to the field comment_type
2016-08-10 11:02:10 +01:00
Mike Jolley
1a4576b95c
Merge branch 'pr/11661'
2016-08-10 10:36:58 +01:00
Mike Jolley
51f3efd5c4
Don't need both cases
2016-08-10 10:36:51 +01:00
Justin Shreve
486f7cc738
Correct the avatar_url Customer API response to use the correct email field.
2016-08-09 14:02:58 -07:00
Gregory Karpinsky
b08d0bc1d2
woocommerce_taxonomy_archive_description
...
Check for `is_product_taxonomy()` to show the description on the product attribute archives.
2016-08-09 16:22:50 -04:00
Justin Shreve
35cae38aa2
Fix issues from PR review: sanitize/escape fixes in wp-admin, remove modes.
2016-08-09 10:14:47 -07:00
Justin Shreve
72d665d464
Remove @todo
2016-08-09 09:51:30 -07:00
Justin Shreve
b198e6d65b
Add the ability to see and update system status modes (shipping debug, template debug, uninstall...)
2016-08-09 09:51:30 -07:00
Justin Shreve
9609998505
Add tools controller
2016-08-09 09:51:30 -07:00
Justin Shreve
9dbd365be8
First pass at system status tools. Fully functioning endpoints for listing tools, listing data about a specific tool, and executing a tool.
2016-08-09 09:51:30 -07:00
Mike Jolley
30b0045d8a
Fix more notices
2016-08-09 14:30:10 +01:00
Mike Jolley
71afe5fdf7
Fix get_items
2016-08-09 14:21:54 +01:00
Mike Jolley
f4a4f6c361
Reduce stock and other notices
2016-08-09 14:15:04 +01:00
Mike Jolley
8d58febaf8
Merge branch 'master' into orders-crud-function-update
...
# Conflicts:
# includes/class-wc-checkout.php
2016-08-09 14:03:06 +01:00
Mike Jolley
7861b76e9b
Checkout handling
...
Also introduces add_item so you can add items to an order before the
order exists. Save at once is more efficient.
2016-08-09 14:02:40 +01:00
Rodrigo Primo
7acf712e45
Check if there is a comment_type index before adding one
...
Adding this check to avoid a MySQL error when running the query if the index already exists.
2016-08-09 14:28:41 +02:00
Mike Jolley
f4b45001ec
Merge conditonal
2016-08-09 11:17:47 +01:00
Mike Jolley
b7dcd97572
Sanitize on set only
2016-08-09 11:16:54 +01:00
Mike Jolley
01a4c81094
Spacing
2016-08-09 11:16:13 +01:00
Mike Jolley
4ac4bcaa08
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# tests/unit-tests/cart/cart.php
2016-08-09 11:08:21 +01:00
Rodrigo Primo
2e8f02f6a4
Add an index to the field comment_type
...
This index improves the response time of the query used by WC_Comments::wp_count_comments() to get the number of comments by type.
2016-08-09 10:00:51 +02:00
Justin Shreve
2d0aeec5c5
Fix customer batch error
2016-08-08 14:54:12 -07:00
Justin Shreve
fe7e26d68d
Error fixes:
...
* Typos
* Consistent edit error handles
* Consistent error messages
2016-08-08 14:52:46 -07:00
Mike Jolley
971cff77b8
Fixed unit tests
2016-08-08 17:47:50 +01:00
Mike Jolley
39eb584321
Merge branch 'master' into orders-crud-function-update
2016-08-08 17:24:40 +01:00
Mike Jolley
e8d85005d7
Handle default status
2016-08-08 17:24:39 +01:00
Mike Jolley
6a493f7350
order total
2016-08-08 17:06:12 +01:00
Mike Jolley
9d66367699
Status change fixes
2016-08-08 17:03:43 +01:00
Mike Jolley
31803f4e51
Billing/shipping
2016-08-08 16:46:58 +01:00
Mike Jolley
7bdda1f707
more dates
2016-08-08 16:34:01 +01:00
Mike Jolley
a6bb78b34a
date created
2016-08-08 16:32:03 +01:00
Mike Jolley
30742798ed
Order table
2016-08-08 16:31:06 +01:00
Mike Jolley
7b0d9a3e61
IP and notes
2016-08-08 16:24:16 +01:00
Mike Jolley
a8759fc0aa
Meta/product handling
2016-08-08 16:20:15 +01:00
Mike Jolley
c3aa933ad2
coupon
2016-08-08 15:25:22 +01:00
Mike Jolley
75975de58a
Item meta
2016-08-08 15:22:00 +01:00
Mike Jolley
9bbf5df1fd
Billing/shipping details
2016-08-08 14:49:53 +01:00
Job
f5e45d254e
update woothemes > woocommerce
...
changes in the help tab
WooThemes Helpdesk > WooCommerce Helpdesk
2016-08-08 15:37:30 +02:00
Mike Jolley
cfe28c9b25
Made WC_Logger pluggable via wc_get_logger function.
...
Closes #11474
2016-08-08 13:59:23 +01:00
Mike Jolley
87443763d8
Hook in the no products found template
...
Closes #11257
cc @jameskoster
2016-08-08 13:43:42 +01:00
Mike Jolley
40d395c16c
Merge pull request #11629 from woothemes/price-inc-tax-hell-11626
...
Prices including taxes and what gets stored/presented.
2016-08-08 12:17:36 +01:00
Mike Jolley
48f52af35d
Merge pull request #11632 from nathanielks/patch-1
...
Update class-wc-form-handler.php
2016-08-08 12:16:19 +01:00
Mike Jolley
5eaee825f1
Ensure page_object is valid
...
Closes #11641
2016-08-08 12:14:41 +01:00
Mike Jolley
4a8db96c91
[2.6][api] ID needs to be capitalized
...
Sorting won’t work with lowercase id
Fixes #11635
@claudiosmweb
2016-08-08 12:10:29 +01:00
Mike Jolley
61e2969b83
[2.6][API] Fix coupon description field
...
fixes #11633
2016-08-08 11:27:07 +01:00
Paul Kilmurray
4484877481
initialize $tax_rates variable
...
There are situations where the $tax_rates may not be initialized in the conditional, which in turn throws an error later in the function.
2016-08-08 10:36:04 +07:00
Nathaniel
92b28baeb4
Update class-wc-form-handler.php
...
As a user, I would expect to be returned to the Edit Address page as opposed to the My Account page.
2016-08-06 11:54:44 -07:00
Mike Jolley
6bf05396c2
date_paid
2016-08-05 16:14:30 +01:00
Mike Jolley
f4727c0cae
billing_email
2016-08-05 16:11:23 +01:00
Mike Jolley
b8bf05df11
get_user_agent
2016-08-05 16:10:45 +01:00
Mike Jolley
0a0330bac0
customer_user
2016-08-05 16:09:40 +01:00
Mike Jolley
007a767657
billing_phone
2016-08-05 16:09:04 +01:00
Mike Jolley
7685587b22
payment_method
2016-08-05 16:04:41 +01:00
Mike Jolley
693e5ece36
billing_company
2016-08-05 16:03:09 +01:00
Mike Jolley
8d3b4bc5a4
payment_method_title
2016-08-05 15:59:55 +01:00
Mike Jolley
4d87665d95
get_customer_note
2016-08-05 15:59:32 +01:00
Mike Jolley
1c18c2f44a
billing_first_name
2016-08-05 15:58:44 +01:00
Mike Jolley
84c52370fa
more getters
2016-08-05 15:57:40 +01:00
Mike Jolley
39b4831e95
get_id
2016-08-05 15:56:23 +01:00
Mike Jolley
9181c107a8
get_currency
2016-08-05 15:49:17 +01:00
Mike Jolley
1c592b3872
Merge pull request #11208 from woothemes/orders-crud-classes
...
Orders crud classes
2016-08-05 15:44:15 +01:00
Mike Jolley
0b04ee195c
Over sanitization
2016-08-05 15:43:12 +01:00
Mike Jolley
c346a1b711
Merge pull request #11540 from woothemes/tax-rate-auto-ordering
...
Automatic Tax Rate Sorting
2016-08-05 15:06:03 +01:00
Mike Jolley
54256c4123
Round prices being saved to DB
2016-08-05 14:06:51 +01:00
Mike Jolley
ccad4d2df3
Merge pull request #11561 from woothemes/add/product-reviews-create-and-update
...
Add tests, create, update, delete, and batch to the Product Reviews API
2016-08-05 11:16:42 +01:00
Justin Shreve
e3b1f6dbc9
A few fixes to customer CRUD:
...
* Implement some missing legacy functions
* Stop calling legacy functions from some pages
* Prevent extra meta from being deleted, unless requested by the CRUD (was causing problems with user/customer)
* Prevent save when loading from session AND logged out
2016-08-04 13:13:07 -07:00
Justin Shreve
f4353f6aa9
Don't save to the database if we are working with sessions, save to the session when save() is called instead.
2016-08-04 11:39:34 -07:00
Justin Shreve
47c299583d
Merge pull request #11618 from woothemes/update/wp-admin-system-status
...
Update wp-admin's system status page to share backend code with the API
2016-08-04 10:55:19 -07:00
Mike Jolley
a3ae757106
Make set/get_order_id methods private
2016-08-04 17:05:05 +01:00
Mike Jolley
b0963ddb0d
Merge pull request #11176 from woothemes/add/10954-shipping-zones-api
...
Add Shipping Zones API Endpoints.
2016-08-04 15:45:23 +01:00
Mike Jolley
387cd745c2
Add missing textdomains
2016-08-04 14:43:34 +01:00
Mike Jolley
c61c08f405
Merge branch 'master' into tax-rate-auto-ordering
...
# Conflicts:
# assets/css/admin.css
2016-08-04 14:06:52 +01:00
Mike Jolley
644cf79866
Move all query string vars to form in price widget using wc_query_string_form_fields
...
Closes #11593
@claudiosmweb @justinshreve look fine to you?
2016-08-04 13:37:39 +01:00
Mike Jolley
75895f71f9
made comparison strict
...
#11326
2016-08-04 13:09:21 +01:00
Mike Jolley
1bc9da3e91
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# includes/class-wc-coupon.php
2016-08-04 12:10:04 +01:00
Mike Jolley
1b71c1b0e7
Merge pull request #11619 from woothemes/fix/product-bulk-edit-webhook
...
Make sure product update webhook fires on bulk and quick edit.
2016-08-04 11:31:12 +01:00
Mike Jolley
475d8fc5ed
[2.6] More password check to else block
...
Closes #11623
2016-08-04 11:27:41 +01:00
Mike Jolley
c416a6d2d1
Merge pull request #11622 from WPprodigy/fix-responsive-category-images
...
Add responsive image markup for category thumbnails
2016-08-04 11:19:40 +01:00
Mike Jolley
fea9a3bce8
Merge pull request #11615 from woothemes/variable-weight-display-10621
...
Show variable weights/dimensions even when parent values are not set.
2016-08-04 11:12:30 +01:00
Mike Jolley
b0064bddf6
Remove boolval
2016-08-04 11:12:14 +01:00
Caleb Burks
a32f65df60
Formatting fix
2016-08-04 03:28:03 -04:00
Caleb Burks
abc954dc83
Add responsive image markup to category thumbnails
2016-08-04 03:16:58 -04:00
Justin Shreve
cad08747b9
Add bulk edit and quick edit to the list of hooks for the product.updated webhook.
2016-08-03 13:32:02 -07:00
Justin Shreve
8df6ff3c7b
Convert wp-admin's system status page to use the same backend code as the API.
2016-08-03 10:50:47 -07:00
Mike Jolley
5a9dacd595
Show variable weights/dimensions even when parent values are not set.
2016-08-03 16:07:34 +01:00
Maciej Swoboda
24235564d5
ZIP Code formatting for Poland
...
In Poland we use ZIP code formatting: XX-XXX. So the "-" sign should
not be removed.
2016-08-03 16:06:30 +02:00
Mike Jolley
f694f297e8
Use get_id()
2016-08-03 12:57:32 +01:00
Mike Jolley
b8db53c2c1
made set_type private
2016-08-03 12:54:16 +01:00
Mike Jolley
a053d234c9
get_order() method
2016-08-03 12:52:51 +01:00
Mike Jolley
1310ff09b5
Deprecated function replacements
2016-08-03 12:52:45 +01:00
Mike Jolley
837e08143b
Merge branch 'master' into orders-crud-classes
...
# Conflicts:
# includes/abstracts/abstract-wc-order.php
2016-08-03 12:32:27 +01:00
Claudio Sanches
4271617c79
Merge pull request #11594 from woothemes/multisite-login-11409
...
Add user to site on login
2016-08-02 16:00:33 -03:00
Justin Shreve
5d521b0da5
Fix product review endpoint based on PR feedback: Code cleanup, prepare_item_for_database like WP-API's comments does, better error handling on create, required arg simplification, trash support for reviews.
2016-08-02 11:03:44 -07:00
Justin Shreve
7529b0b3e9
Code cleanup
2016-08-02 10:30:43 -07:00
Justin Shreve
a305da25ef
Add batch support to the product reviews endpoint.
2016-08-02 10:30:43 -07:00
Justin Shreve
b8ec255ea8
First pass at a product reviews REST API that supports creating/updating/deleting product reviews.
2016-08-02 10:30:43 -07:00
Mike Jolley
ffb74a7b09
Add user to site on login
...
Closes #11409
2016-08-02 18:28:31 +01:00
Justin Shreve
9396c5436b
Make sure that the create shipping zone uses the correct permissions function. Also makes sure creating the shipping zone returns 201, with the location of the new entity, like other endpoints.
2016-08-02 10:26:26 -07:00
Justin Shreve
e761edd8d9
Make sure to load abstract-wc-rest-shipping-zones-controller.php
2016-08-02 10:10:47 -07:00
Justin Shreve
069ee3b9ac
Add an error check when creating a new shipping zone via the API, incase create() fails.
2016-08-02 10:10:47 -07:00
Justin Shreve
33e0b367ac
Add new line at end of files.
2016-08-02 10:10:47 -07:00
Jeff Stieler
ea4285b1ec
Ensure “rest of the world” zone retrieval doesn’t fail by using the core method instead of the REST controller wrapper.
2016-08-02 10:10:47 -07:00
Jeff Stieler
bb23d2eaae
Ensure _links are added to the single shipping zone method endpoint.
2016-08-02 10:10:47 -07:00
Jeff Stieler
5e7c495e10
Add “rest of the world” zone to API response.
2016-08-02 10:10:47 -07:00
Jeff Stieler
61a5bf8a68
Add single shipping zone method instance endpoint.
2016-08-02 10:10:47 -07:00