Commit Graph

62446 Commits

Author SHA1 Message Date
Warren Holmes 98525111f3 Check categories and tags are available on a product before doing count updates. 2012-12-17 14:39:27 +02:00
Coen Jacobs c8fa43d7bb Constructors can't return data. Set property instead. Closes #1994
Instead of returning the bool (which is impossible in a constructor)
the WC_Coupon constructor now sets a property coupon_valid during
constructing that can be used to check if the coupon is valid.
2012-12-17 13:20:22 +01:00
Coen Jacobs 198cf65bd4 Shortcodes, checks for set values and cleanup. Closes #1996 2012-12-17 13:09:34 +01:00
Mike Jolley 383a8cfcb5 Merge pull request #1995 from maxrice/patch-2
Fix WC_Shipping_Method::get_fee() PHPDoc
2012-12-16 12:49:07 -08:00
Max Rice 30f6b5b798 Fix WC_Shipping_Method::get_fee() PHPDoc 2012-12-16 14:27:07 -05:00
Mike Jolley b0c2a11c90 1 table but no colspans, qty column removed 2012-12-16 16:28:54 +00:00
Mike Jolley 42f491c544 Merge pull request #1992 from grappler/patch-2
Split review items from total
2012-12-16 08:01:52 -08:00
grappler 786d27be88 Split review items from total
This change give the user more control and makes the page better for mobile sites. An example can be seen here.
https://www.shultzilla.com/checkout/
2012-12-15 17:29:01 +01:00
Coen Jacobs 60152139a7 Removed double spaces in WC_Cart class methods 2012-12-15 13:01:42 +01:00
Coen Jacobs 9a92fb48a1 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	classes/class-wc-query.php
	classes/class-wc-tax.php
2012-12-15 13:00:34 +01:00
Coen Jacobs 7b5e74626a Remove pass by reference for objects
Done all files except for external libaries: shareyourcart, cssmin,
lessc

@mikejolley Should we update those libraries as well?
2012-12-15 12:53:32 +01:00
Coen Jacobs cc08f08b2f Merge pull request #1990 from warrendholmes/master
Scope on functions and remove var
2012-12-15 03:42:11 -08:00
Warren Holmes b5474d0a85 Correct scope.
- class-wc-validation.php
2012-12-15 00:03:34 +02:00
Warren Holmes f2ce67fc47 Correct scope, remove ise of var.
- class-wc-tax.php
2012-12-15 00:03:00 +02:00
Warren Holmes 27e315f494 Correct scope, remove use of var.
- class-wc-seetins-api.php
2012-12-15 00:01:58 +02:00
Warren Holmes 02c8253b93 Change private name. 2012-12-15 00:00:04 +02:00
Warren Holmes ab7e656757 Consistent name convention for private/protected class variables. 2012-12-14 23:57:23 +02:00
Warren Holmes de00354f57 Corect scope, remove use of var.
- class-wc-query.php
2012-12-14 23:55:19 +02:00
Warren Holmes 6b7205a417 Correct scope, remove use of var.
- class-wc-product-variation.php
2012-12-14 23:54:13 +02:00
Warren Holmes 0e491d6ffe Correct scope, remove use of var.
- class-wc-product-variable.php
2012-12-14 23:52:46 +02:00
Warren Holmes 5b0297d181 Correct scope, remove use of var.
- class-wc-product-simple.php
2012-12-14 23:51:27 +02:00
Warren Holmes 5fa9923a48 Correct scope, remove use of var.
- class-wc-product-grouped.php
2012-12-14 23:50:51 +02:00
Warren Holmes 21b09ff9a7 Correct scope, remove use of var.
- class-wc-product-external.php
2012-12-14 23:49:46 +02:00
Warren Holmes b99ba56abc Correct scope. remove use of var.
- class-wc-order.php
2012-12-14 23:48:36 +02:00
Warren Holmes d702e6109e Correct scope.
- class-wc-logger.php
2012-12-14 23:44:43 +02:00
Warren Holmes 8e5fc48846 Correct scope, remove use of var.
- class-wc-customer.php
2012-12-14 23:43:45 +02:00
Warren Holmes 23564f9995 Correct scope, remove use of var.
- class-wc-coupon.php
2012-12-14 23:41:59 +02:00
Warren Holmes ad46eb134b Correct scope, remove use of var.
- class-wc-countries.php
2012-12-14 23:37:41 +02:00
Warren Holmes d13d56ca14 Correct scope, remove us of var. 2012-12-14 23:27:29 +02:00
Warren Holmes afa53b4e26 Correct scope, remove use of var.
- class-wc-cart.php
2012-12-14 23:26:07 +02:00
Warren Holmes 633def8112 Correct scope, remove use of var.
- woocommerce.php
2012-12-14 23:19:40 +02:00
James Koster 790e349972 add parent parameter to product_categories shortcode 2012-12-14 15:23:41 +00:00
Coen Jacobs b5daf825a9 there = their in readme 2012-12-14 13:08:43 +01:00
Coen Jacobs e8634ddb04 be be in readme :) 2012-12-14 12:33:24 +01:00
James Koster fb6634a205 better alignment with twitter button 2012-12-13 23:26:53 +00:00
James Koster 52cfc8fb69 activation buttons 3.5'd 2012-12-13 23:22:18 +00:00
Mike Jolley 2410258bef Possible fix for #1967 install issue 2012-12-13 17:32:41 +00:00
Mike Jolley e807cb2f2e Puttin' the code back 2012-12-13 16:59:33 +00:00
Mike Jolley aa3afb7a85 Tax display tweaks. Default customer address option. 2012-12-13 16:38:47 +00:00
James Koster 5a8e25d743 noreviews class 2012-12-13 16:17:32 +00:00
James Koster aff2cc33aa better loader 2012-12-13 16:02:28 +00:00
James Koster f5552e0b5e retina'd frontend ajax loader 2012-12-13 15:53:36 +00:00
Coen Jacobs 5e675ab0e3 Updated readme with 1.6.6 release 2012-12-13 16:27:48 +01:00
Mike Jolley dda8b8afbe JSON tweak from 1.6 2012-12-13 14:57:31 +00:00
Mike Jolley 78d25ff557 cache fix from 1.6.6 2012-12-13 14:12:55 +00:00
Coen Jacobs fb91b72ee0 Check for thumbnail support on content type level 2012-12-13 13:40:24 +01:00
Coen Jacobs af4359a6e3 Explicit check for array in layered nav widget 2012-12-13 13:25:48 +01:00
James Koster cce3beaed1 link titles 2012-12-13 11:36:42 +00:00
James Koster f6c0db561e cross more appropriate 2012-12-13 11:34:44 +00:00
James Koster 0244bf01a4 link titles 2012-12-13 11:22:30 +00:00