Commit Graph

16 Commits

Author SHA1 Message Date
Mike Jolley a52c6b1437 Affilaite/external product type. Closes #166. 2011-11-08 16:15:36 +00:00
Mike Jolley 0d74014d4a Added handles. Closes #137. 2011-11-07 14:13:04 +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 b1e179aa0f Large change to product types
Removed downloadable and virtual product types in favour of a
downloadable/virtual checkbox option meaning variations can also now be
virtual (no shipping) or downloadable. This should make it more
flexible.

Not many changes were needed to template since simple, downloadable,
and virtual were all pretty similar anyway.

Added a filter for admin for the new sub-types.

In the future variations should have boxes too for downloadable/virtual
so you can mis it up with physical/downloadable goods in the same
product :)
2011-11-05 19:03:03 +00:00
Mike Jolley 6c35dc6511 Fixed enter key on product edit page. Closes #78. 2011-10-16 21:13:01 +01:00
Mike Jolley d61167f060 Category addition bug and pay page fix 2011-10-13 13:25:24 +01:00
Mike Jolley 8613ad5a92 Fixed quotes in variation data 2011-09-28 13:34:41 +01:00
Mike Jolley 5566827163 Unformatted email fix 2011-09-23 12:15:36 +01:00
Mike Jolley ab70519f25 Variations now need a price each. Added bulk editing options too.
This makes variations less confusing and maintains the 'FROM' and
sorting for the frontend.
2011-09-23 12:04:51 +01:00
Mike Jolley a49e9b8816 Added coupon expiry dates 2011-09-20 16:05:13 +01:00
Mike Jolley ade3f90a92 fixed calc totals on orders page 2011-09-19 18:03:16 +01:00
Mike Jolley 72e2b5219b Upsell/cross sell improvements 2011-09-19 15:57:17 +01:00
Mike Jolley 02aef8c295 Ditched datepicker in favour of jQuery ui 2011-09-19 11:30:23 +01:00
Mike Jolley a125c94240 minified 2011-09-11 18:35:22 +01:00
Mike Jolley f0021ef763 Heavily modified the attribute/variation system
Adjusted how attributes are stored Used 'terms' rather than storing
attribute values as text Renamed tax_ to attribute_ to make more sense
Made front-end use attribute labels rather than name/reference Make link
all attributes work Hidden 'variation' checkbox when not using a
variable product
2011-09-11 14:28:15 +01:00
Mike Jolley 2e56353d70 Work on admin scripts + settings screens 2011-09-09 15:23:32 +01:00