Commit Graph

684 Commits

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