Commit Graph

799 Commits

Author SHA1 Message Date
Justin Stern d23fbcc698 Order Number Changes
Order number changes in preparation for the Sequential Order Number
plugin
2012-05-15 20:23:43 -04:00
Mike Jolley c292060045 % discount rounding 2012-05-13 19:17:39 +01:00
Mike Jolley 12f9241162 fix analytics settings 2012-05-11 21:41:18 +01:00
Mike Jolley aa2bf617ab variations solid individually handling 2012-05-11 12:47:23 +01:00
Mike Jolley 564a07ed77 When the count of available shipping methods changes, reset to default 2012-05-10 16:35:36 +01:00
Mike Jolley 5686e0826a notice 2012-05-10 13:51:35 +01:00
Mike Jolley e6f5426839 Tweaks for launch 2012-05-10 12:45:14 +01:00
Mike Jolley e92ceaae15 No word from .org team - removing wootransmitter for now 2012-05-10 10:34:44 +01:00
Mike Jolley 6c3bf05433 Tweak - After getting a shipping quote, use the shipping address for taxes on the cart page 2012-05-09 18:29:29 +01:00
Mike Jolley 7e3d400af0 order amount hooks 2012-05-09 11:09:45 +01:00
Mike Jolley 2cac2f9d68 Drag and drop ordering for products. Closes #95. Closes #995. 2012-05-08 20:30:18 +01:00
Mike Jolley 4adc961597 compound tax is show after cart discounts and thus needs to have them removed. Closes #1006. 2012-05-08 18:47:35 +01:00
Mike Jolley 9d30ad15fa wootrans opt in 2012-05-08 17:29:27 +01:00
Mike Jolley a537b2c18f Woo Transmitter Integration 2012-05-08 16:23:09 +01:00
Geert De Deckere 75d8163d36 Made shipping classes a bit more DRY 2012-05-05 15:32:24 +02:00
Mike Jolley afd3eda733 unhook correction 2012-05-03 17:48:42 +01:00
Max Rice c3fa081a44 fix call_user_func warning
Warning: call_user_func_array() expects parameter 1 to be a valid
callback, class 'WC_Google_Analytics' does not have a method
'google_tracking_code' in /htdocs/wp-includes/plugin.php on line 405

