Commit Graph

204 Commits

Author SHA1 Message Date
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
Mike Jolley f8447c7a46 Drag and drop term ordering (so variation options can be sorted) Closes #57. 2011-10-12 18:32:30 +01:00
Mike Jolley 014a5943f2 Password field html for gateway API. Closes #54. 2011-10-09 16:09:44 +01:00
Mike Jolley 508f321324 Few improvements 2011-10-09 14:23:20 +01:00
Mike Jolley 992fe1849b Added product dimension fields 2011-10-08 12:57:04 +01:00
Mike Jolley 27d33c77c9 New checkout hook 2011-10-08 11:45:41 +01:00
Mike Jolley ba9b035c65 Fixes to tax system to work with VAT exemption 2011-10-08 11:39:26 +01:00
Mike Jolley 05a1046968 Fixes, tax class changes 2011-10-07 23:24:11 +01:00
Mike Jolley 8a7db18364 Hook for payment complete status 2011-10-07 10:44:40 +01:00
Mike Jolley 9face47dce Multiple Fixes 2011-10-06 11:46:19 +01:00
Mike Jolley 5630cecf4e Small cleanup 2011-10-06 00:23:26 +01:00
Mike Jolley 01ffcd7518 Checkout mods 2011-10-05 21:08:37 +01:00
Mark Jaquith 03cfc38709 Fix some more prepare() mishandling. 2011-10-06 00:23:10 +08:00
Mike Jolley cf96e67092 Email items list fix 2011-10-05 01:02:13 +01:00
Mike Jolley 8a92bfb4c0 variable products store min and max variation price, so if they match the 'from' text is not displayed 2011-10-05 00:00:35 +01:00
Mike Jolley d05722a523 Sale prices affect from: price now. Closes #44. 2011-10-04 16:53:11 +01:00
Mike Jolley dd48365a24 Order completed fix 2011-10-04 12:55:05 +01:00
Mike Jolley 3985ec269b Array filter Closes #38. 2011-10-04 11:02:55 +01:00
Mike Jolley c0e3af9c63 woocommerce_coupon_is_valid hook. Closes #39. 2011-10-04 10:59:13 +01:00
Mike Jolley 19de729ff8 Cleaner coupon types. Closes #40. 2011-10-04 10:51:55 +01:00
Mike Jolley 280803e088 Fixed notices and the order field. Closes #42. 2011-10-04 10:32:42 +01:00
Mike Jolley ffd74d0898 Added woocommerce_calculate_totals hook to calculate totals function 2011-10-03 12:27:58 +01:00
Mike Jolley 3d325f676e Fixed product id check and improved write panel 2011-10-03 12:21:01 +01:00
Mark Jaquith 5577a35790 A little extra escaping paranoia. 2011-10-01 02:43:50 +08:00
Mike Jolley f5cb119021 Added 'woocommerce_customer_get_downloadable_products' filter for adding more rules to a customer's downloadable items 2011-09-30 10:20:51 +01:00
Mike Jolley 4830833cc0 Typo 2011-09-29 17:29:46 +01:00
Mike Jolley 4e57002bc3 Item_meta handling 2011-09-28 10:25:51 +01:00
Mike Jolley 56a14ab2d7 Phone # fix 2011-09-28 09:35:51 +01:00
Mike Jolley 85af6e79a5 Allow blank inputs 2011-09-27 13:02:19 +01:00
Mike Jolley 48ee9fb77a Multiselect 2011-09-27 10:38:29 +01:00
Matty 48beea68a5 Gateway base class clean-up
Removed TODO comments and added PHP Doc block above each function.
2011-09-27 10:41:38 +02:00
Mark Jaquith 43d9c41d59 More esc_attr() on text inputs 2011-09-24 13:13:56 +08:00
Mike Jolley 9ab2193c7a Order notes section and front-end display 2011-09-23 15:22:21 +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 c9cb278739 Tweaked sale queries, fixed admin styling 2011-09-23 09:38:09 +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 8df13f07c4 Fixed styling 2011-09-22 16:08:21 +01:00
Mike Jolley cab92fb6c0 Paypal uses settings API, shipping calc js fix 2011-09-22 15:58:20 +01:00
Mike Jolley b65ac6a01f Updated BACS 2011-09-22 15:14:55 +01:00
Mike Jolley 95ee81d902 Removed moneybookers (too badly coded), added class for account pages. 2011-09-22 13:30:42 +01:00
Mike Jolley f12010ca1b Updated cheque gateway and added textarea type to payment gateway options API 2011-09-21 19:53:18 +01:00
Mike Jolley fea14650a2 Filters renamed 2011-09-21 17:58:05 +01:00
Mike Jolley faa53c50d6 More hook changes 2011-09-21 16:43:37 +01:00
Mike Jolley c3ab943444 Receipt hook renamed
Need to check all gateways to reflect change
2011-09-21 16:19:55 +01:00
Mike Jolley 6da3494990 Thankyou hook change 2011-09-21 16:15:55 +01:00
Mike Jolley bbb02b616b Few hook changes 2011-09-21 16:13:53 +01:00
Mark Jaquith 184da2ced6 esc_textarea() run 2011-09-21 14:59:49 +08:00
Mike Jolley 627340ea6a Tweaks to query 2011-09-20 17:43:09 +01:00
Mike Jolley a49e9b8816 Added coupon expiry dates 2011-09-20 16:05:13 +01:00
Magnus Jepson fda6cd74be Fixed spelling
'Transer' to 'Transfer'
2011-09-20 16:33:39 +02:00
Mark Jaquith 64e1fa8084 esc_attr() and fix to odd get_option() pattern 2011-09-19 14:21:08 +08:00
Mike Jolley f4531a279f Moved queries into class 2011-09-16 09:10:12 +01:00
Mike Jolley 16565712a5 Updated settings page - individual page per tab for reduced lag 2011-09-15 17:37:38 +01: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