Commit Graph

259 Commits

Author SHA1 Message Date
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 772a9601ad Product visibility fix 2011-11-24 15:32:57 +00:00
Mike Jolley 378d84033c Added a few currencies
and made paypal disable itself if currency is not supported
2011-11-24 15:22:28 +00:00
Mike Jolley e6183d3001 removed small 2011-11-23 23:40:48 +00:00
Mike Jolley a60bb20d57 Cart discount logic 2011-11-23 23:19:23 +00:00
Mike Jolley 93c95b66e8 Catalog ordering filters 2011-11-23 00:53:57 +00:00
Mike Jolley c3faee08b5 Started adding support for 'chosen' - a select element enhancer 2011-11-23 00:44:11 +00:00
Mike Jolley 7c691c02af Sale price labels 2011-11-22 23:31:44 +00:00
Mike Jolley 3ddbf05604 Cart totals fix 2011-11-22 17:00:47 +00:00
Mike Jolley fcfb8e20b2 Corrected ordering 2011-11-22 16:13:32 +00:00
Mike Jolley 75ba3967c3 Fixed ordering of custom attributes in variation select boxes 2011-11-22 15:11:41 +00:00
Mike Jolley b80142f297 tax 2011-11-22 14:22:35 +00:00
Mike Jolley 61136d0a9e More cart and coupon logic fixes. + renamed cart totals 2011-11-22 13:18:33 +00:00
Mike Jolley 943c119d3b % coupons and allowed each to be removed via a link 2011-11-21 17:11:44 +00:00
Mike Jolley cf248ff114 Filters for coupons 2011-11-21 16:44:33 +00:00
Mike Jolley 53ccc12361 Country outside base/different rate tax tweaks 2011-11-21 16:26:06 +00:00
Mike Jolley e43ff6dfb4 More tax system updates
This correctly handles tax for countries/inc or ex tax inclusive
prices/rounding.

