Coen Jacobs
314af74f3d
Have all WC_Coupon calls use is_valid() method to check #1994
2012-12-19 15:52:16 +01:00
Coen Jacobs
3d2c18db6b
Cleared coupon class of coupon_valid, use is_valid #1994
...
Will rewrite all internal constructions of WC_Coupon to use the
is_valid() method instead.
2012-12-19 15:39:31 +01:00
Steven Mathias
9387ca6acf
Updated to include coupon on woocommerce_item_is_discounted filter. Filters should always include all information used to arrive at the default filtered value.
2012-12-18 11:35:56 -07:00
Mike Jolley
019b207a5e
Allow get_catalog_ordering_args to have an order passed to it. Closes #2007
2012-12-18 06:57:49 +00: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
Max Rice
30f6b5b798
Fix WC_Shipping_Method::get_fee() PHPDoc
2012-12-16 14:27:07 -05: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
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
Mike Jolley
aa3afb7a85
Tax display tweaks. Default customer address option.
2012-12-13 16:38:47 +00:00
Mike Jolley
dda8b8afbe
JSON tweak from 1.6
2012-12-13 14:57:31 +00:00
Mike Jolley
6983387ecf
Fix pound symbol. in plain text.
2012-12-13 09:52:20 +00:00
Mike Jolley
0f0512c8fd
rounding filters. Closes #1964 .
2012-12-13 01:23:35 +00:00
Mike Jolley
3af034755b
Put holds on stock until orders are cancelled. Closes #1977 .
2012-12-12 21:14:19 +00:00
Mike Jolley
988269534a
removed refunds
2012-12-12 18:03:46 +00:00
Mike Jolley
00dbacba5e
Merge pull request #1980 from andreibarabas/master
...
Fix Issue #1833
2012-12-12 08:03:15 -08:00
Andrei Barabas
b8b5471f4d
Fix Issue #1833 by upgrading ShareYourCart SDK to v1.10
2012-12-12 17:58:54 +02:00
Mike Jolley
a2bf32d416
Order refund #1755 .
2012-12-12 15:55:19 +00:00
Mike Jolley
fd8e15bbea
Work on refunds admin. #1755
2012-12-12 15:32:51 +00:00
Coen Jacobs
885fe36239
Refunds total in show order screen
2012-12-12 16:05:01 +01:00
Mike Jolley
a8fba0cf04
Tweaked installer and added new cron for scheduled sales. Closes #1971 .
2012-12-12 12:52:39 +00:00
Mike Jolley
574f145a4c
Tax inclusive prices for mijireh prevents rounding errors.
2012-12-12 10:46:36 +00:00
Mike Jolley
a0a9e2a699
IP. Closes #1975 .
2012-12-12 10:28:55 +00:00
Mike Jolley
7a0c734188
Fix prepares. Closes #1973 .
2012-12-12 10:28:02 +00:00
Mike Jolley
681a2a8ba5
Groups product titles. Closes #1966 .
2012-12-11 17:28:47 +00:00
Mike Jolley
d057ce7769
borked last commit
2012-12-11 17:18:08 +00:00
Mike Jolley
0f36cc69f2
Only use server if set. Closes #1970 .
2012-12-11 17:05:31 +00:00
Mike Jolley
a697ffbeb6
Coupon rework, reports, and styles. Closes #1862 .
2012-12-11 17:02:48 +00:00
Mike Jolley
f95e0c6dfc
should resolve loop warnings. Closes #1962 .
2012-12-10 16:43:22 +00:00
Mike Jolley
110bc854e0
Some validation. Closes #1949 .
2012-12-10 14:50:49 +00:00
Mike Jolley
bfcb3ec1e9
Load options in checkout class and ensure hooks are available to change the options. Closes #1950 .
2012-12-10 12:34:59 +00:00
Mike Jolley
d763b9bf05
Fitlers for download names Closes #1944 .
2012-12-07 11:51:07 +00:00