Torre Lasley
e9c3a3614f
Fixing Issue #10523 - Variations ID lookup by SKU
...
I copied the code from the bulk() function to look up the Variation ID by the Variation SKU if the Variation ID is missing.
2016-03-10 07:34:29 -05:00
Philip Mark Deazeta
72bfa736b5
Update class-wc-api-products.php
2016-03-08 10:07:36 +08:00
Mike Jolley
b221f9964a
Merge branch 'master' into 4-4-term-meta-handling
2016-03-02 18:24:52 +00:00
Claudio Sanches
5d99fa7ae4
[2.5] [API] Fix parent_id and menu_order for variations, closes #10307
2016-02-11 15:40:57 -02:00
Claudio Sanches
f6698006ce
[2.5] [API] Replace term_taxonomy_id for term_id while create/edit terms
...
Closes #10316
2016-02-10 14:27:00 -02:00
Claudio Sanches
e0881121a3
[API] Fixed image title and alt
...
Fixed image title and alt for single products
Added support for title and alt for variable products
Fixed category image upload method
Closes #10131
2016-01-22 16:43:52 -02:00
Claudio Sanches
dca1e4a53a
Merge pull request #10031 from krautnerds/api-reuse-internal-price-api
...
Eliminated duplicate price save code in api v2 and api v3
2016-01-21 19:40:38 -02:00
Florian Ludwig
d059ce6bc9
Fixed php notices for incorrect input format in date function if date is not set in db
2016-01-11 11:27:55 +01:00
Keijo Hyttinen
72f2f4a327
backorders needs identity check due to boolean values
2016-01-10 00:59:54 +02:00
Florian Ludwig
f41a0a539f
Fixed format of date after reading from DB
2016-01-08 13:34:19 +01:00
Florian Ludwig
734f3aed18
Eliminated duplicate price save code in api v2 and api v3
...
I think we shouldn’t coyp&paste too much code from core into the api so
I eliminated the duplicate code and made use of the already existing
_wc_save_product_price function for products and variations
2016-01-07 23:52:01 +01:00
Claudio Sanches
7adafc77c9
[API] Improved product attribute terms params
2015-12-18 21:39:30 -02:00
Claudio Sanches
b03280e230
[API] Manage product order_menu, closes #9866
2015-12-17 08:08:17 -02:00
Claudio Sanches
f7ef9c0cec
[API] Stop unset things in API
2015-12-16 16:46:31 -02:00
Claudio Sanches
55e4ef50b9
[API] Fixed errors and improved edit product categories endpoint
2015-12-16 16:44:41 -02:00
Claudio Sanches
ee990de153
[API] Fixed errors and improved create product category endpoint
2015-12-16 16:35:46 -02:00
Claudio Sanches
b31e15e48b
Fixed docblock versions
2015-12-04 21:18:06 -02:00
Claudio Sanches
11ce0fb18c
[API] Added endpoint to allow delete product attribute terms
2015-12-04 17:01:49 -02:00
Claudio Sanches
4d57d6f4db
[API] Added endpoint to allow edit product attribute terms
2015-12-04 16:53:17 -02:00
Claudio Sanches
20efee8cd4
[API] Added endpoint to create product attribute terms
2015-12-04 16:38:17 -02:00
Claudio Sanches
1d0d2258d0
[API] Created method to get a single product attribute term
2015-12-04 16:14:57 -02:00
Claudio Sanches
b530449774
[API] Created method to get product attribute terms
2015-12-04 16:02:31 -02:00
Claudio Sanches
3e355ef538
[2.4] [API] Delete product parent transients
...
Closes #9595
2015-12-01 19:26:35 -02:00
Claudio Sanches
c68501f666
[2.4] [API] Fixed backorders edit for variations
...
closes #9618
2015-12-01 19:14:41 -02:00
Claudio Sanches
eeafb202aa
[API] Save variation description, closes #9663
2015-11-29 19:57:08 -02:00
Mehdi Esmaeili
101c7f47e1
Better Documentation: Put throws tag
2015-11-17 16:21:42 +03:30
Claudio Sanches
57feb4ba9b
[API] Added woocommerce_api_uploaded_image_from_url action, closes #9568
2015-11-10 22:59:17 -02:00
Mike Jolley
19da7cf8bc
No need to delete termmeta if using the new tables
2015-11-06 15:33:23 +00:00
Claudio Sanches
4522b68a47
[2.4] [API] Avoid undefined $taxonomy warnings while save variable attributes, closes #9456
2015-10-28 16:31:05 -02:00
Claudio Sanches
154dac6d14
[2.4] [API] Fixed attributes save when using non-latin letters
...
Changed sanitize_title() to wc_sanitize_term_text_based() since
wp_set_object_terms() is creating wrong terms
Closes #9421
2015-10-23 14:38:37 -02:00
Claudio Sanches
bfe98a283c
[2.4] [API] Fixed editing product variations
...
Fixed general variations edition and make sync again variations when just
edit a variable product and don't send any 'variations' data
closes #9406
2015-10-22 17:19:16 -02:00
Jeff Stieler
58ec17f76d
Use new review verification status retrieval method on single review template and in APIs.
2015-10-20 22:05:17 -06:00
Jeff Stieler
95fe3d47c2
Use review comment meta for verification status in API calls and WP-CLI.
2015-10-20 22:03:29 -06:00
Claudio Sanches
f6526d72a7
[API] Allow get variable products by sku, closes #9330
2015-10-09 16:43:12 -03:00
Claudio Sanches
5b0a5d15a8
[API] Stop round product prices, closes #9271
2015-10-06 11:12:23 -03:00
Claudio Sanches
6cb5c08037
[API] Added inventory_delta attribute to products endpoint, closes #7673
2015-10-01 15:05:02 +02:00
Claudio Sanches
e34e234481
[API] Added grouped_products attribute to products endpoint, closes #8862
2015-10-01 14:08:42 +02:00
Claudio Sanches
f7ea1d4c6a
[API] Product featured_src return type as string, closes #9220
2015-09-25 16:13:52 +02:00
Claudio Sanches
c739f395ce
[2.4] [API] Improved the way are used for non-global attributes for variations
2015-09-17 02:57:04 -03:00
Claudio Sanches
376b13aece
[API] Sanitize product image alt attribute
2015-09-15 14:25:43 -03:00
Mikael Mattsson
d3302a9fa8
Merge branch 'master' of https://github.com/woothemes/woocommerce
...
# By Akeda Bagus (4) and Beka Rice (1)
# Via Mike Jolley (3) and others
* 'master' of https://github.com/woothemes/woocommerce :
Added more products query filter for REST API.
Added support to GET, POST, PUT, and DELETE tags.
Added support to POST, PUT, and DELETE categories.
Added API support for product shipping classes.
[2.5] Filter when purchase note is showed
2015-09-15 17:28:42 +02:00
Mikael Mattsson
ac49411146
Make the image properties alt and title writable in the REST API v3.
2015-09-15 17:17:14 +02:00
Akeda Bagus
97565ef9a1
Added more products query filter for REST API.
...
The new filters are taxonomies related: tag, shipping class, and
attribute. The code was refactored a bit so all taxonomies query are
wrapped within tax_query.
2015-09-15 07:18:28 -05:00
Akeda Bagus
6906eb4eae
Added support to GET, POST, PUT, and DELETE tags.
2015-09-13 17:59:07 +07:00
Akeda Bagus
2980ffd66b
Added support to POST, PUT, and DELETE categories.
2015-09-13 17:59:07 +07:00
Akeda Bagus
f781d393c8
Added API support for product shipping classes.
...
This change implements GET, POST, PUT, and DELETE handlers for shipping
classes endpoint, /products/shipping_classes.
Fixes #8948 .
2015-09-13 17:54:23 +07:00
Claudio Sanches
194f9cd6ec
Revert "Added API support for product shipping classes."
2015-09-10 14:22:11 -03:00
Akeda Bagus
1f18d861ce
Added API support for product shipping classes.
...
This change implements GET, POST, PUT, and DELETE handlers for shipping
classes endpoint, /products/shipping_classes.
Fixes #8948 .
2015-09-09 20:38:11 +07:00
Claudio Sanches
1d0d48b1ad
Fix attribute text based in API, closes #8823
2015-08-14 15:22:57 -03:00
nils-fredrik@maksimer.no
f4db67bcbc
Fix for #8691 : Variation without parent will not cause 500.
2015-07-30 23:32:24 +02:00