Mike Jolley
|
e99471c0cd
|
Removed manual discounts code
|
2017-08-18 10:36:10 +01:00 |
claudiulodro
|
9a47146716
|
Fix discounts rounding issues
|
2017-08-15 14:11:25 -07:00 |
Mike Jolley
|
129eae141a
|
Fix custom discount amounts not multiplying by qty
|
2017-08-15 16:25:39 +01:00 |
Mike Jolley
|
3c18d5e849
|
Adjust total discount for ex.tax
|
2017-08-15 16:25:39 +01:00 |
Mike Jolley
|
de35d9ba02
|
Apply woocommerce_coupon_get_discount_amount without cents
cc @claudiulodro
|
2017-08-15 15:29:22 +01:00 |
claudiulodro
|
ae80d12d80
|
Merge master
|
2017-08-14 11:12:09 -07:00 |
Mike Jolley
|
6f4fd61a4f
|
Do not check if logged in
|
2017-08-14 12:28:03 +01:00 |
Mike Jolley
|
9eece1cb1e
|
Include shipping and fee in total
|
2017-08-11 16:16:50 +01:00 |
Mike Jolley
|
3dc9f06f6a
|
Remove fixed discounts correctly
|
2017-08-10 12:06:03 +01:00 |
Mike Jolley
|
06381f28bd
|
Edit items rather than recreate
|
2017-08-10 11:38:09 +01:00 |
Mike Jolley
|
f71dc64d35
|
Manual discounts and negative taxes
|
2017-08-09 18:53:10 +01:00 |
claudiulodro
|
1328e17069
|
Fix logic
|
2017-08-09 10:10:46 -07:00 |
Mike Jolley
|
722ac5ad78
|
Load order items
|
2017-08-09 16:16:36 +01:00 |
Mike Jolley
|
81806617d7
|
Fix total and rounding logic for tests
|
2017-08-08 09:24:26 +01:00 |
claudiulodro
|
80708255ee
|
Fix inc tax price calculation
|
2017-08-02 11:07:33 -07:00 |
claudiulodro
|
036d709b19
|
Use item subtotal for discount item price
|
2017-07-31 14:44:51 -07:00 |
Mike Jolley
|
0839f5716b
|
phpcs
|
2017-07-28 17:49:39 +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
|
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 |
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
|
b9b4336c1b
|
Removed some duplicate keys
|
2017-07-26 16:50:34 +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
|
457a7c2a32
|
phpcs/tidy discounts class
|
2017-07-26 11:07:17 +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 |
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
|
ee545e7793
|
Totals progress
|
2017-07-24 17:21:08 +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 |
Mike Jolley
|
24fcf52c59
|
Store applied_coupons
|
2017-07-19 15:55:56 +01:00 |
Mike Jolley
|
3c12a06c46
|
Limit to x
|
2017-07-19 13:49:22 +01:00 |
Mike Jolley
|
dd7fe5f158
|
More tests and precision fixes
|
2017-07-19 12:26:01 +01:00 |
Mike Jolley
|
3a76e4492e
|
todos
|
2017-07-18 20:48:19 +01:00 |