tracking functions were inside of init_form_fields()
2012-05-03 11:56:08 -04:00
Mike Jolley 6ff4053797 free shipping logic 2012-05-03 14:00:45 +01:00
Mike Jolley 90ad5da65b Merge pull request #990 from thenbrent/new-order
New WC_Order Class Formatting Filters & Function
2012-05-01 17:07:25 -07:00
Mike Jolley c380861778 coupons in packages to prevent cached methods 2012-05-01 20:24:22 +01:00
Mike Jolley b80a296b7d labels 2012-05-01 10:39:53 +01:00
Mike Jolley 3bfb91ca0c init class 2012-05-01 10:19:56 +01:00
Mike Jolley 62c1d9d15c ShareYourCart + integration tweaks 2012-04-30 20:50:52 +01:00
Brent Shepherd 1f8409ad0b Updating instance of woocommerce_price( $this->get_order_total() ) to use new get_formatted_order_total() function. 2012-04-27 12:38:06 +10:00
Brent Shepherd a75902d292 Ugh variable name typo, teach me to commit/push before testing - sorry! 2012-04-27 12:27:37 +10:00
Brent Shepherd 0b49818a5e Adding "woocommerce_order_formatted_line_subtotal" filter to get_formatted_line_subtotal function. Adding new WC_Order::get_formatted_order_total() to centralise order total formatting and provide a new filter for order total. Replacing all instances of "woocommerce_price($order->order_total)" with new WC_Order::get_formatted_order_total() function. 2012-04-27 12:18:18 +10:00
Mike Jolley 5249935ce4 Removed nonces from add to cart urls 2012-04-25 11:32:45 +01:00
Mike Jolley a4ec7d04d3 Prevent arrays which fail the empty() check 2012-04-25 10:27:46 +01:00
Mike Jolley fd44780935 Options tweak and stock display format option. 2012-04-24 19:15:56 +01:00
Coen Jacobs 4f88788c5c Readme bump on last two fixes 2012-04-24 16:14:36 +02:00
Coen Jacobs adf28c1633 Use term_id (casted to int) for get_term_link( function 2012-04-24 13:43:01 +02:00
James Koster ff8d9f395c consistency 2012-04-23 22:22:41 +01:00
Mike Jolley fc0e067613 per product flat rate. Closes #979. 2012-04-23 15:32:21 +01:00
Mike Jolley 375d973128 When sending the order as a whole to paypal, send the shipping separately.. Closes #976. 2012-04-23 15:02:48 +01:00
Mike Jolley 1f2a09869c Only use rm=2 for paypal when SSL is enabled, to avoid security warnings when returning to the site. 2012-04-23 14:08:29 +01:00
Coen Jacobs e0cfb04962 Added woocommerce_before_cart_item_quantity_zero action 2012-04-23 14:28:47 +02:00
Mike Jolley 68586f3005 Collect shipping address even when not required 2012-04-21 19:30:37 +01:00
Mike Jolley db2c776855 small tidy 2012-04-21 19:10:01 +01:00
Mike Jolley 9a88f6b46e woocommerce_get_price hook 2012-04-21 17:38:34 +01:00
Mike Jolley 9150c0695b Removed space from postcode validation. Closes #968. 2012-04-21 14:47:11 +01:00
Mike Jolley 0769f8843f Cart/sold individually 2012-04-20 12:09:49 +01:00
Mike Jolley 392571aab0 exists function 2012-04-20 11:17:40 +01:00
Mike Jolley a39fdd1612 Shipping calc state -> checkout. Closes #959. 2012-04-19 12:09:52 +01:00
Mike Jolley a7701311d9 Merge pull request #950 from GeertDD/flat-rate-options
Allow more readable flat rate options to be entered
2012-04-19 03:18:01 -07:00
Coen Jacobs c0cb5b27de Added minus symbol to cart discount labels too 2012-04-18 17:36:55 +02:00
Coen Jacobs 17f0f24101 Order, function get_order_item_totals code standards update 2012-04-18 12:29:30 +02:00
Coen Jacobs 40ed01104e Added minus symbol before discount on view order page 2012-04-18 12:16:18 +02:00
Mike Jolley 0481a2bd0f PayPal http_build_query & -> & on some PHP 5.3 servers 2012-04-18 11:04:31 +01:00
Geert De Deckere 4c08f7bf6d Allow more readable flat rate options to be entered 2012-04-18 08:03:28 +02:00
Mike Jolley 727a4b1cf4 stock notifications 2012-04-17 12:53:02 +01:00
Coen Jacobs b8d084ef29 Check for set notification options before sending notification 2012-04-17 13:10:38 +02:00
Mike Jolley 6b06b7f739 exclude products 2012-04-17 12:06:08 +01:00
Mike Jolley 4f905a0e67 Local rates were being ignored if no main rates were set 2012-04-16 18:55:35 +01:00
Mike Jolley 74d1cc0038 just a comment 2012-04-16 18:20:36 +01:00
Mike Jolley ea15344c9e get_woocommerce_currency 2012-04-16 16:27:18 +01:00
Mike Jolley 897737e425 Only show cart errors in cart-errors.php Closes #924. 2012-04-16 15:39:40 +01:00
Mike Jolley 27b2c87600 Feature - Local delivery cost per item condition 2012-04-16 10:13:13 +01:00
Mike Jolley f6ba5187fa tweak to comment code 2012-04-15 00:37:37 +01:00
Mike Jolley 7aa97b0f38 product attributes template 2012-04-13 18:33:56 +01:00
Mike Jolley 1b0748fdd7 title 2012-04-13 13:13:16 +01:00
Coen Jacobs d4ab1259fc Check if $key is set before outputting values to prevent notices 2012-04-13 13:37:17 +02:00
Mike Jolley 775047514c is_available for packages 2012-04-13 12:35:14 +01:00
Mike Jolley b846131f82 "Package" support for shipping calculations - allows third parties to split the cart up to calc shipping. Also caches packages meaning the cart shipping only needs to be calculated once (until totals or customer location changes) 2012-04-13 12:16:24 +01:00
Mike Jolley a4e65d3636 weight unit space 2012-04-12 22:59:17 +01:00
Mike Jolley 67956705a4 filter to avoid empty arrays 2012-04-12 19:18:55 +01:00
Mike Jolley aba42b5fc0 Small template cleanup 2012-04-12 17:22:56 +01:00
Mike Jolley c6a6949c5c filter tweaks 2012-04-12 16:11:12 +01:00
Mike Jolley f510b40514 Minimum fee option for flat rate shipping 2012-04-12 11:04:15 +01:00
Mike Jolley afd727bb24 Improved variations panel, bulk edit, and added tax classes for variations. Closes #779. 2012-04-11 18:56:54 +01:00
Mike Jolley b9bec0be75 show_shipping. Closes #901. 2012-04-11 13:08:04 +01:00
Mike Jolley 0df360ed9c Wrong code for quebec (QC) 2012-04-11 12:05:36 +01:00
Mike Jolley b04bdceda0 Shipping method settings and save hook changes 2012-04-11 10:01:22 +01:00
Mike Jolley 9f3e958601 page style Closes #904. 2012-04-10 18:49:56 +01:00
Mike Jolley a9a5f0ceca extra actions for checkout. @8cc310c14ab55131a79f4340a37ef392283fc3ab 2012-04-10 18:21:33 +01:00
Mike Jolley 6f62606365 generate cart id match add_to_cart arguments 2012-04-10 17:56:44 +01:00
Mike Jolley 96ebb1f9f4 Fix for last commit 2012-04-10 13:14:31 +01:00
Mike Jolley ee574e1ef8 Changed the filters for checkout field locales - lets you override the base country labels 2012-04-10 13:07:23 +01:00
Mike Jolley 9f65e7e1cb Hook change 2012-04-10 12:18:41 +01:00
Mike Jolley 6363420508 hooks for stock increase/decrease 2012-04-09 14:58:00 +01:00
Mike Jolley 86c8da6189 New walkers. Closes #891. 2012-04-05 17:51:36 +01:00
Coen Jacobs 592037a193 Filter available shipping methods. Closes #897 2012-04-05 17:29:22 +02:00
Mike Jolley 586a49b59e filter tweaks 2012-04-03 15:46:28 +01:00
Mike Jolley b18c7e5ec3 woocommerce_add_to_cart filter 2012-04-03 15:37:04 +01:00
Mike Jolley 78b2a2cf80 RMB paypal 2012-04-02 13:25:39 +01:00
Mike Jolley 97e41adc93 canada post code handling 2012-04-02 11:37:17 +01:00
Mike Jolley ab7953a646 Don't mail the password 2012-03-30 21:02:36 +01:00
Mike Jolley fe908e5c94 settings api notices 2012-03-30 16:15:11 +01:00
Mike Jolley c14c86688d notices 2012-03-30 16:13:01 +01:00
Mike Jolley 8d0167acf3 PayPal option explanation 2012-03-28 21:21:21 +01:00
Mike Jolley cfa383eaf4 Improved stock check. Closes #778. 2012-03-28 18:42:35 +01:00
Mike Jolley 2acd63d6c4 Fix notices 2012-03-27 17:50:08 +01:00
Mike Jolley 6ee297aaba Additional paypal standard option 2012-03-27 13:21:07 +01:00
Mike Jolley f692cf576f 'Invoice' for completed/pending emails re-sends download links etc. Closes #817. 2012-03-26 21:11:39 +01:00
Mike Jolley 8011374d6c Locale tweaks. Closes #840. 2012-03-26 20:35:55 +01:00
Mike Jolley 3c79593db5 error in last commit 2012-03-26 20:28:19 +01:00
Mike Jolley 58679cb50e Additional isset checking closes #837. 2012-03-26 20:16:05 +01:00
Mike Jolley fa74010038 Hooks for countries and states. Closes #849. 2012-03-26 18:55:30 +01:00
Mike Jolley 2927a52743 Update order dates. Closes #845. 2012-03-26 18:30:00 +01:00
Mike Jolley 6695037b85 the_posts filter for relevenssi compat 2012-03-26 15:34:23 +01:00
Mike Jolley 659d3ee3b4 get order number function complete with filter. Tweak the display of order ID's if you use custom numbering.
Had to tweak some localisation strings to dump the '#' symbols.
2012-03-26 11:26:50 +01:00
Patrick Garman 97705e28c3 Adding some backwards compatability 2012-03-24 21:34:59 -05:00
Patrick Garman 705b7fe7ab Limit local delivery to post codes. Cleans user (admin and customer) input by sanitizing, then removing the dashes. Meaning "0 e49489--- 34938" == "0E4948934938" all day long :) 2012-03-24 21:01:09 -05:00
Mike Jolley bd04e2eb26 fix after tax product cat coupons 2012-03-23 20:46:17 +00:00
Mike Jolley f0742cdddf View cart link in 'you already have this in your cart' message 2012-03-23 19:15:31 +00:00
Mike Jolley 99cff34206 Debug panel with transients clearer and role reseter tools 2012-03-23 16:28:27 +00:00
Mike Jolley b89cc7e8eb option for paypal - form vs querystring 2012-03-21 19:19:34 +00:00
Mike Jolley 12f296f943 Code tweaks + small changes to inventory panel 2012-03-21 18:37:57 +00:00
Mike Jolley bcec344c27 data tip. Closes #841. 2012-03-20 19:40:52 +00:00
Mike Jolley 823c2921c6 load order tweaks 2012-03-20 19:22:10 +00:00
Mike Jolley 18e712ac62 Merge pull request #856 from GeertDD/fix_i18n_init
Fixed the initialisation of the language files
2012-03-20 11:52:28 -07:00
Mike Jolley aea9f5f55e fix coupon check 2012-03-20 18:36:25 +00:00
Mike Jolley 4fe459ddc5 force variations visible 2012-03-20 17:30:02 +00:00
Mike Jolley a83014584d hook for stock 2012-03-20 17:29:53 +00:00
Geert De Deckere 9c5a8d7d81 Merge branch 'master' into fix_i18n_init
Conflicts:
	classes/class-wc-cart.php
	woocommerce.php
