Commit Graph

68 Commits

Author SHA1 Message Date
Mike Jolley 6dc4d2add8 Final tax logic fixes
Storing base cost/discounted cost instead of row_discount to keep calks
simple and maintain backwards compatibility.
2011-11-30 00:30:39 +00:00
Mike Jolley 1e72d55644 Row discount when adding order item 2011-11-27 14:45:03 +00:00
Mike Jolley b18277fe18 Continue shopping button when directing user to cart after adding a product to the cart. Closes #271. 2011-11-27 01:24:57 +00:00
Mike Jolley 602eef7314 Option to clear cart on logout. Closes #253. 2011-11-26 20:33:15 +00:00
Mike Jolley 14a169151d Ability to load shipping/billing from selected customer 2011-11-26 12:32:44 +00:00
Mike Jolley 74fd322230 Feature to prevent admin access to customers (optional). Closes #228. 2011-11-18 14:31:53 +00:00
Mike Jolley c7f952bf15 Downloadable product table tweaks - added order ID as primary key 2011-11-17 00:30:46 +00:00
Mike Jolley db02a23f26 Fix for last commit 2011-11-16 19:34:38 +00:00
Mike Jolley 41eae1cc3b Processing orders also allow download (since they are paid) 2011-11-16 19:15:20 +00:00
Mike Jolley 5ec62c6852 Change downloads system to store order ID, and check status for access. Closes #204. 2011-11-16 12:15:41 +00:00
Mike Jolley 60ffe043c7 Don't track admin (GA) 2011-11-15 15:55:33 +00:00
Mike Jolley 3a03e094c3 Registration on My Account page. Closes #174. 2011-11-14 16:46:11 +00:00
Mike Jolley 7cd7f4c201 Time tweak. Closes #182. 2011-11-11 13:09:06 +00:00
Mike Jolley 8b125d1ff6 Variations -downloadable and virtual options 2011-11-09 23:06:17 +00:00
Mike Jolley 89a289b0c4 mod_xsendfile 2011-11-07 21:52:04 +00:00
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