Commit Graph

107 Commits

Author SHA1 Message Date
Mike Jolley c928188831 Update from master 2019-07-10 12:57:02 +01:00
Mike Jolley d31f6f70a2 Package init method 2019-06-21 17:28:46 +01:00
Mike Jolley 5b105d0c7f Init the API and add to status report 2019-06-21 13:40:53 +01:00
Mike Jolley 038bac16f5 Update paths to legacy API and implement init method. 2019-06-19 11:29:49 +01:00
Mike Jolley 00a8ef5d4d Move legacy API files from /api/ to /legacy/api 2019-06-19 11:23:47 +01:00
Gerhard efe3e4c5d6 Move get_used_coupons to WC_Abstract_Legacy_Order and renamed get_used_coupon_codes to get_coupon_codes. 2019-05-14 11:19:48 +02:00
Mike Jolley add1765234 Inline docs 2019-03-05 13:49:02 +00:00
Mike Jolley 6d5f5be164 sync_rating_count before average in deprecated method 2019-03-05 13:47:56 +00:00
Claudio Sanches 0660a50e07 Removed obvious boolean results 2018-03-21 19:57:10 -03:00
Mike Jolley 01871fd2c8 Add getter for tax_display_cart variable, with filter 2017-12-15 13:39:35 +00:00
Claudio Sanches c6f8e95b97 Merge branch 'master' into feature/webhook-crud 2017-11-28 15:09:10 -02:00
claudiulodro 32347c5470 Fix legacy API include paths 2017-11-22 10:28:02 -08:00
Claudio Sanches 7043245cb5 Merge branch 'master' into feature/webhook-crud 2017-11-07 12:42:28 -02:00
Mike Jolley 93a6f68408 Merge pull request #17193 from woocommerce/fix/legacy-fees-api
Fix/legacy fees api
2017-10-13 17:36:43 +01:00
Mike Jolley 803b31a18c Switched to property_exists and moved deprecation notice to avoid errors and setting fees unnecessarily. 2017-10-13 13:46:49 +01:00
Manos Psychogyiopoulos 3562f7156a Add missing break in WC_Legacy_Cart class 2017-10-13 14:17:13 +03:00
Claudio Sanches 368d958be4 Merge branch 'master' into feature/webhook-crud 2017-10-10 16:13:37 -03:00
Claudio Sanches c00fce3f94 Merge pull request #16490 from woocommerce/feature/16445
Webhooks CRUD and Data Store
2017-10-10 16:10:31 -03:00
Claudio Sanches 31f42ba907 Move includes/class-wc-legacy-api.php to includes/legacy/class-wc-legacy-api.php 2017-10-05 14:02:30 -03:00
Boro Sitnikovski 71305b131f Treat values in cart_contents hash as arrays instead of objects 2017-09-29 18:46:34 +02:00
claudiulodro d5981b34e8 Remove redundant rendundancy in deprecation notices 2017-09-21 09:45:38 -07:00
Mike Jolley eb79566985 Fix legacy access to array props (fees, taxes, coupon totals + taxes)
Closes #16861
2017-09-20 15:39:05 +01:00
Boro Sitnikovski d934bf89e1 Use proper variable scoping on class level instead of function level 2017-09-01 10:46:29 +02:00
Mike Jolley 57865204aa Cart fees class and legacy 2017-08-22 15:17:58 +01:00
Mike Jolley 5c271af844 Handle isset for legacy props, and adjust free shipping logic
Closes #16547
2017-08-21 13:01:20 +01:00
Mihai Grigori f6a6cef1d9 \WC_Legacy_Cart::get_cart_for_session must return a value 2017-08-21 11:58:29 +03:00
Mike Jolley 1c8ad67a9e Fix tests and tax merges 2017-08-18 15:05:01 +01:00
Mike Jolley d2e3839d99 Use getters and setters in cart class 2017-08-18 12:51:45 +01:00
Mike Jolley a190dc79c3 Legacy getters/setters 2017-08-18 12:24:17 +01:00
Mike Jolley aefb9c4705 Moved magic method to legacy 2017-08-18 11:37:22 +01:00
Mike Jolley c0368362ce First pass 2017-08-18 11:29:26 +01:00
Claudio Sanches 67a6a7ce7f Deprecated WC_Webhook::update_status 2017-08-16 21:14:07 -03:00
Claudio Sanches a8f0f854f4 Legacy Webhook class 2017-08-16 21:07:24 -03:00
Mike Jolley e9c3ebebdc Merge branch 'master' into feature/discounts-class
# Conflicts:
#	includes/abstracts/abstract-wc-data.php
#	woocommerce.php
2017-08-08 15:49:59 +01:00
Mike Jolley 6dc67ee133 phpcs 2017-08-08 10:51:35 +01:00
Claudio Sanches 77855f9d07 Soft deprecated WC_Cart->coupon_applied_count 2017-07-28 18:12:56 -03:00
Fulvio Notarstefano 7781b2ea4d [#16242] Add context to woocommerce_backordered_item_meta_name 2017-07-25 11:54:03 +08:00
Jaydeep Rami 3522857d23 Fix typo in WooCommerce plugin (#16135)
* Fixed typo

* Fixed more typo

* Fixed more typo

* Fix tyop

* Fix more typo

* Fix more typo

* Fix typo

* Fix typo

* Fix typo

* Fix typo datatime object

* Fix short name of compat

* Fix typo: update short name

* Fix typo "deactive" to "deactivate" and short BW - Compat

* Fix typo "Backwards compat"

* Fix typo 'parameters'

* Fix more typo 'pararmeters'

* Fix typo 'compund'

* FIx typo order

* Fix typo

* Fix typo 'incorrecly'

* Fix typo 'genarate'

* Fix typo 'reletive'

* Fix typo 'Handly'

* Fix typo 'rotatated'

* Fix typo

* Fix typo 'additonal'

* Fix typos
2017-07-17 11:10:52 +01:00
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Claudio Sanches 12bd41dd4b Merge pull request #14849 from franticpsyx/fix-get-price-html-from-to-fallback
[3.0] Incorrect use of `wc_format_price_range` in `get_price_html_from_to`
2017-05-03 17:40:40 -03:00
Manos Psychogyiopoulos faa53edc2b Call `wc_format_sale_price` in `get_price_html_from_to` 2017-05-03 15:13:29 +03:00
Mike Jolley 27993c0c50 Legacy customer class missing get_address / get_address_2 functions
Fixes #14679
2017-04-25 13:18:58 +01:00
Mike Jolley d8bc209cab read_product_data does not exist 2017-04-06 20:55:51 +01:00
Mike Jolley 261ae0ebda Only call sync if callable 2017-04-06 14:18:17 +01:00
Mike Jolley 14802a0307 Remove double unserialization 2017-03-31 12:10:20 +01:00
Rodrigo Primo 28c8ae8f95 Add the class name to deprecated messages wherever appropriate
Doing this change to make it easier to locate the deprecated method and its replacement and also to be consistent with the other deprecated messages.
2017-03-23 12:32:02 -03:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Mike Jolley 75a5b062cf Merge pull request #13577 from woocommerce/fix-13498
Timezone/Date method handling
2017-03-15 16:09:41 +00:00
Mike Jolley d55653a408 Merge branch 'master' into fix-13498
# Conflicts:
#	includes/class-wc-order.php
#	tests/unit-tests/crud/data.php
2017-03-15 15:52:40 +00:00
Mike Jolley a34dd0480d Merge pull request #13587 from woocommerce/fix-13525
Update coupon date handling
2017-03-15 15:26:41 +00:00