Commit Graph

53 Commits

Author SHA1 Message Date
Mike Jolley 101fcd9b3f Order meta saves + displays 2011-11-06 15:45:22 +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 973e4b0907 Added product and product category/tag feeds. Closes #118. 2011-10-31 01:03:51 +00:00
Mike Jolley a309927f60 Download urls use site_url instead of home_url so installs in subdirectories are handled correctly 2011-10-29 12:07:28 +01:00
Mike Jolley 41a428227a Added SKU column to order data 2011-10-26 15:09:01 +01:00
Mike Jolley 8b1fbb75d4 Tweak 2011-10-24 15:51:58 +01:00
Mike Jolley 1a0a1ef624 Values (slugs) for variations displayed as term name 2011-10-22 19:38:22 +01:00
Mike Jolley 94ce8a9045 Made custom attributes display 'nicely' in cart widgets, instead of santized. Closes #68. 2011-10-16 21:56:18 +01:00
Mike Jolley d61167f060 Category addition bug and pay page fix 2011-10-13 13:25:24 +01:00
Mike Jolley f82d6423a7 localisation 2011-10-09 15:20:58 +01:00
Mike Jolley 58fd7f890e Show subcategories 2011-10-07 20:27:10 +01:00
Mike Jolley 9face47dce Multiple Fixes 2011-10-06 11:46:19 +01:00
Mark Jaquith 03cfc38709 Fix some more prepare() mishandling. 2011-10-06 00:23:10 +08:00
Mike Jolley 280803e088 Fixed notices and the order field. Closes #42. 2011-10-04 10:32:42 +01:00
Mark Jaquith 278b87db8f Use a token when escaping the add_order_item query. props Jon Cave. 2011-09-30 17:12:09 -04:00
Mike Jolley 8613ad5a92 Fixed quotes in variation data 2011-09-28 13:34:41 +01:00
Mike Jolley 9ab2193c7a Order notes section and front-end display 2011-09-23 15:22:21 +01:00
Mike Jolley d0bc083219 possible fix for cart emptying on return 2011-09-23 13:21:37 +01:00
Mike Jolley 4b8913f911 Added new 'failed' order status and made thank you page show a different message if payment failed. 2011-09-22 20:50:58 +01:00
Mike Jolley faa53c50d6 More hook changes 2011-09-21 16:43:37 +01:00
Mark Jaquith 7674bbe60e esc_url() run 2011-09-21 14:51:46 +08:00
Mike Jolley 627340ea6a Tweaks to query 2011-09-20 17:43:09 +01:00
Mike Jolley 72e2b5219b Upsell/cross sell improvements 2011-09-19 15:57:17 +01:00
Mike Jolley 86ddd008c0 Built in google ecommerce tracking code 2011-09-19 11:02:36 +01:00
Mark Jaquith f784986a0d First esc_attr() pass 2011-09-19 14:02:55 +08:00
Matty 104166adba Fixed "undefined index" errors and made sure term meta database table is registered. 2011-09-16 13:15:49 +02:00
Mike Jolley 6f27139231 VAT exemption support + query optimisation 2011-09-14 15:55:03 +01:00
Mike Jolley 2d392ffdcd Checkout changes 2011-09-13 17:17:52 +01:00
Mike Jolley d9eedf84d2 Readfile chunked 2011-09-13 10:07:42 +01:00
Mike Jolley 8375887455 Shipping method selection on cart 2011-09-11 17:42:50 +01:00
Mike Jolley 0e41df2068 Caching - attempted to make sidebar uncached
Plugin must still be configured to exlcude: cart, checkout, my-account,
and order-tracking
2011-09-11 16:24:13 +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 851dcff6b4 Changed naming of attribute 'attributes' and made them use 1 or 0 instead of yes/no for cleaner code 2011-09-10 21:21:44 +01:00
Mike Jolley 96fcd469dc Sale flash filter + undefined fix in actions 2011-09-09 11:54:46 +01:00
Mike Jolley c18f533b39 Overhauled classes and removed singletons 2011-09-06 12:11:22 +01:00
Mike Jolley 6344d22b11 Tidy up 2011-09-04 01:02:44 +01:00
Mike Jolley cdc04c075f Removed references to 'basket' 2011-09-03 23:39:00 +01:00
Mike Jolley 63ec2b001f New shipping system to delete with multiple rates per gateway 2011-09-02 15:42:17 +01:00
Mike Jolley b8636296ff Ajax cart fix 2011-08-30 12:43:16 +01:00
Mike Jolley d3377cdfc6 Prevent out of stock in cart 2011-08-30 12:24:28 +01:00
Mike Jolley 1ba08f0dc0 Improved variations 2011-08-22 15:10:22 +01:00
Mike Jolley da6d4b9da9 Stock fixes 2011-08-21 17:47:49 +01:00
Mike Jolley 69c65c8b32 variation fix 2011-08-20 22:03:31 +01:00
Mike Jolley 30e2b33c1d Better order admin and fixes 2011-08-20 16:41:42 +01:00
Mike Jolley 8c4e69f707 order meta, loop visibility 2011-08-19 21:11:04 +01:00
Mike Jolley 3a4effd48a Admin improvements 2011-08-19 00:14:35 +01:00
Mike Jolley 1472315f1b Changed the way product data is stored 2011-08-18 00:42:07 +01:00
Mike Jolley 1832e8bd8d New email system, better order review handling 2011-08-16 15:06:08 +01:00
Mike Jolley 3a5b322c4a New coupon system 2011-08-15 17:48:24 +01:00