Mike Jolley
72be782e2a
Merge pull request #13719 from rodrigoprimo/remove-unused-phpdoc
...
Remove phpdoc for non-existing argument on WC_Order_Item_Product::get_product()
2017-03-22 19:16:39 +00:00
Rodrigo Primo
b47a7b52df
Remove phpdoc for non-existing argument on WC_Order_Item_Product::get_product()
2017-03-22 16:04:49 -03:00
Rodrigo Primo
ce9ecefa98
Remove unused global variable from WC_Order_Item_Product::get_item_downloads()
2017-03-22 16:00:11 -03:00
Mike Jolley
3a2f3586ed
get_tax_refunded_for_item ignoring tax id
...
Fixes #13681
2017-03-21 11:20:39 +00:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
3529d7cafd
Cache items
2017-02-01 14:54:18 +01:00
Justin Shreve
474a307420
Introduce get_tax_class_slugs.
2017-01-25 13:38:13 -08:00
Mike Jolley
2e1e7c0f93
Fix downloads remaining
...
Issues around ‘’ set (unlimited downloads) Fixes #12692
2017-01-03 15:03:55 +00:00
Manos Psychogyiopoulos
02abc9b9eb
use get_order instead of creating new object when applying woocommerce_get_product_from_item
2016-12-21 21:01:47 +02:00
Manos Psychogyiopoulos
e2651d730d
back compat for old order item 'qty' field
2016-12-20 01:06:39 +02:00
Mike Jolley
b9bb8eabba
Fix order item meta
2016-11-24 11:50:34 +00:00
Mike Jolley
b1007c9d62
Fix order item meta saving
2016-11-23 15:37:34 +00:00
Justin Shreve
afa294e70d
Fix legacy API issues
2016-11-21 10:57:33 -08:00
Justin Shreve
51a55b6782
Add interface, renaming main order item data store to abstract. Various fixes.
2016-11-21 10:57:33 -08:00
Justin Shreve
b20b3590c8
First pass at order items
2016-11-21 10:56:21 -08:00
Mike Jolley
edf973d35f
Feedback
2016-11-21 14:30:56 +00:00
Mike Jolley
b81bde4f5a
admin updates
2016-11-18 19:56:17 +00:00
Mike Jolley
b1565cf0d6
Download update routine and interface
2016-11-18 19:29:37 +00:00
Mike Jolley
1b6d7acd24
Data store for downloads
2016-11-18 17:13:02 +00:00
Mike Jolley
599a2ad296
Product CRUD improvements ( #12359 )
...
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:17:00 +00:00
Mike Jolley
5f4dbdb733
[Product CRUD] Variations - setters, getters and admin. ( #12228 )
...
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
2016-11-09 16:05:49 +00:00
Mike Jolley
3f9ab31461
Fix CRUD refunds
2016-09-07 10:04:56 +01:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
9bd57414c5
Remove set and get prop - no longer need the extra overhead since functions won't return wp_error now.
2016-08-26 10:48:17 +01:00
Mike Jolley
1f1868195b
Write context error
2016-08-25 14:32:28 +01:00
Mike Jolley
3637814b92
Revert use of default_data for default args and just set that in constructor
2016-08-25 13:31:03 +01:00
Mike Jolley
25883f8687
Set_props helper to load data from DB and handle errors
2016-08-25 13:05:27 +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
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
2636d04ba6
Setters
2016-08-23 15:25:50 +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
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
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
6090e3cd00
set_backorder_meta helper
2016-08-15 11:02:38 +01:00
Mike Jolley
a8759fc0aa
Meta/product handling
2016-08-08 16:20:15 +01:00
Mike Jolley
1310ff09b5
Deprecated function replacements
2016-08-03 12:52:45 +01:00
Mike Jolley
a1adf0cf78
Order item classes
2016-06-21 20:10:09 +01:00