Commit Graph

923 Commits

Author SHA1 Message Date
Mike Jolley 05405b8eaf Stored totals so we don't recalculate on each page load. 2012-01-13 11:15:01 +00:00
Mike Jolley 23a3776f04 Tweaks to order/validation class to improve performance 2012-01-13 00:46:56 +00:00
Mike Jolley 228d79a864 Hide errors in case no object exists 2012-01-12 13:34:45 +00:00
Mike Jolley 2e62d34ac9 autop 2012-01-12 01:08:58 +00:00
Mike Jolley 567319bd51 Merge pull request #490 from patrickgarman/master
Adding COD to WooCommerce Core!
2012-01-11 16:57:41 -08:00
Mike Jolley a2d51aa201 Github sabotages files -.- 2012-01-12 00:54:45 +00:00
Mike Jolley 1dc5a3bc0b Revert 136456f805ccdf9b7b6bce027dc24da3c14d4281^..HEAD 2012-01-12 00:43:30 +00:00
Mike Jolley 136456f805 Remonde ob_start. Moved checkout processing to init hook. Fixed email bug. 2012-01-12 00:30:21 +00:00
Patrick Garman 8e499c9c95 Adding Cash on Delivery Gateway 2012-01-11 20:44:10 +00:00
Mike Jolley aa8f4596ba Improved get attribute function. 2012-01-10 17:14:40 +00:00
Mike Jolley 4fe59d979e Order fixes 2012-01-10 16:43:06 +00:00
Mike Jolley 2b09e9160c Show tab if weight/dimensions are set and being shown. Closes #467. 2012-01-10 15:36:14 +00:00
Mike Jolley bc91c1433b Goodbye &new. Closes #475. 2012-01-10 15:11:06 +00:00
Mike Jolley 4287a0628f Option to show children only in widget. Closes #472. 2012-01-10 14:55:08 +00:00
Mike Jolley dc4145dc57 Fix for previous commit 2012-01-09 18:08:56 +00:00
Mike Jolley 55222422c6 Option to hide tax on cart page. Closes #469. 2012-01-09 18:00:52 +00:00
Mike Jolley 86afeaf594 Show order backend fields. Closes #460. 2012-01-09 15:42:37 +00:00
Mike Jolley 9ec215d16e shipping is_available filters + paypal tweak 2012-01-09 13:14:47 +00:00
Mike Jolley 4b8ff30954 Only override posts_per_page if not set. Closes #408. 2012-01-07 18:31:49 +00:00
Mike Jolley 4c5ec53a57 Tweaked paypal gateway. Closes #465.
Not sure if it will resolve all issues, but should be an improvement.
Increased timeout, and cleaned post vars. Also output error if no IPN
response is received.
2012-01-07 17:58:06 +00:00
Mike Jolley 360ca6f0af Stock status change. Closes #462. 2012-01-06 17:28:33 +00:00
Mike Jolley aba310f321 WPML filters #244 2012-01-06 17:14:31 +00:00
Mike Jolley 2e90910389 woocommerce_checkout_no_payment_needed_redirect hook Closes #464. 2012-01-06 14:49:11 +00:00
Mike Jolley aa89763adb Default shipping. Closes #461. 2012-01-06 14:28:08 +00:00
Mike Jolley 6650434c3f Theming improvement 2012-01-06 14:02:34 +00:00
Mike Jolley dbe36b0dcb Free shipping coupons ignore min-amount 2012-01-06 11:36:19 +00:00
Mike Jolley cd87e4f688 related posts filter 2012-01-05 16:02:37 +00:00
Mike Jolley 42ef1ff9b0 Sale price empty check. Closes #433. 2012-01-05 16:00:23 +00:00
Mike Jolley 26afc5e454 Changed reg hooks 2012-01-05 15:26:41 +00:00
Mike Jolley 250d2f5cd6 Cleaned up some localisation's. Closes #438.
Let me know if there are any more.
2012-01-05 12:29:52 +00:00
Mike Jolley 24332672ad Payment method. Closes #449. 2012-01-05 12:11:34 +00:00
Mike Jolley f74e041a30 Renamed textdomain Closes #444. 2012-01-05 11:31:22 +00:00
Mike Jolley a48faca8cc Add line (ajax) 2012-01-04 23:11:07 +00:00
Mike Jolley a3f633e3a3 Fixes, subtotals, some backwards compat 2012-01-04 23:01:47 +00:00
Mike Jolley fb5bb626e8 Shipping tax calc + rows, fixed up write panel 2012-01-04 16:24:26 +00:00
Mike Jolley 28922bb4ef Shipping method tweaks/api to add multiple rates easily. 2012-01-03 19:07:32 +00:00
Mike Jolley ca0e9744ab Local tax rates - zips and zip ranges 2012-01-03 17:23:42 +00:00
Mike Jolley 86395f3c18 visibility options 2012-01-03 15:55:05 +00:00
Mike Jolley cd9aaa7f6f Local tax rate interface 2012-01-03 10:01:19 +00:00
Mike Jolley 8733821091 Email totals, interface for local tax rates 2012-01-02 17:45:26 +00:00
Mike Jolley d0dd26888b Inclusive tax calculations 2012-01-02 15:25:07 +00:00
Mike Jolley cc7e560a14 Bug fixes 2012-01-02 12:48:56 +00:00
Mike Jolley ec7135ebb4 Taxes rounding + shipping, started email totals 2012-01-02 00:49:00 +00:00
Mike Jolley bd4eaa9eb1 Tax rows and add order line item ajax 2011-12-31 19:03:41 +00:00
Mike Jolley 115e3bee18 Checkout and cart totals 2011-12-30 21:11:18 +00:00
Mike Jolley c4231910b5 Order totals + shipping tax (draft) 2011-12-30 19:36:44 +00:00
Mike Jolley 1de85e5d19 More taxes + totals work. Line item tweaks.
Next step; shipping.
2011-12-30 14:00:41 +00:00
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
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
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
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 851dcff6b4 Changed naming of attribute 'attributes' and made them use 1 or 0 instead of yes/no for cleaner code 2011-09-10 21:21:44 +01:00
Mike Jolley 2e56353d70 Work on admin scripts + settings screens 2011-09-09 15:23:32 +01:00
Mike Jolley b480dd804f Validation class fix 2011-09-08 11:54:19 +01:00
Mike Jolley 1444af1de4 Label for checkboxes 2011-09-07 17:03:44 +01:00
Matty 8fd36e39b8 trailingslashit() around home_url() in get_cancel_order_url() and get_downloadable_file_url() 2011-09-07 12:01:47 +02:00
Matty b70a46d724 Removed PayFast gateway (moved to plugin) 2011-09-07 11:40:54 +02:00
Matty bc97078f1b Added first pass at settings form API functions in base Payment Gateway class 2011-09-07 11:39:40 +02: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 3ab6de6a51 Shipping improvement 2011-09-05 12:56:26 +01:00
Mike Jolley 603fe20eaf Modified how image sizes are returned 2011-09-05 10:18:24 +01:00
Mike Jolley 6344d22b11 Tidy up 2011-09-04 01:02:44 +01:00
Mike Jolley 71efa91820 Removed error suppression 2011-09-03 23:52:11 +01:00
Mike Jolley 0506c2e73c Removed cron job for sale prices 2011-09-03 23:37:16 +01:00
Mike Jolley 19e800e751 Correct price passed to paypal 2011-09-02 15:58:34 +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 4e6dfccc45 Lots of minor fixes 2011-09-01 10:08:33 +01:00
Mike Jolley fbfab77f22 More query optimisations 2011-09-01 09:33:22 +01:00
Mike Jolley 6db92c27b8 Renamed product_attribute_ to pa_ and introduced attribute label
Since taxonomies can only be 32 chars long
2011-08-31 13:31:47 +01:00
Mike Jolley 369fad9eab Query changes/tweaks 2011-08-31 01:29:02 +01:00
Matty 61a70de469 Include PayFast gateway in main WooCommerce file. 2011-08-30 16:40:09 +02:00
Matty 31e9744e73 Revert 30cac156d12b01ab6ae4ad2a5904cf2df03fb755^..HEAD 2011-08-30 16:37:49 +02:00
Matty 49b95380e4 Revert "V1.0.0 of the PayFast payment gateway."
This reverts commit ddb285d076.
2011-08-30 16:37:05 +02:00
Matty ddb285d076 V1.0.0 of the PayFast payment gateway.
First round of the PayFast payment gateway.  Still a few things to be
moved around.  Added HTML generation and form validation for text and
checkbox inputs. To be moved to core gateway class at later stage.
2011-08-30 16:36:10 +02:00
Mike Jolley d3377cdfc6 Prevent out of stock in cart 2011-08-30 12:24:28 +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 c8d0273407 location added to star rating, so we can have different sizes in sidebar for instance 2011-08-28 13:07:33 +01:00
Mike Jolley 0c11a93c7c top rated widget stars 2011-08-28 13:04:05 +01:00
Mike Jolley ccb53b7f1b Free labels for free products, unset price products cannot be added to cart 2011-08-27 21:07:16 +01:00
Mike Jolley 5cd9629a45 Image size options 2011-08-27 20:20:28 +01:00
Mike Jolley 2ab533a14e Top rated widget 2011-08-27 12:53:46 +01:00
Mike Jolley 6913726cd5 Better tax system 2011-08-24 17:23:04 +01:00
Mike Jolley 1ba08f0dc0 Improved variations 2011-08-22 15:10:22 +01:00
Mike Jolley b4485df1e2 Cart shortcode improvements 2011-08-22 13:26:17 +01:00
Mike Jolley 9b6b707112 Quantity amount fix 2011-08-22 13:02:45 +01:00
Mike Jolley 40897953a3 Find product in cart fix 2011-08-22 12:57:50 +01:00
Mike Jolley da6d4b9da9 Stock fixes 2011-08-21 17:47:49 +01:00
Mike Jolley 23cbdbdbc4 Stock system changes + write panel improvements 2011-08-21 14:28:54 +01:00
Mike Jolley 69c65c8b32 variation fix 2011-08-20 22:03:31 +01:00
Mike Jolley 30e2b33c1d Better order admin and fixes 2011-08-20 16:41:42 +01:00
Mike Jolley 8c4e69f707 order meta, loop visibility 2011-08-19 21:11:04 +01:00
Mike Jolley e286b11ff5 Dashboard coding, new icons 2011-08-19 15:48:41 +01:00
Mike Jolley 3a4effd48a Admin improvements 2011-08-19 00:14:35 +01:00
Mike Jolley 1472315f1b Changed the way product data is stored 2011-08-18 00:42:07 +01:00
Mike Jolley 1832e8bd8d New email system, better order review handling 2011-08-16 15:06:08 +01:00
Mike Jolley 3a5b322c4a New coupon system 2011-08-15 17:48:24 +01:00
Mike Jolley d7b8cf624e Settings re-work 2011-08-13 17:07:10 +01:00
Mike Jolley 1f85de92ff Admin interface 2011-08-13 14:57:48 +01:00
Mike Jolley 674927d3d5 button classes, tax rounding etc 2011-08-12 11:22:07 +01:00
Mike Jolley c2d3ec4892 Orders panel 2011-08-11 23:54:26 +01:00
Mike Jolley fc7b3d2265 Tax issues and fixes 2011-08-11 23:39:02 +01:00
Mike Jolley 0425a68eca WooCommerce conversion and update 2011-08-10 18:11:11 +01:00
Mike Jolley 8e8613b116 First Commit - from Jigoshop Source 2011-08-09 16:16:18 +01:00