Justin Shreve
91ddc7ecbd
Remove the download type input from the product data metabox for downloadable products. ( #12221 )
2016-10-31 15:12:46 +00:00
Justin Shreve
b07879adc6
Add a wc_get_products wrapper.
2016-10-28 10:46:59 -07:00
Justin Shreve
12e3e4469d
Fix comparison for is_on_sale and remove download_type from WC_Product.
2016-10-28 08:13:46 -07:00
Justin Shreve
e2b90f11f3
Fix final failing tests and implementing setters/getters and attributes functionality.
2016-10-27 09:31:56 -07:00
Justin Shreve
11dfc44778
Additional API updates/fixes. Added some todos
2016-10-27 09:30:15 -07:00
Justin Shreve
7ed100dcac
REST API CRUD Updates
2016-10-27 09:30:15 -07:00
Mike Jolley
5855170c5a
[Product CRUD] Product crud admin use getters ( #12196 )
...
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
2016-10-27 14:08:16 +01:00
Mike Jolley
38703f1907
Product crud admin save routine ( #12174 )
...
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
2016-10-26 18:02:50 +01:00
Mike Jolley
cc768c5406
[Product CRUD] Product crud terms ( #12149 )
...
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
2016-10-24 10:32:15 +01:00
Mike Jolley
b1dbfd9c5b
[Product CRUD] Grouped Handling ( #12151 )
...
* Handle grouped product saving
* Update routine
2016-10-24 09:19:29 +01:00
Justin Shreve
880dc53ac9
[Product CRUD] Variable ( #12146 )
...
* [Product CRUD] Variable Products
* Handle PR feedback.
2016-10-24 08:28:56 +01:00
Mike Jolley
49b40ae4bc
Price handling
2016-10-20 17:15:03 +01:00
Mike Jolley
52aebdbc0d
wc_get_price_to_display
2016-10-20 16:40:17 +01:00
Mike Jolley
b13ef43498
get_price_including_tax/excluding_tax functions
2016-10-20 16:32:16 +01:00
Mike Jolley
096d2e4edf
missing $this
2016-10-20 15:13:51 +01:00
Mike Jolley
b5b7ea48f3
Put back review functions (still todo)
2016-10-20 15:08:49 +01:00
Mike Jolley
9a8681a713
Rename method
2016-10-20 15:07:50 +01:00
Mike Jolley
b6deb23e5c
Tidy/add todos
2016-10-20 15:06:44 +01:00
Mike Jolley
61a866f8f0
Availability html
2016-10-20 15:02:25 +01:00
Mike Jolley
0520f73a6b
Moving and refactoring methods
2016-10-20 12:42:24 +01:00
Mike Jolley
05b0b34c96
Merge pull request #12123 from woocommerce/product-crud-grouped
...
[Product CRUD] Grouped products
2016-10-19 11:13:23 +01:00
Mike Jolley
2a5a9faa61
Spacing in query
2016-10-19 11:13:08 +01:00
Mike Jolley
ad4e99c3e5
Merge pull request #12101 from woocommerce/product-crud-related-products
...
[Product CRUD] Product crud related products
2016-10-18 19:08:59 +01:00
Mike Jolley
78931220b4
Merge branch 'product-crud' into product-crud-grouped
...
# Conflicts:
# tests/framework/helpers/class-wc-helper-product.php
2016-10-18 18:58:08 +01:00
Mike Jolley
a8b7ee6929
Grouped product class
2016-10-18 18:38:42 +01:00
Justin Shreve
b311caa1bc
External Product CRUD
2016-10-18 09:59:02 -07:00
Mike Jolley
c2a67803fc
Made abstract function useful
2016-10-18 17:13:12 +01:00
Justin Shreve
6e69b0d924
Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
2016-10-18 07:47:28 -07:00
Justin Shreve
fde97df50f
Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
2016-10-17 13:30:05 -07:00
Mike Jolley
50f21276fc
wc_get_product_term_ids instead of related wording and use in other places.
...
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
2016-10-17 17:18:57 +01:00
Mike Jolley
e6e600ba8a
Remove unneeded comments
2016-10-17 17:07:19 +01:00
Mike Jolley
6bf077a367
Sanitize ids later
2016-10-17 17:04:24 +01:00
Claudio Sanches
f42d853453
Use count() instead of sizeof()
2016-10-17 13:31:49 -02:00
Claudio Sanches
aad06f6642
Fixed wrong variable in wc_get_related_terms
2016-10-17 13:29:12 -02:00
Claudio Sanches
c3b6135937
Get cached terms from wc_get_related_terms()
2016-10-17 13:28:52 -02:00
Claudio Sanches
92484d140c
Fixed coding standards and improved the docblocks
2016-10-17 13:23:49 -02:00
Mike Jolley
717bb62f19
Merge branch 'product-crud' into product-crud-related-products
2016-10-17 15:57:10 +01:00
Mike Jolley
803709cb94
Add related product functions and deprecate those in class.
2016-10-17 15:57:09 +01:00
Mike Jolley
627beecd42
Missing var
2016-10-17 15:56:16 +01:00
Mike Jolley
a74de70dc3
Initial look through getters and setters and abstract data
2016-10-17 14:46:46 +01:00
Mike Jolley
30a164ea67
Hardcode the get_type per product class
2016-10-17 12:22:23 +01:00
Claudio Sanches
60b1361305
Fixed several erros while setting data
2016-10-11 14:53:23 +01:00
Claudio Sanches
42b96346b5
Product set methods
2016-10-11 14:53:23 +01:00
Claudio Sanches
43fd79cfcd
First methods for WP_Product crud
2016-10-11 14:53:23 +01:00
Claudio Sanches
d627d7f764
Created function to get the catalog visibility options
2016-10-11 14:11:37 +01:00
Mike Jolley
321a72b957
Add missing comma
2016-10-11 11:53:47 +01:00
Mike Jolley
2396c0e18e
Fix new zone
2016-10-11 11:53:07 +01:00
Mike Jolley
d7f2d29ddc
Add row actions back
2016-10-11 11:46:23 +01:00
Mike Jolley
8a510994ef
Merge branch 'master' into shipping-zone-ui
...
# Conflicts:
# assets/css/admin.css
2016-10-10 18:45:54 +01:00
Mike Jolley
2d270fb405
Fix saving and rest of world
2016-10-10 18:41:07 +01:00