Mike Jolley
|
bac98218f3
|
Merge pull request #16782 from hjoelr/bugfix-discounts-wrong-var
Bugfix: Discounts not using the right variable
|
2017-09-14 11:32:27 -07:00 |
Joel Rowley
|
458a6c87c7
|
Resolve 'non-numeric value encountered' error in PHP 7.1 when freeshipping coupon used
|
2017-09-12 21:33:43 -04:00 |
Joel Rowley
|
bb5cb38832
|
Bugfix: Discounts not using the right variable
|
2017-09-11 15:56:49 -04:00 |
Mike Jolley
|
0337293e39
|
Merge pull request #16753 from hjoelr/bugfix-calc-disc-sequentially
Bugfix: woocommerce_calc_discounts_sequentially checks were doing the opposite of the WC setting
|
2017-09-08 11:44:43 +01:00 |
Joel Rowley
|
3b166b6a44
|
Bugfix: woocommerce_calc_discounts_sequentially checks were doing the opposite of the WC setting
|
2017-09-07 21:43:27 -04:00 |
Joel Rowley
|
e6530a3555
|
Bugfix: wc_remove_number_precision() indirectly called twice from get_discount()
|
2017-09-07 21:34:58 -04:00 |
Mike Jolley
|
199eb78304
|
Support numeric coupon errors in is_coupon_valid
|
2017-09-07 11:14:05 +01:00 |
Mike Jolley
|
d08bf4b489
|
Add option to disable validation when applying coupons
Closes #16720
|
2017-09-06 11:26:34 +01:00 |
Mike Jolley
|
31a90bdd85
|
Handle prices including tax calcs
|
2017-08-25 18:21:27 +01:00 |
Boro Sitnikovski
|
3cd1bedade
|
Set coupon virtual state on when initializing virtual coupons during recalculation
|
2017-08-25 17:07:07 +02:00 |
Mike Jolley
|
8ce583889a
|
Apply filters to carts only, and add is_virtual helper
|
2017-08-24 17:07:31 +01:00 |
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 |