Commit Graph

17 Commits

Author SHA1 Message Date
Mike Jolley cc7e560a14 Bug fixes 2012-01-02 12:48:56 +00:00
lucasstark 4b6f8b067d Added filter to coupon loading 2011-12-23 14:20:27 -05:00
Mike Jolley 2d31b37b36 usate limit fix 2011-12-07 16:22:57 +00:00
Mike Jolley c4407d1b6f FREESHIPPING 2011-11-28 16:10:31 +00:00
Mike Jolley a88af94585 Coupon change 2011-11-28 13:35:31 +00:00
Mike Jolley fe5651fff5 Tax rewrite to deal with coupons before tax calculations
Needs a lot of testing - esp to detect rounding errors.
2011-11-19 20:59:16 +00:00
Mike Jolley b91b7fd4b5 Coupon logic fix 2011-11-15 22:20:59 +00:00
Mike Jolley 869f413e9b New cart code adapted from Lucas Starks pull request.
Cart items are indexed by an md5 hash rather than numeric keys so we
can add custom data to cart items.

Plugins can hook in and add meta data, load it, and display it. The
adjust_price() function lets you adjust a products price too since its
loaded and stored in the cart on page load.

All works like a dream, all thats left is to show the values on the
cart page, and store them in the order item meta. Order item meta does
need a slight change though, to allow data with the same keys. Working
on that next.
2011-11-06 13:45:18 +00:00
Mike Jolley 91874aec5e Ability to exclude ids for coupons 2011-11-01 16:25:54 +00:00
Mike Jolley 5bea5ce1ef Coupon applied to variation by ID 2011-10-22 00:01:33 +01:00
Mike Jolley 3985ec269b Array filter Closes #38. 2011-10-04 11:02:55 +01:00
Mike Jolley c0e3af9c63 woocommerce_coupon_is_valid hook. Closes #39. 2011-10-04 10:59:13 +01:00
Mike Jolley 3d325f676e Fixed product id check and improved write panel 2011-10-03 12:21:01 +01:00
Mike Jolley a49e9b8816 Added coupon expiry dates 2011-09-20 16:05:13 +01:00
Mike Jolley c18f533b39 Overhauled classes and removed singletons 2011-09-06 12:11:22 +01:00
Mike Jolley 3a5b322c4a New coupon system 2011-08-15 17:48:24 +01:00
Mike Jolley 0425a68eca WooCommerce conversion and update 2011-08-10 18:11:11 +01:00