Mike Jolley
|
64e04c614a
|
fix variable in calculate_discounts
|
2017-07-28 16:43:51 +01:00 |
Mike Jolley
|
14717d4ebb
|
fix call to apply_coupon_fixed_cart_remainder
|
2017-07-28 16:33:02 +01:00 |
Mike Jolley
|
c7cb46a524
|
Fix array shift usage
|
2017-07-28 16:31:11 +01:00 |
Mike Jolley
|
9170b61a1c
|
fix in cents logic direction.
|
2017-07-28 16:17:57 +01:00 |
Mike Jolley
|
e23e55bb27
|
Methods for getting specific totals and discounts whilst keeping storage in a single array
|
2017-07-28 15:35:41 +01:00 |
Mike Jolley
|
51fbb1aec3
|
set_items_from_cart
|
2017-07-28 13:02:39 +01:00 |
Mike Jolley
|
9b458f9368
|
Remove private validation methods from coupon and use discounts class
|
2017-07-28 12:20:49 +01:00 |
Mike Jolley
|
5ed2f147a7
|
woocommerce_coupon_is_valid
|
2017-07-28 11:51:57 +01:00 |
claudiulodro
|
b56b87c97b
|
Good progress on wc_discount and manual discount handling
|
2017-07-27 14:08:38 -07:00 |
claudiulodro
|
3a11e345a6
|
Fix some things and hook up discount class
|
2017-07-27 11:08:22 -07:00 |
claudiulodro
|
409320482a
|
Get everything working again
|
2017-07-27 10:37:20 -07:00 |
claudiulodro
|
0aa9894bae
|
Merge remote-tracking branch 'origin/feature/discounts-class' into HEAD
|
2017-07-27 09:32:08 -07:00 |
Claudiu Lodromanean
|
74d33bd510
|
Merge pull request #16275 from woocommerce/feature/discounts-class-totals-refactored
Cart totals class and calculation improvements
|
2017-07-27 09:01:55 -07:00 |
Mike Jolley
|
fcfa510445
|
Fixed totals tests
|
2017-07-27 16:57:05 +01:00 |
Claudio Sanches
|
fc5f199906
|
Deprecated WC_Coupon validation methods
|
2017-07-27 11:46:17 -03:00 |
Mike Jolley
|
795d8fa2fd
|
Tests
|
2017-07-27 15:46:02 +01:00 |
Mike Jolley
|
ded2be8d28
|
Legacy filters
|
2017-07-27 15:31:10 +01:00 |
Mike Jolley
|
6054519605
|
Discount taxes
|
2017-07-27 13:48:58 +01:00 |
Mike Jolley
|
98db84dfdd
|
Passing tests
|
2017-07-27 11:01:48 +01:00 |
Mike Jolley
|
c6b8ad598f
|
Precision functions
|
2017-07-27 10:51:08 +01:00 |
Mike Jolley
|
306db69eaf
|
Remove order subclass
|
2017-07-27 10:49:47 +01:00 |
claudiulodro
|
cfb04f0ead
|
Boolval wasnt added til php 5.5
|
2017-07-26 13:48:36 -07:00 |
claudiulodro
|
d15a2f5f6a
|
Make tax calculation optional
|
2017-07-26 13:46:50 -07:00 |
claudiulodro
|
ea0bd7980a
|
Get order totals working
|
2017-07-26 12:06:05 -07:00 |
claudiulodro
|
77838d05bb
|
Fix unknown item variable
|
2017-07-26 10:25:08 -07:00 |
Mike Jolley
|
b9b4336c1b
|
Removed some duplicate keys
|
2017-07-26 16:50:34 +01:00 |
Mike Jolley
|
abdb325d83
|
Order items
|
2017-07-26 15:47:30 +01:00 |
Mike Jolley
|
1faae6a7aa
|
Order subclass
|
2017-07-26 14:32:43 +01:00 |
Mike Jolley
|
250dabaf41
|
WC_Cart_Totals subclass
|
2017-07-26 12:44:06 +01:00 |
Mike Jolley
|
052be04ee7
|
Use passed through cart item, rather than try to generate a custom one
|
2017-07-26 11:26:50 +01:00 |
Mike Jolley
|
e9f35febd0
|
Store cart item as part of items array
|
2017-07-26 11:26:35 +01:00 |
Mike Jolley
|
457a7c2a32
|
phpcs/tidy discounts class
|
2017-07-26 11:07:17 +01:00 |
Mike Jolley
|
58b54673d1
|
Merge pull request #16256 from woocommerce/feature/discounts-coupon-validation
Add coupon validation logic to WC_Discounts
|
2017-07-26 10:21:56 +01:00 |
Claudio Sanches
|
f0dfff4a86
|
Sync with feature/discounts-class
|
2017-07-25 22:41:18 -03:00 |
Claudio Sanches
|
2573adedd5
|
Moved coupon validation logic to WC_Discounts
|
2017-07-25 22:36:41 -03:00 |
claudiulodro
|
dfee2c0cbe
|
Maybe integrate cart and total classes
|
2017-07-25 14:44:54 -07:00 |
Mike Jolley
|
b68adf748b
|
Tests pass
|
2017-07-25 17:25:06 +01:00 |
Mike Jolley
|
474799889f
|
Disable discounts tests until rewritten
|
2017-07-25 15:57:58 +01:00 |
Mike Jolley
|
40cb2c9cb0
|
phpcs
|
2017-07-25 15:24:00 +01:00 |
Mike Jolley
|
4c4f26ff41
|
Changes to allow shipping to be calculated from totals class
Moved some items from
https://github.com/woocommerce/woocommerce/pull/11889/files to support
this.
|
2017-07-25 15:11:32 +01:00 |
Mike Jolley
|
e8e200195f
|
fees pass
|
2017-07-25 14:05:49 +01:00 |
Mike Jolley
|
ee545e7793
|
Totals progress
|
2017-07-24 17:21:08 +01:00 |
Mike Jolley
|
45a9826a80
|
Totals class and tests files
|
2017-07-23 12:05:11 +01:00 |
Mike Jolley
|
45258a7e02
|
Started adding totals class from https://github.com/woocommerce/woocommerce/pull/11889/files
|
2017-07-21 16:49:52 +01:00 |
Mike Jolley
|
83b60573fa
|
Framework for discount class
|
2017-07-21 14:22:40 +01:00 |
Mike Jolley
|
499519eaac
|
WC_Discount class
|
2017-07-20 20:50:09 +01:00 |
Mike Jolley
|
e5ec0e66e3
|
fixed discount
|
2017-07-20 20:33:27 +01:00 |
Mike Jolley
|
0e96bd8a93
|
Discount rows
|
2017-07-20 17:34:30 +01:00 |
Mike Jolley
|
06c1a2ad8d
|
apply discount
|
2017-07-20 14:33:38 +01:00 |
Mike Jolley
|
f77fc21785
|
test_get_applied_coupons
|
2017-07-19 16:17:58 +01:00 |