Coupons still require more testing, and we need a better way to store
discount amounts. PayPal also needs tweaking to pass the correct totals
when using inc. prices.
2011-11-21 11:33:46 +00:00
Mike Jolley adb6c5f73d Coupon fix 2011-11-20 00:55:23 +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 c1c9358d3b Added microdata to products page + reviews 2011-11-19 02:25:15 +00:00
Mike Jolley 3276263736 After checkout validation hook + place order filter 2011-11-18 17:39:56 +00:00
Mike Jolley 152fc4426e home_url for IPN 2011-11-18 12:36:02 +00:00
Mike Jolley 0e69efaaff Improved logging, minor image fix 2011-11-18 12:32:59 +00:00
Mike Jolley 696e7b4071 Made record_product_sales trigger once only, Payment complete only when on-hold/pending 2011-11-18 11:29:55 +00:00
Mike Jolley ec50a48f81 Related product fix when no categories are set 2011-11-18 01:07:05 +00:00
Mike Jolley d16638f738 Better transient clear on install 2011-11-18 01:03:39 +00:00
Mike Jolley 81b984d5b4 Sales logic fix, clear cache on upgrade 2011-11-18 00:38:46 +00:00
Mike Jolley 75db7b253e Variations limit fix / Transients cleared on install 2011-11-17 19:38:32 +00:00
Mike Jolley 0a3dc7182f Related products array_diff fix 2011-11-17 19:07:25 +00:00
Mike Jolley 35903e1fe0 Fix for sale price logic 2011-11-17 19:01:35 +00:00
Mike Jolley f6c62547a7 woocommerce_get_catalog_ordering_args filter 2011-11-17 14:32:42 +00:00
Mike Jolley e2019276aa Localisation for countries moved to class. Closes #212. 2011-11-17 10:40:32 +00:00
Mike Jolley 87f74cd1a9 Added customer note email notifications. Closes #187. 2011-11-17 01:06:39 +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 363fbc3569 Store more PP variables. Closes #208. 2011-11-16 15:28:14 +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 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 4713e02389 Added handling for paypal reversal and refunded statuses. Closes #198. 2011-11-16 10:37:46 +00:00
Mike Jolley 5dc7c02b5c Store payer email. Closes #203. 2011-11-16 10:30:56 +00:00
Mike Jolley 9015d5a9a8 Optional order notes. Closes #199. 2011-11-16 10:18:46 +00:00
Mike Jolley 9140cbd909 Call-time pass-by-reference fix. Closes #201. 2011-11-16 10:08:22 +00:00
Mike Jolley b91b7fd4b5 Coupon logic fix 2011-11-15 22:20:59 +00:00
Mike Jolley 9ee4460516 Ability to make layered nav an "OR" query so you can expand your search rather than filter it. Closes #47. 2011-11-15 15:15:12 +00:00
Mike Jolley 7648f1669e Added logger class for debugging gateways 2011-11-15 13:09:02 +00:00
Mike Jolley 1deeadbc7b Option to show size/weight on attributes tab. Closes #180. 2011-11-14 17:18:13 +00:00
Mike Jolley 3a03e094c3 Registration on My Account page. Closes #174. 2011-11-14 16:46:11 +00:00
Mike Jolley 68d8a465b6 Fix undefined vars 2011-11-14 13:57:12 +00:00
Mike Jolley 56d3bb56a6 More optimisations 2011-11-14 01:20:07 +00:00
Mike Jolley adf4e1af68 Removed subcats when paged 2011-11-13 19:01:14 +00:00
Mike Jolley cd1d7f3fd9 related posts improvements 2011-11-13 12:17:52 +00:00
Mike Jolley b04a784511 More optimisations for products class 2011-11-13 12:07:29 +00:00
Mike Jolley acc31f4147 Transient optimisations 2011-11-13 02:15:00 +00:00
Mike Jolley 331bde7327 Brazilian states 2011-11-12 00:19:47 +00:00
Mike Jolley 01ac21857a woocommerce_payment_complete hook 2011-11-11 11:48:42 +00:00
Mike Jolley 8b125d1ff6 Variations -downloadable and virtual options 2011-11-09 23:06:17 +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 5d0aaae5fe Use parents image if not set. Closes #169. 2011-11-09 15:39:14 +00:00
Mike Jolley 24fc037f86 Prevent external product in cart 2011-11-09 12:17:05 +00:00
Mike Jolley 4bd2f287f0 new account emails 2011-11-08 13:47:49 +00:00
Mike Jolley 335ba43ba3 Bank transfer labels. Closes #164. 2011-11-08 10:26:27 +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 bcbc63c123 Empty price hook 2011-11-05 19:12:51 +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 7a78c5c98a Products on sale widget + transient. Closes #66. 2011-11-04 20:46:06 +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 92269486db Paypal 2011-11-04 10:35:02 +00:00
Mike Jolley 66f5a6768c Added hooks to gateway icons 2011-11-03 09:34:53 +00:00
Mike Jolley b7d9cb18ae Optimisations and emails can contain gateway specific text. Closes #131. 2011-11-02 20:32:35 +00:00
Mike Jolley 91874aec5e Ability to exclude ids for coupons 2011-11-01 16:25:54 +00:00
Mike Jolley c7300fd9d3 Total_sales / Best sellers widget 2011-11-01 15:41:47 +00:00
Mike Jolley 42732b7a01 Fully empty cart 2011-11-01 13:11:07 +00:00
Mike Jolley 56a4bb601d Changes to shipping calculator 2011-10-31 16:27:41 +00:00
Mike Jolley b5850a7087 Adding cart item resets shipping - so free shipping etc is selected when going over a threshold. Closes #116. 2011-10-31 15:00:06 +00:00
Mike Jolley 223f9ccad3 Made use of transients to store average ratings and improve performance. Closes #105. 2011-10-31 14:49:30 +00:00
Mike Jolley 20f909a66e Incorrectly used instead $product_custom_fields of $parent_custom_fields 2011-10-31 14:09:18 +00:00
Mike Jolley b2ccf3b700 Conditional tax/vat 2011-10-31 10:54:49 +00:00
Mike Jolley 4daed6bd7e Pipes to commas. Closes #111. 2011-10-31 00:08:41 +00:00
Mike Jolley dbcbaf5b17 Check managing stock before adding note 2011-10-30 11:18:12 +00:00
Mike Jolley 272b13f472 100% discount when price excludes tax logic fix 2011-10-28 16:04:39 +01:00
Mike Jolley 65de79799c Product % coupons 2011-10-27 11:08:50 +01:00
Mike Jolley d40fd373f8 Removed all trailing white space. Closes #71. 2011-10-26 20:10:36 +01:00
Mike Jolley 29a77b0fe7 Made product loops a little more efficient 2011-10-26 19:45:38 +01:00
Mike Jolley 18a80e8f84 Order id in woocommerce_customer -> get_downloadable_products(). Closes #104. 2011-10-26 15:23:19 +01:00
Mike Jolley a144916682 Fix for user details 2011-10-26 11:03:24 +01:00
Mike Jolley a66c84497c Better checks for shipping 2011-10-26 10:40:26 +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 a91f87b8ae Coupons for variations fix 2011-10-24 10:46:51 +01:00
Mike Jolley 447efbfd60 Minor fixes, return url function, updated po 2011-10-23 12:25:22 +01:00
Mike Jolley 5bea5ce1ef Coupon applied to variation by ID 2011-10-22 00:01:33 +01:00
Mike Jolley 5860ce175f Tax (excluding tax prices) fix 2011-10-21 20:54:44 +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 3d99315ab8 Moved discount total before shipping calc is performed 2011-10-16 12:34:33 +01:00