Commit Graph

728 Commits

Author SHA1 Message Date
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