claudiosmweb
e1e1c14ae7
fixed errors while adding variable products with non-taxonomy attributes, closes #6082
2014-08-28 16:25:08 -03:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
claudiosmweb
6081f3b61f
fixed some missing and wrong textdomains
2014-08-15 16:08:43 -03:00
Mike Jolley
4203ed77e3
Merge pull request #5842 from BFTrick/get-a-job
...
Adding an Employment Easter Egg
2014-07-30 12:19:11 +01:00
Max Rice
80368dc105
Add product categories endpoint to REST API
...
This commit adds two new endpoints:
* GET /products/categories - returns a list product categories
* GET /products/category/#{id} - returns the product category for #{id}
Closes #5806
2014-07-28 19:01:50 -04:00
Max Rice
cca54879fa
Fix misc docblocks
2014-07-27 23:23:59 -04:00
Patrick Rauland
568c0102ae
adding get_a_job method
2014-07-14 09:18:07 -06:00
claudiosmweb
49882740bb
added the possibility to remove the product images by API
2014-06-30 18:02:31 -03:00
claudiosmweb
617b299d8f
improved the image upload to get images by ID and save the _product_image_gallery
2014-06-30 17:58:27 -03:00
claudiosmweb
d3a2307d18
improved the image upload
2014-06-30 17:31:25 -03:00
claudiosmweb
584af93aba
fixed a variable override when create new variable productions
2014-06-30 16:36:13 -03:00
claudiosmweb
d3dc018ffc
fixed the wc_product_has_unique_sku() function name
2014-06-27 16:03:25 -03:00
claudiosmweb
0a4b6387e6
introduces the wp_product_has_unique_sku() function
2014-06-27 15:59:24 -03:00
claudiosmweb
e208770265
fixed some coding standards
2014-06-26 16:55:24 -03:00
claudiosmweb
84be699374
added new product API actions
2014-06-26 16:51:03 -03:00
claudiosmweb
fe53733be0
added method to save the variations in product API
2014-06-26 16:47:54 -03:00
claudiosmweb
bdd5f9d0f6
created API methods to save product categories and tags
2014-06-25 16:38:51 -03:00
claudiosmweb
2dffa85353
fixed the downloads method
2014-06-25 16:27:24 -03:00
claudiosmweb
dce4a4eed6
added all product options for save in WC_API_Products::save_product_meta() method
2014-06-25 16:20:28 -03:00
claudiosmweb
28713a760c
improved the product price in product API handler
2014-06-25 13:27:48 -03:00
claudiosmweb
101169322c
added method to save product attributes in products API
2014-06-24 18:32:37 -03:00
claudiosmweb
ea9fb154a9
fixed/improved the PUT method in product API
2014-06-24 17:34:06 -03:00
claudiosmweb
bec77c12d8
added PUT method in product API
2014-06-24 17:28:36 -03:00
claudiosmweb
78f461f835
fixed the save product method in API
2014-06-24 17:17:51 -03:00
claudiosmweb
49c80e6732
fixed the create producs method in products API
2014-06-24 17:16:36 -03:00
claudiosmweb
52a5ae9086
added delete method in products API
2014-06-24 17:16:08 -03:00
claudiosmweb
0971b87f30
added @kloon's WC_API_Products::save_product_meta() method
2014-06-24 15:30:11 -03:00
claudiosmweb
f583f94885
improved the save product images methods in product API
2014-06-24 15:23:21 -03:00
claudiosmweb
d7e49ea801
created methods to save product images by API
2014-06-24 15:19:34 -03:00
claudiosmweb
5ca7516139
initial create product API method
2014-06-24 14:42:10 -03:00
Mike Jolley
b7643e469b
Merge pull request #4763 from claudiosmweb/remove_the_content_filter
...
Removed all the_content filter in favor to wpautop() and do_shortcode()
2014-05-15 10:52:26 +01:00
Mike Jolley
08b94299d3
Remove post_parent so grouped simple products are also returned
...
Fixes #5178
2014-04-07 10:19:13 +01:00
claudiosmweb
02053f2d5c
removed all the_content filter in favor to wpautop() and do_shortcode() functions
2014-02-13 02:49:30 -02:00
Max Rice
7f677300eb
API: Add feature image src to product response
2014-01-13 22:14:20 -05:00
Coen Jacobs
4afbd0b556
Merge branch 'function-call-refactor'
...
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley
3408965b8a
Product functions
2013-11-25 14:01:38 +00:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Coen Jacobs
1663eafb68
Customer functions woocommerce to wc refactor
2013-11-25 13:52:53 +01:00
Max Rice
017e7cee1d
Add permissions for count endpoints
2013-11-23 17:11:16 -05:00
Max Rice
0be58b3390
Normalize response data types
...
Part of #4055
2013-11-23 16:36:56 -05:00
Max Rice
20fb7e771f
Add total sales property to products response
2013-11-23 15:17:14 -05:00
Max Rice
3bc8fae631
Remove PUT/DELETE endpoints
...
Will be implemented in 2.2
Part of #4055
2013-11-23 15:01:53 -05:00
Max Rice
3f07b8be77
Specify 2 decimal places for woocommerce_format_decimal()
...
Part of #4055
2013-11-23 14:40:31 -05:00
Max Rice
d7c77d1ab7
API: Add XML generation
...
This commit completes the XML response handler and adjusts the output
format for all resources to include a top-level property that encloses
the response. This is more consistent with the multi-resource (e.g. GET
/orders) response.
Part of #4165
2013-11-22 03:41:32 -05:00
Max Rice
48e8363db0
Add meta to resource responses
...
Part of #4055
2013-11-18 22:58:10 -05:00
Max Rice
3130369325
Update filter_response_fields() to support sub-field inclusion
...
Part of #4055
2013-11-18 21:59:13 -05:00
Max Rice
490dc758a9
Update pagination args/headers
...
Part of #4055
2013-11-18 21:06:45 -05:00
Max Rice
87ff36db12
Properly handle datetimes
...
Part of #4055
2013-11-18 16:47:38 -05:00
Max Rice
674ea42012
Implement GET endpoint for products and reviews
...
Part of #4055
2013-11-14 12:40:35 -05:00
Max Rice
a13a95e452
Update API resource classes
...
Change method naming to snake_case and implement initial
`current_user_can()` permission checks
2013-11-10 19:29:36 -05:00
Max Rice
23e6b22cfd
Rename API base resource class
2013-11-09 16:20:23 -05:00
Max Rice
c3fa52b0b5
Update API classes to use new WC_API_Server class
2013-11-06 01:54:19 -05:00
Max Rice
e219585974
Add initial versions of REST API resource classes
2013-11-04 01:36:31 -05:00