Mike Jolley
d8fcfcefb8
Variations API endpoint fixes
2016-11-15 12:51:26 +00:00
Mike Jolley
ef990355fd
Merge conflict
2016-11-15 11:52:29 +00:00
Mike Jolley
c18f6efeb4
Conflicts from master
2016-11-15 11:52:05 +00:00
Claudio Sanches
b1c32e5e50
Products endpoint tweaks ( #12354 )
...
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
2016-11-15 10:26:42 +00:00
Mike Jolley
cce4eef99d
Payment Token Data Store ( #12348 )
...
* Payment Token Data Store
* Handle feedback
* Rename interface file
2016-11-14 18:20:00 +00:00
Claudio Sanches
8650365e32
Removed test
2016-11-14 15:19:28 -02:00
Justin Shreve
d986d1bba1
Rename interface file
2016-11-14 09:13:55 -08:00
Justin Shreve
944e5d658b
Handle feedback
2016-11-14 09:08:46 -08:00
Claudio Sanches
657bd226f8
Removed API todos
2016-11-14 14:43:30 -02:00
Claudio Sanches
60f1fcf9e3
Merge pull request #12334 from sabbir1991/master
...
Fix toggle download and virtual in variation bulk action #12333
2016-11-14 14:11:30 -02:00
Justin Shreve
370166a6b0
Payment Token Data Store
2016-11-14 06:20:41 -08:00
James Koster
7b26985304
Merge pull request #12346 from woocommerce/fix/magnification-on-touch
...
Disable magnification on touch. #12315
2016-11-14 12:15:47 +00:00
James Koster
4343c8dc03
Disable magnification on touch. #12315
2016-11-14 11:50:37 +00:00
Justin Shreve
b0f859f6a2
Merge pull request #12345 from woocommerce/remove/cli
...
Remove CLI
2016-11-14 03:44:02 -08:00
Justin Shreve
ad67277a9b
Blank file for wc-cli.php
2016-11-14 03:36:26 -08:00
Justin Shreve
c1677867fe
Merge pull request #12343 from woocommerce/fix/coupon-functions-store
...
Move queries from coupon-functions.php to the coupon data store.
2016-11-14 03:33:58 -08:00
Claudio Sanches
4827225454
Add variations CRUD to legacy API ( #12331 )
...
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
2016-11-14 11:31:52 +00:00
Claudio Sanches
6de7984f2d
Fixed a few fatal errors and warnings in Products CRUD ( #12329 )
...
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
2016-11-14 11:02:56 +00:00
Justin Shreve
365a834d92
Remove CLI from WooCommerce. Moving to a new package.
2016-11-14 02:42:40 -08:00
Justin Shreve
4b33f11bf2
Move queries from coupon-functions.php to the coupon data store.
2016-11-14 02:31:04 -08:00
Sabbir Ahmed
7cd5488f26
Fix toggle download and virtual in variation bulk action #12333
2016-11-13 11:45:12 +06:00
Claudio Sanches
83f74145ee
Updated how create initial product variation
2016-11-11 17:29:56 -02:00
Claudio Sanches
1f31de39d9
Fixed variable description in REST API
2016-11-11 16:36:58 -02:00
Mike Jolley
c4806e63d1
Use new method in abstract order class to prevent headers sent issue in tests
2016-11-11 18:30:18 +00:00
Claudio Sanches
096622c9e4
Should pass WC_Product instancies to WC_Comments methods ( #12327 )
2016-11-11 18:13:56 +00:00
Mike Jolley
bc9d2c72aa
TODO is not accurate.
2016-11-11 18:09:06 +00:00
Claudio Sanches
3dfb4c98e3
Fixed coding standards
2016-11-11 15:19:40 -02:00
Claudio Sanches
b5011cd530
Merge pull request #12309 from woocommerce/update-variations-rest-api
...
Use variations CRUD in REST API
2016-11-11 14:59:42 -02:00
Claudio Sanches
e0f5a224b4
Merge branch 'update-variations-rest-api' of github.com:woocommerce/woocommerce into update-variations-rest-api
2016-11-11 14:58:27 -02:00
Claudio Sanches
cc109a7e0a
Removed duplicated sync
2016-11-11 14:58:03 -02:00
Claudio Sanches
518c3a3467
Allow set tax class as "parent"
2016-11-11 14:58:03 -02:00
Claudio Sanches
c8e34f3403
Fixed method returning in write context
2016-11-11 14:58:03 -02:00
Claudio Sanches
a17af7ad30
New default attributes method
2016-11-11 14:56:03 -02:00
Claudio Sanches
47e3f22810
Remove deprecated get_variation_id()
2016-11-11 14:56:03 -02:00
Claudio Sanches
5cab607be7
Use variations CRUD to save variations metadata
2016-11-11 14:56:03 -02:00
Claudio Sanches
9fd64f49e4
Updated get methods on REST API for variations
2016-11-11 14:56:02 -02:00
Claudio Sanches
4083f5b8d7
Allow wc_rest_prepare_date_response() handle timestamps
2016-11-11 14:56:02 -02:00
Claudio Sanches
57b75bb95d
Fixed undefined $image_id in WC_Product_Variation::get_image_id()
2016-11-11 14:56:02 -02:00
Claudio Sanches
d039e12f47
Fixed wrong variation URLs
2016-11-11 14:53:53 -02:00
Claudio Sanches
4c44ed666f
Removed duplicated sync
2016-11-11 14:47:44 -02:00
Claudio Sanches
8b96122f28
Allow set tax class as "parent"
2016-11-11 14:46:51 -02:00
Mike Jolley
3d58459246
Remove old/complete todos
2016-11-11 16:28:47 +00:00
Mike Jolley
4600ccd146
Check for parent value - fixes tax class
2016-11-11 16:22:51 +00:00
Mike Jolley
e1c4c4ab96
Fix error in variation admin
2016-11-11 16:22:39 +00:00
Claudio Sanches
5a2947d059
Fixed method returning in write context
2016-11-11 14:19:12 -02:00
Mike Jolley
e1dd355cd9
Cart js class ( #12172 )
...
* Add classes and revise JS
* Block correct element in totals
* If no form with class is present, revert to reloading page
* Reload
* Rebase fail
2016-11-11 16:00:32 +00:00
Mike Jolley
ac6bda2f62
Product crud abstract todos ( #12316 )
...
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
2016-11-11 15:31:00 +00:00
Justin Shreve
90e43d97de
[Product CRUD] Product Datastore ( #12317 )
...
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
2016-11-11 14:31:15 +00:00
Claudio Sanches
4daca5e110
New default attributes method
2016-11-11 12:28:29 -02:00
Claudio Sanches
638ab62ec3
Remove deprecated get_variation_id()
2016-11-11 12:14:10 -02:00