Commit Graph

426 Commits

Author SHA1 Message Date
Mike Jolley a28d758a90 Calculations for tax rates 2011-12-29 01:18:59 +00:00
Mike Jolley 90a257b4fa Tax rows and compound taxes on cart page 2011-12-28 23:59:33 +00:00
Mike Jolley d20fbb1d58 Don't need country in address if = to base 2011-12-28 12:38:49 +00:00
Mike Jolley 45d78748a1 Few more missed keys 2011-12-24 17:09:43 +00:00
Mike Jolley fb57cc7e9d More key renames 2011-12-24 17:05:51 +00:00
Mike Jolley 364c0bd54c Renamed all product data meta keys
This is so they are hidden (_). Should have done this long ago. Few
extensions will need updating when 1.4 goes out to reflect these
changes, mainly importers.
2011-12-24 16:57:36 +00:00
Mike Jolley 129cf884fc Order # in backorder notification. 2011-12-23 19:58:41 +00:00
lucasstark 4b6f8b067d Added filter to coupon loading 2011-12-23 14:20:27 -05:00
Mike Jolley 11e81cea70 get_cart_tax filter 2011-12-23 18:15:46 +00:00
Mike Jolley 698ef5d59e Fixes when tax is disabled. 2011-12-23 18:07:44 +00:00
Mike Jolley 50774151a4 Round order total. Closes #342. 2011-12-23 16:30:46 +00:00
Mike Jolley 3a63feca07 Merge pull request #410 from spencerfinnell/master
Allow email subjects to be filtered.
2011-12-22 12:33:14 -08:00
Spencer Finnell 092fe416ba Allow email subjects to be filtered. 2011-12-22 14:59:59 -05:00
Mike Jolley e016a1253f Query tweaks. Using 3.3 function is_main_query 2011-12-22 19:55:21 +00:00
Mike Jolley cd7665f936 Order key hook. Closes #405. 2011-12-21 23:54:11 +00:00
Mike Jolley 74bb271e96 Filter checkout fields..
.. you can pretty much turn off all fields now - although, you'll need
to turn off tax + shipping calcs too since they rely on addresses to
function.
2011-12-21 21:56:01 +00:00
Randy Hoyt 63e5693c9d Hook to enable modifying tax rate on a particular order with a filter; postal code added as a parameter for those filters 2011-12-21 14:24:34 -06:00
Mike Jolley 3fe3fffe90 Address. Closes #301. Closes #395.
Improved checkout processing.
Made edit-address use the locale specific address fields.
2011-12-21 16:03:45 +00:00
Mike Jolley 18a80b5564 Send fix. Closes #396. 2011-12-21 11:29:38 +00:00
Julian Jöris f0ea7f8c8a fix 2011-12-20 16:47:18 +01:00
Julian Jöris 66334486ed gateway payment_fields fix 2011-12-20 16:44:46 +01:00
Julian Jöris c07d56f5d0 Merge remote-tracking branch 'upstream/master' 2011-12-20 11:00:46 +01:00
Mike Jolley 9c80356589 Download links. Closes #375. Closes #349. 2011-12-19 17:50:41 +00:00
Mike Jolley c4625ad91e Coupon on checkout. Closes #379. 2011-12-19 17:11:19 +00:00
Julian Jöris b36b21390b Merge remote-tracking branch 'upstream/master' 2011-12-19 15:53:50 +01:00
Mike Jolley 665d8bf512 Shipping method ordering. Closes #347. 2011-12-19 14:05:32 +00:00
Mike Jolley 18cc9a9442 Admin formatted address 2011-12-18 13:41:42 +00:00
Mike Jolley 17a59bf3ec Formatted address function + added to my account 2011-12-18 01:29:10 +00:00
Brent Shepherd 74fc1d8caa Merge branch 'master' of git://github.com/woothemes/woocommerce 2011-12-17 15:04:31 +10:00
Mike Jolley f04256320d Locale stuff. Added locales for address fields for countries.
next step is to make the address formats work.
2011-12-16 21:19:56 +00:00
Mike Jolley 03891e7f56 Dynamic checkout fields based on locale 2011-12-16 15:11:41 +00:00
Mike Jolley 073d3cb2f0 Putting localisation stuff in countries class 2011-12-15 23:24:02 +00:00
Mike Jolley df24e9e743 Locale settings for checkout
Work for base country, now it needs to be dynamic when changing
countries
2011-12-15 20:34:14 +00:00
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 7163d1dd38 Download URL fix with HTTPS 2011-12-15 11:21:06 +00:00
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