Commit Graph

12 Commits

Author SHA1 Message Date
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
Mark Jaquith f784986a0d First esc_attr() pass 2011-09-19 14:02:55 +08:00
Mike Jolley c18f533b39 Overhauled classes and removed singletons 2011-09-06 12:11:22 +01:00
Mike Jolley 603fe20eaf Modified how image sizes are returned 2011-09-05 10:18:24 +01:00
James Koster 30cac156d1 added span 2011-08-30 14:09:39 +01:00
Mike Jolley d3377cdfc6 Prevent out of stock in cart 2011-08-30 12:24:28 +01:00
Mike Jolley d2596ddeea Recent reviews fix, start on recently viewed widget 2011-08-29 13:48:50 +01:00
Mike Jolley 5cd9629a45 Image size options 2011-08-27 20:20:28 +01:00
Mike Jolley 4d8d82b941 Tidied up widgets 2011-08-26 22:28:55 +01:00
Mike Jolley 1832e8bd8d New email system, better order review handling 2011-08-16 15:06:08 +01:00
Mike Jolley b4d2023f54 h3 in loop, renamed widgets 2011-08-10 18:30:58 +01:00
Mike Jolley 0425a68eca WooCommerce conversion and update 2011-08-10 18:11:11 +01:00