Commit Graph

55 Commits

Author SHA1 Message Date
Mike Jolley fe3242558a Working on locales, also added 'chosen' as an option for the checkout 2011-12-15 20:34:14 +00:00
Mike Jolley feb9afd30b Started work on locale options for ticket #316.
Plan is to combine locale options with the checkout array so fields can
be overridden.
2011-12-15 01:14:47 +00:00
Mike Jolley 733b51401c Moved email functions to classes, and made posts only save once (faster) 2011-12-10 17:28:32 +00:00
Mike Jolley f778c4f3ec Started new structure, moved short codes into template files, moved main class into main file 2011-12-09 17:01:56 +00:00
Mike Jolley 2d2c5e74c3 More tweaks 2011-12-08 13:13:59 +00:00
Mike Jolley f74dc9e06f Minor optimisations 2011-12-08 12:50:50 +00:00
Mike Jolley c607cb3488 Made resume order code even safer 2011-12-07 17:25:08 +00:00
Mike Jolley 81bfeec086 Fix 2011-12-07 11:33:34 +00:00
Mike Jolley bce591b75f Fix for shipping/payment method to include titles 2011-12-05 18:16:13 +00:00
Mike Jolley ad6ccc02e8 Get nice gateway name 2011-12-05 12:39:05 +00:00
Mike Jolley 326bdd400f Trim zeros off prices (optional) Closes #297. 2011-12-01 11:34:26 +00:00
Mike Jolley acfc5f875e PayPal gateway 2011-11-30 20:43:13 +00:00
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 21f9723479 Ship to billing default option 2011-11-28 16:20:39 +00:00
Mike Jolley 14a169151d Ability to load shipping/billing from selected customer 2011-11-26 12:32:44 +00:00
Mike Jolley d735f13f70 Calculate totals (JS) rounding 2011-11-25 23:42:46 +00:00
Mike Jolley b681ec5788 Changed discount to row_discount 2011-11-25 22:36:02 +00:00
Mike Jolley d954419417 Tax calculations for adjusted rates 2011-11-25 22:13:01 +00:00
Mike Jolley a55adaca3e Store discount for products (pre-tax) 2011-11-25 19:31:06 +00:00
Mike Jolley 53ccc12361 Country outside base/different rate tax tweaks 2011-11-21 16:26:06 +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 3276263736 After checkout validation hook + place order filter 2011-11-18 17:39:56 +00:00
Mike Jolley ac3ddba858 Country defaults to store base. State field defaults to 'please select state' - not alabama for US. Closes #200. 2011-11-16 15:25:45 +00:00
Mike Jolley 9731f950ff Input type fix 2011-11-16 13:30:34 +00:00
Mike Jolley 9015d5a9a8 Optional order notes. Closes #199. 2011-11-16 10:18:46 +00:00
Mike Jolley 3a03e094c3 Registration on My Account page. Closes #174. 2011-11-14 16:46:11 +00:00
Mike Jolley 67779afd3f Formal and informal German translations - thanks to stefahn, jessor, Ramoonus , owcv and deckerweb
* Hook for checking cart contents during cart/checkout - used for plugins too
2011-11-09 17:26:45 +00:00
Mike Jolley 4bd2f287f0 new account emails 2011-11-08 13:47:49 +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 297ffd7af0 Paypal fix, and Signup/login can be turned off for checkout. Closes #125. 2011-11-04 17:48:04 +00:00
Mike Jolley a144916682 Fix for user details 2011-10-26 11:03:24 +01:00
Mike Jolley de59598c4c Made checkout set customer location so table rates are re-evaluated 2011-10-25 16:36:16 +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 508f321324 Few improvements 2011-10-09 14:23:20 +01:00
Mike Jolley 27d33c77c9 New checkout hook 2011-10-08 11:45:41 +01:00
Mike Jolley 05a1046968 Fixes, tax class changes 2011-10-07 23:24:11 +01:00
Mike Jolley 01ffcd7518 Checkout mods 2011-10-05 21:08:37 +01:00
Mike Jolley fea14650a2 Filters renamed 2011-09-21 17:58:05 +01:00
Mark Jaquith 184da2ced6 esc_textarea() run 2011-09-21 14:59:49 +08: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 665be9165a Added filters to checkout to allow custom fields 2011-09-12 16:34:29 +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 792ff81428 class fixes 2011-09-06 12:18:22 +01:00
Mike Jolley c18f533b39 Overhauled classes and removed singletons 2011-09-06 12:11:22 +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 15396d57e4 Changed order system so order data is not serialised - its stored in individual meta fields
This is so it can be used for sorting etc - serialised data is hard to
work with.
2011-08-29 17:09:42 +01:00
Mike Jolley 2ab533a14e Top rated widget 2011-08-27 12:53:46 +01:00
Mike Jolley 30e2b33c1d Better order admin and fixes 2011-08-20 16:41:42 +01:00