Commit Graph

14 Commits

Author SHA1 Message Date
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
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