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
Mike Jolley
e3698f99ed
Rounding fixes, and link tax rows to tax rates by ID.
...
Also closes #1869 as it allows us to use 'codes' for tax rates instead
of their label. E.g. code US-AL-Tax-1. This lets users filter taxes in
reports easier.
2012-12-06 19:49:04 +00:00
Yakir Sitbon
876d4c1023
Change phpDoc @return in Fantory class.
2012-12-06 19:15:18 +02:00
Mike Jolley
7a9ca4d888
Sahreyourcart evilness. Closes #1934 .
2012-12-06 15:51:20 +00:00
Mike Jolley
8f0fce893e
Fix download links and post_status checks. Closes #1903 .
2012-12-06 15:39:59 +00:00
Mike Jolley
f100f6ebcb
Inline doc and keep status updated. Closes #1928 .
2012-12-06 14:48:50 +00:00
Mike Jolley
86adc50964
reports for subcats. Closes #1924 .
2012-12-05 18:36:30 +00:00
Mike Jolley
0da50add7b
Fix link variations on new posts. Closes #1925 .
2012-12-05 17:57:53 +00:00
Mike Jolley
5a82480958
OR not AND for permissions checks. #1922 .
2012-12-05 16:13:08 +00:00
Matt
8856444a8f
Undefined index, closes #1913
2012-12-04 21:08:37 -05:00
Mike Jolley
e5df3dce87
timestamp
2012-12-04 20:24:37 +00:00
Patrick Garman
ed9d5abfd6
Expire in local timezones instead of UTC (or the timezone of the server)
2012-12-04 10:24:08 -06:00
Coen Jacobs
37feabd87f
WooCommerce 2.0 is coming!
2012-12-03 20:19:58 +01:00
Mike Jolley
60626d25f9
The display options for taxes
2012-12-03 16:37:08 +00:00
Mike Jolley
9c74c02578
woocommerce_tax_based_on option
2012-12-03 16:37:08 +00:00
Mike Jolley
44eafdab4d
New find_rates
2012-12-03 12:42:44 +00:00
Mike Jolley
73384910f2
prevent notices
2012-12-03 12:41:05 +00:00
Mike Jolley
3f0a698940
Tweak tax display - zeros option removed
2012-12-03 12:41:05 +00:00
Mike Jolley
786003ecb4
prevent notices
2012-12-03 12:41:05 +00:00
James Koster
0f6479eec4
bye bye tin
2012-11-30 17:07:41 +00:00
Mike Jolley
3c66ddae42
Class tweaks, need more testing. Closes #1874 .
2012-11-29 16:48:40 +00:00
Mike Jolley
129d203ca9
Free shipping logic. Closes #1845 .
2012-11-28 19:54:04 +00:00
Mike Jolley
a8a1af4ba3
Fix double tip Closes #1856 .
2012-11-28 18:02:12 +00:00
Mike Jolley
fb06bde939
recount after stock change
2012-11-28 15:40:08 +00:00
Mike Jolley
bd9cee8eaa
Merge pull request #1854 from Geczy/fix-nonobject-variation
...
Fix when instantiating WC_Product_Variation when it isn't a variation
2012-11-27 08:25:17 -08:00
Mike Jolley
b1ec4b289a
Nuked whitespace. Closes #1846 .
2012-11-27 16:22:47 +00:00
Matt
ad3a7bef8e
Fix when instantiating WC_Product_Variation when it isn't a variation
2012-11-27 11:16:17 -05:00
Mike Jolley
5124604710
Merge pull request #1851 from Geczy/ucfirst-classname
...
ucfirst() on the $product_type when instantiating WC_Product_x
2012-11-27 07:40:09 -08:00
Mike Jolley
0361a2f0cb
Settings API tweaks.
...
Uses same names as the settings API for gateways which Closes #1848 .
Allows a single level of array based IDs for options which Closes #1826 .
Related to #1826 this is now used for image size settings.
2012-11-27 15:39:32 +00:00
Matt
eddbf11e13
ucfirst() on the $product_type when instantiating WC_Product_x
2012-11-27 10:31:07 -05:00
Coen Jacobs
4e1a451566
Merge pull request #1843 from scottbasgaard/master
...
Add order email notifications for failed orders > on-hold status
2012-11-27 03:26:39 -08:00
Mike Jolley
279bbd126d
Local pickup zips. Closes #1809 .
2012-11-27 11:25:21 +00:00
Scott Basgaard
3304694cef
Add order email notifications for failed orders > on-hold status
2012-11-27 12:15:52 +01:00
Mike Jolley
7d580cf3a6
default to text. Closes #1838 .
2012-11-27 10:37:28 +00:00
Mike Jolley
a7a681b38d
Merge pull request #1841 from Geczy/customer-data-address
...
Add address to customer session. Closes #1836
2012-11-27 02:23:45 -08:00
Matt
8243974004
Add address to customer session. Closes #1836
2012-11-26 20:56:48 -05:00
Matt
e51651980a
'woocommerce_matched_rates' filter on get_rates()
2012-11-26 17:01:15 -05:00
Mike Jolley
ddbfd2bd28
Factory tweak
2012-11-26 13:39:12 +00:00
Coen Jacobs
930a36e90c
Filter to provide icon to COD. Closes #1831
2012-11-26 12:48:19 +01:00
Coen Jacobs
fccbb18fb4
Check for empty terms array before current(). Closes #1807
2012-11-23 13:39:01 +01:00
Mike Jolley
64b3af1ffc
Fix notices
2012-11-22 14:59:04 +00:00
Coen Jacobs
554c73f05b
Fixed missing $args attribute in class construction
2012-11-22 15:13:34 +01:00
Mike Jolley
e95509adff
Merge pull request #1803 from andreibarabas/update-shareyourcart
...
Apply coupons only for shared products
2012-11-22 06:10:23 -08:00
Andrei Barabas
fb4dd68a4b
v1.9.6 apply coupons only for the woocommerce product that has been shared
2012-11-22 16:04:29 +02:00
Coen Jacobs
13f6ec9b29
Moved WC_Abstract to abstracts folder
2012-11-22 15:04:15 +01:00
Andrei Barabas
f32b01fdf7
Merge branch 'update-shareyourcart' of https://github.com/andreibarabas/woocommerce into update-shareyourcart
2012-11-22 15:27:15 +02:00
Coen Jacobs
85f55e5ee8
Set the product type to 'variation' if post type is like that
...
Because variation post types do not have a product type
2012-11-22 13:56:52 +01:00
Andrei Barabas
a5908571ad
remove sprintf as it seems there is a conflict between Gettext and sprintf
2012-11-22 14:08:09 +02:00
Coen Jacobs
afc0add816
Default to the arguments array as second param for get_product()
2012-11-22 12:48:16 +01:00
Coen Jacobs
098e2d5d4d
Reinstated post_type to be used as a class parameter
2012-11-22 12:40:42 +01:00
Coen Jacobs
b2a868301c
Simplified version of Product Factory using an args array
2012-11-22 12:37:41 +01:00
Coen Jacobs
93cddbaa16
Abstract main product class, added simple product class
2012-11-22 11:22:18 +01:00
Mike Jolley
069325862a
remove instanceof
2012-11-21 18:39:51 +00:00
Mike Jolley
841624a0b2
Ensure child_ids (transient) is cleared on delete. Closes #1786 .
2012-11-21 18:26:42 +00:00
Mike Jolley
75ca794bba
Separate classes per product type, with new get_product function and hooks to change the classes which get loaded. #1497
2012-11-21 18:07:45 +00:00
Coen Jacobs
cb4f34a177
Introducing woocommerce_date_format() to properly do #1791
2012-11-21 13:28:16 +01:00
Coen Jacobs
3734f7addc
Changed rest of #1791 translatable strings to date_format
2012-11-21 12:16:17 +01:00