Commit Graph

22492 Commits

Author SHA1 Message Date
claudiulodro a0effafef9 Move discount row in frontend 2017-08-11 11:48:08 -07:00
Claudiu Lodromanean 15179b0e48 Merge pull request #16416 from woocommerce/manual-discounts-on-fees-shipping
Manual discounts on fees and shipping
2017-08-11 11:30:27 -07:00
claudiulodro 6fa0e7a8f5 Update test 2017-08-11 11:27:11 -07:00
claudiulodro 46e003d3c6 Remove shipping and discount lines 2017-08-11 11:10:44 -07:00
Mike Jolley b6fc6817be Icon alignment 2017-08-11 17:58:26 +01:00
Mike Jolley b826d02f9b Split tax across items for discounts 2017-08-11 17:53:49 +01:00
claudiulodro 1b7bc60ea2 Fix fatal errors in bulk order item delete 2017-08-11 08:40:13 -07:00
Mike Jolley d61a97cb57 Missing abstract methods 2017-08-11 16:17:24 +01:00
Mike Jolley 1545e46fd5 cache clearing 2017-08-11 16:17:13 +01:00
Mike Jolley def5e0cdee get_tax_class_counts_for_items 2017-08-11 16:17:00 +01:00
Mike Jolley 9eece1cb1e Include shipping and fee in total 2017-08-11 16:16:50 +01:00
Mike Jolley e20d886972 calculate_item_discounts for clarity 2017-08-11 16:16:36 +01:00
Mike Jolley 2accbdbd45 Load order after updating items 2017-08-11 16:16:22 +01:00
Mike Jolley 3496e8dca4 Match order of cart discount 2017-08-11 16:16:09 +01:00
Mike Jolley 2c5a5b9409 Discounts should be last 2017-08-11 16:15:53 +01:00
Mike Jolley 56726deb5a Fix recalculate_coupons 2017-08-11 13:52:40 +01:00
Mike Jolley 7620473fa5 Support callback for index 2017-08-11 13:52:28 +01:00
Mike Jolley c9ceb9c62c Icon alignment 2017-08-11 13:09:40 +01:00
claudiulodro 591b71ecbc Add some tests 2017-08-10 14:37:40 -07:00
claudiulodro 3618ef1725 Handle couple todos 2017-08-10 13:37:05 -07:00
claudiulodro 9e70a74857 Styling 2017-08-10 13:29:32 -07:00
claudiulodro 28f0431c56 Coupon usage counts 2017-08-10 11:27:13 -07:00
claudiulodro f1e6fd53bd Prevent double coupons 2017-08-10 11:14:01 -07:00
claudiulodro fa35104486 Coupon amount validation 2017-08-10 11:00:57 -07:00
Mike Jolley db87fc68b9 Fix refs 2017-08-10 16:33:21 +01:00
Mike Jolley 87858d1407 recalc on remove/add 2017-08-10 16:32:24 +01:00
Mike Jolley 30c80c6ad5 Fix tax recalc 2017-08-10 16:22:17 +01:00
Mike Jolley 22d6c789ab herpa derpa 2017-08-10 15:57:34 +01:00
Mike Jolley e90fb6d54f fix discount apply and save 2017-08-10 15:33:01 +01:00
Mike Jolley cd8fb23884 Add ability to get local item rather than from DB 2017-08-10 14:38:02 +01:00
Mike Jolley e2599d83c8 Apply methods 2017-08-10 14:22:27 +01:00
Mike Jolley 3dc9f06f6a Remove fixed discounts correctly 2017-08-10 12:06:03 +01:00
Mike Jolley f23314a3c0 Merge branch 'feature/coupon-remove' into feature/admin-apply-discount-15501 2017-08-10 11:46:47 +01:00
Mike Jolley 23660b9c68 test 2017-08-10 11:46:00 +01:00
Mike Jolley 06381f28bd Edit items rather than recreate 2017-08-10 11:38:09 +01:00
Mike Jolley 2a4a078266 Merge branch 'feature/admin-apply-discount-15501' into feature/coupon-remove 2017-08-10 11:25:21 +01:00
Mike Jolley 1fd1699bcd Ensure isset 2017-08-10 11:25:08 +01:00
claudiulodro 360286bbbf Forgot js 2017-08-09 15:18:39 -07:00
claudiulodro a2b208d5b8 Include failing test 2017-08-09 15:00:13 -07:00
claudiulodro a416ebe09b It kind-of works. 2017-08-09 14:55:35 -07:00
Mike Jolley e429a27ba4 No need for 'off' 2017-08-09 19:12:33 +01:00
Mike Jolley 5874fb8715 Type and sum fix 2017-08-09 19:11:02 +01:00
Mike Jolley c556facd41 Fix percent coupon and display 2017-08-09 19:02:10 +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 2def474421 Order calc 2017-08-09 16:19:10 +01:00
Mike Jolley f0a9050241 HTML 2017-08-09 16:17:30 +01:00
Mike Jolley f480c98d11 Data stores 2017-08-09 16:17:02 +01:00
Mike Jolley d0cd8b3022 WC_Order_Item_Discount 2017-08-09 16:16:44 +01:00
Mike Jolley 722ac5ad78 Load order items 2017-08-09 16:16:36 +01:00