Commit Graph

391 Commits

Author SHA1 Message Date
Brent Shepherd c312c1ba95 Merge branch 'master' of git://github.com/woothemes/woocommerce 2011-12-15 21:16:17 +10:00
Brent Shepherd 687e1c9acd Only updating order shipping meta if shipping details are set. 2011-12-15 20:15:12 +10:00
Mike Jolley 7ce329b2fd Merge pull request #374 from lucasstark/patch-5
Added woocommerce_after_cart_item_quantity_update action to the set quan...
2011-12-14 17:17:24 -08: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
lucasstark 7612a3803f Added woocommerce_after_cart_item_quantity_update action to the set quantity method. Also modified the add_to_cart method to call the set_quantity function so the same hook is called. 2011-12-14 19:06:01 -05:00
Mike Jolley 4e85d2a8c5 Removed unused counties (GB) 2011-12-14 23:57:42 +00:00
Mike Jolley 07d7cfd4a3 Ensure base shipping is set. Closes #366. 2011-12-14 23:50:32 +00:00
lucasstark e39de48c84 Added woocommerce_before_calculate_totals action to the calculate_totals() function. 2011-12-14 14:02:41 -05:00
Mike Jolley 48f11d8c0d Filters for customer email attachments 2011-12-12 17:59:39 +00:00
Mike Jolley 40b61efa3d Check order is published. Closes #346. 2011-12-12 17:39:31 +00:00
Mike Jolley 94cfb82379 Added context. Closes #348. 2011-12-12 17:13:06 +00:00
Julian Jöris 8af8e6af41 Merge remote-tracking branch 'upstream/master' 2011-12-12 17:46:07 +01:00
Mike Jolley 046f770d08 PayPal totals bug 2011-12-12 11:36:04 +00:00
Mike Jolley 35d1d56329 Made product global, setup automatically, and removed the need to call the class directly in the loop
Themes need checking for compat, but the change makes it easier to use
2011-12-11 14:40:25 +00:00
Mike Jolley 6dff689cb9 Fixes 2011-12-10 18:40:51 +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 dae7cf35a2 Optimisations + order details template 2011-12-09 21:47:12 +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 65da4279ae Show all shipping classes 2011-12-09 16:45:03 +00:00
Mike Jolley 1790bd09d5 Fix for manual order addition and other tweaks. Closes #345. 2011-12-08 19:45:24 +00:00
Mike Jolley 2d2c5e74c3 More tweaks 2011-12-08 13:13:59 +00:00
Mike Jolley 0c53f02452 Have to load payment methods so IPN hooks work etc 2011-12-08 12:57:49 +00:00
Mike Jolley f74dc9e06f Minor optimisations 2011-12-08 12:50:50 +00:00
Julian Jöris 11511a48b8 Merge remote-tracking branch 'upstream/master' 2011-12-08 10:08:46 +01:00
Mike Jolley 0d8039c4b3 Sort countries 2011-12-07 19:45:29 +00:00
Mike Jolley d3e122641d add_inline_js helper for adding javascript to the footer 2011-12-07 17:36:58 +00:00
Mike Jolley c607cb3488 Made resume order code even safer 2011-12-07 17:25:08 +00:00
Mike Jolley 2d31b37b36 usate limit fix 2011-12-07 16:22:57 +00:00
Mike Jolley 5e918e6258 PayPal target 2011-12-07 11:40:56 +00:00
Mike Jolley 81bfeec086 Fix 2011-12-07 11:33:34 +00:00
Mike Jolley 10d2431dc6 Missing localisation's. Closes #335. 2011-12-06 17:04:50 +00:00
Mike Jolley 2979740357 Removed wc_table_rate textdomain. Closes #334. 2011-12-06 16:47:44 +00:00
Mike Jolley 5f5eb20335 Sort gateways and set a default 2011-12-06 16:45:08 +00:00
Mike Jolley 49d24b09aa Fix for free shipping min amount 2011-12-06 14:30:25 +00:00
Mike Jolley 137396fd9e Tax based on shipping address, and fixed outside_base function 2011-12-06 10:49:34 +00:00
Mike Jolley bce591b75f Fix for shipping/payment method to include titles 2011-12-05 18:16:13 +00:00
Mike Jolley 80480818bd % discount fix 2011-12-05 15:41:13 +00:00
Mike Jolley ad6ccc02e8 Get nice gateway name 2011-12-05 12:39:05 +00:00
Mike Jolley 38153003f1 Flat rates shipping classes calcs 2011-12-03 19:06:32 +00:00
Mike Jolley e9551861a7 Tweaked scripts + flat rate 2011-12-03 18:37:20 +00:00
Mike Jolley a4dd5fe344 Reduced settings API queries 2011-12-03 13:44:28 +00:00
Mike Jolley 16853cb6f6 Per order shipping with classes 2011-12-02 20:48:07 +00:00
Mike Jolley 17ccf1f92d Added shipping class taxonomy and prepared flat rates admin to define rates per class 2011-12-02 18:54:52 +00:00
Mike Jolley c8de45d773 Email table borders 2011-12-02 14:04:26 +00:00
Mike Jolley 326bdd400f Trim zeros off prices (optional) Closes #297. 2011-12-01 11:34:26 +00:00
Julian Jöris 67b8243bc9 Merge remote-tracking branch 'upstream/master' 2011-12-01 11:58:07 +01:00
Mike Jolley acfc5f875e PayPal gateway 2011-11-30 20:43:13 +00:00
Mike Jolley 2efd580f50 IIS fix 2011-11-30 13:34:27 +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
Julian Jöris 07c7c0b59f Merge remote-tracking branch 'upstream/master' 2011-11-29 10:16:10 +01:00
Mike Jolley 8f730461d9 get_item_cost helper 2011-11-29 00:52:57 +00:00
Mike Jolley 33706cc1fb Find tax rate fix 2011-11-29 00:20:51 +00:00
Mike Jolley 53f2a07119 Totals cleanup 2011-11-28 23:33:08 +00:00
Mike Jolley e02e712d1e PayPal tweak 2011-11-28 17:03:53 +00:00
Mike Jolley a2ca5f6a78 Styling, address_override 2011-11-28 16:35:17 +00:00
Mike Jolley 21f9723479 Ship to billing default option 2011-11-28 16:20:39 +00:00
Mike Jolley c4407d1b6f FREESHIPPING 2011-11-28 16:10:31 +00:00
Mike Jolley 764341b228 Settings API 2011-11-28 15:50:19 +00:00
Mike Jolley 9341d1b199 Settings API class for gateways/shipping methods 2011-11-28 13:47:16 +00:00
Mike Jolley a88af94585 Coupon change 2011-11-28 13:35:31 +00:00
Julian Jöris 239bd4cda5 Merge remote-tracking branch 'upstream/master' 2011-11-28 14:20:26 +01:00
Mike Jolley 895a24696f Added dimensions to individual variationsAdded dimensions to individual variations. Closes #272. 2011-11-28 13:13:49 +00:00
Julian Jöris b5abaad5e7 Merge remote-tracking branch 'upstream/master' 2011-11-28 14:04:40 +01:00
Mike Jolley 912357cc90 Reversal notification in paypal. Closes #274. 2011-11-28 12:07:56 +00:00
Julian Jöris 6a637bfbf5 Merge remote-tracking branch 'upstream/master' 2011-11-28 08:19:11 +01:00
Mike Jolley 49f545ef60 Cart/order tables 2011-11-27 00:03:46 +00:00
Mike Jolley d33c81f34a updated email templates with new fields 2011-11-26 23:33:57 +00:00
Mike Jolley 74278c507e Made cheque/bacs gateways reduce stock levels upon ordering. Closes #273. 2011-11-26 22:22:25 +00:00
Mike Jolley 1eb2463091 get_attribute function Closes #249. 2011-11-26 20:23:57 +00:00
Mike Jolley e6f716889f Fixed variations loading dimensions
Needed by shipping methods
2011-11-26 18:22:22 +00:00
Mike Jolley fe45fb8811 Sale date uses current_time('timestamp') instead of strtotime 2011-11-26 17:56:43 +00:00
Mike Jolley 66610f58d3 txt_type check moved. Closes #255. 2011-11-26 17:29:31 +00:00
Mike Jolley f7b4bebacc Final tax rounding issues 2011-11-26 16:15:25 +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
Julian Jöris 5898548ae8 Merge remote-tracking branch 'upstream/master' 2011-11-25 09:41:40 +01: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
Julian Jöris e6adfeb470 Merge remote-tracking branch 'upstream/master' 2011-11-24 11:44:38 +01: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
Julian Jöris df3e13867a Merge remote-tracking branch 'upstream/master' 2011-11-23 12:03:51 +01: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
Julian Jöris ebd83bdd10 Merge remote-tracking branch 'upstream/master' 2011-11-22 16:42:27 +01: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
Julian Jöris 7d7fa33d70 Merge remote-tracking branch 'upstream/master' 2011-11-22 14:06:48 +01: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
Julian Jöris fb5df55da5 merge 2011-11-21 11:38:14 +01: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
Julian Jöris e469a838bb Merge remote-tracking branch 'upstream/master' 2011-11-18 17:55:10 +01:00
Julian Jöris e5df4419a8 -> instead of jigoshop:: 2011-11-18 17:52:44 +01:00
Julian Jöris b818f95cdd hooks needed for the german Version 2011-11-18 17:26:27 +01: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