2012-03-20 15:32:29 +01:00
Geert De Deckere 2e27ea3108 Call WC_Cart->init() method directly from within the init hook 2012-03-20 14:50:19 +01:00
Mike Jolley 05c6a14200 Merge pull request #851 from curtismchale/master
Cleans up debug notices on the tax class if the user has not saved any option on the backend of the site.
2012-03-20 06:30:39 -07:00
Mike Jolley 928543c35e cart and main cleanup 2012-03-20 13:22:35 +00:00
Mike Jolley 4ec7306dab Lower case emails 2012-03-20 10:03:37 +00:00
curtismchale 77893517e1 clean and quiet debug notices
There are a bunch of debug notices when the user has not set anything
for their tax class (in the admin). This make all of them clean and
quiet in the header of the site and on the checkout page.
2012-03-19 11:29:38 -07:00
Mike Jolley 12b28c1f09 default order option 2012-03-19 12:16:33 +00:00
Mike Jolley eec33a58f6 order items (for emails) moved to template file and tidied 2012-03-18 14:51:21 +00:00
Mike Jolley ca723a4657 use billing email for download link 2012-03-18 12:11:55 +00:00
rabhw 53781f13b3 Added class for available on backorder. 2012-03-16 16:22:39 -03:00
Mike Jolley fe800d6685 Transient names. Closes #818. 2012-03-16 16:39:16 +00:00
Mike Jolley bb5f35fa91 Fix redirect when no payment required + admin bar. Closes #826. 2012-03-16 15:09:12 +00:00
Mike Jolley 3ce55befc4 settings api slashes 2012-03-16 10:18:59 +00:00
Mike Jolley 0c28336dff Merge pull request #812 from lucasstark/patch-2
add_to_cart signature change
2012-03-15 05:30:00 -07:00
Mike Jolley 0b7e83ca35 Tweaks 2012-03-15 12:15:22 +00:00
lucasstark 183deee029 add_to_cart signature change 2012-03-15 09:09:03 -03:00
Mike Jolley 79956071f7 Default state. Closes #794. 2012-03-14 22:12:31 +00:00
Mike Jolley 8ef7e2ca0c Settings API: Decode settings to allow HTML and prevent munging of passwords. Closes #798. 2012-03-14 21:17:24 +00:00
Mike Jolley 81de864a13 Vietnam locale and support for hiding fields 2012-03-14 20:35:42 +00:00
Mike Jolley cc7fc5117a Stock checker works with items on multiple rows. Closes #778. 2012-03-14 15:34:45 +00:00
Mike Jolley ec5d592155 Ignore partial refunds. Closes #735. 2012-03-14 13:50:14 +00:00
Mike Jolley acb8f14e99 company 2012-03-14 13:40:41 +00:00
Mike Jolley f8c395a9e4 old method worked better 2012-03-14 13:40:16 +00:00
Mike Jolley aae276e14b Send shipping 2012-03-14 13:25:05 +00:00
Mike Jolley da113b7589 customer coupons. Ability to refresh the totals through code. 2012-03-14 11:41:32 +00:00
Mike Jolley 8914d1856a n/a 2012-03-12 16:14:00 +00:00
Mike Jolley ec83b4d24f Merge pull request #790 from GeertDD/display_no_tax_row
Force the tax row to show up even if no taxes are applicable
2012-03-12 09:00:52 -07:00
Mike Jolley 3ccff6346b Merge pull request #788 from GeertDD/enable_coupons_option
Added option to globally enable/disable the use of coupons
2012-03-12 08:31:54 -07:00
Mike Jolley 8a2c389cbc COD reduce stock 2012-03-12 15:28:29 +00:00
Mike Jolley b7ac9535a2 check if field is set 2012-03-12 13:50:32 +00:00
Mike Jolley 7123f02c22 Downloadable products use billing email. Store user data. 2012-03-12 13:49:42 +00:00
Mike Jolley f9d8d8320a use email from column 2012-03-12 13:28:34 +00:00
Mike Jolley 01e7a2d539 Product id rules for coupons apply to a products parent (useful for grouped products) 2012-03-12 13:11:08 +00:00
Geert De Deckere 3d52b629c3 Added an option to force the tax row to be visible even if no taxes are applicable. 2012-03-12 13:50:38 +01:00
Mike Jolley 3b1ff0f895 empty 2012-03-12 12:00:24 +00:00
Geert De Deckere 3e13bd5ebf Instead of hiding the tax row if not applicable, show it explicitely as not applicable. 2012-03-12 12:26:48 +01:00
Mike Jolley 5aa8609099 backorders_require_notification returns false if stock is disabled 2012-03-12 11:25:30 +00:00