Mike Jolley
808b24ba5a
Merge pull request #2348 from krbvroc1/insert_user_fix
...
Check wp_insert_user for WP_Error
2013-02-04 01:01:43 -08:00
Ken Bass
5b80c9460a
Check wp_insert_user for WP_Error
2013-02-03 13:41:47 -05:00
Mike Jolley
9afa9df0b2
class
2013-02-03 12:19:36 +00:00
Mike Jolley
d8396924e3
ZW closes #2328 .
2013-02-01 14:53:44 +00:00
Coen Jacobs
d55b8410f1
Portugal does not require states/provinces. Closes #2327
2013-02-01 11:56:40 +01:00
Mike Jolley
e83d4c3274
Tweak session set and calc totals + add woocommerce_cart_loaded_from_session hook
2013-01-31 14:42:50 +00:00
Mike Jolley
b214e052bc
Comment Closes #2319 .
2013-01-31 11:48:04 +00:00
Mike Jolley
b6fa2e72fc
escape Closes #2314 .
2013-01-31 11:48:04 +00:00
Mike Jolley
fb67343611
Tweak content. Closes #2311
2013-01-29 13:58:57 +00:00
Mike Jolley
1cded83298
Merge pull request #2313 from aj-adl/master
...
#2311 fix for "Exclude sale items from coupons"
2013-01-29 05:31:35 -08:00
aj-adl
a766771740
removed unnecessary line
2013-01-29 05:23:52 -08:00
Alex Bishop
793a143432
#2311 Fix for 'Exclude sale items from coupon'
...
included a checkbox on the coupon writepanel for the option
Had issues originally, worked out the in_array() needed to be a strict
type as woocommerce_get_product_ids_on_sale() has a '0' string in it.
Tested using 3.5.1 + git clone of WooCommerce
2013-01-29 23:47:52 +10:30
Alex Bishop
f78d3a0e13
Revert "Added 'Exclude Sale Products' option to coupons"
...
This reverts commit b763c7449a
.
2013-01-29 23:41:58 +10:30
Alex Bishop
64641a6239
Revert "idiotic missed semicolon"
...
This reverts commit 4c1f80b23d
.
2013-01-29 23:41:58 +10:30
Alex Bishop
75187073a9
Revert "ditto"
...
This reverts commit 0818bb055e
.
2013-01-29 23:41:57 +10:30
Alex Bishop
b391e66cf7
Revert "Updated everything so it actually works rather than fails hard"
...
This reverts commit 2379a3a1bb
.
2013-01-29 23:41:57 +10:30
Alex Bishop
13de8d9203
Revert "Reset, please ignore"
...
This reverts commit 3e59e64da3
.
2013-01-29 23:41:57 +10:30
Alex Bishop
3e59e64da3
Reset, please ignore
...
Long Story.
2013-01-29 23:41:00 +10:30
Mike Jolley
4c7812ebb2
Shortcode fix Closes #2299 .
2013-01-29 13:01:09 +00:00
Alex Bishop
2379a3a1bb
Updated everything so it actually works rather than fails hard
...
I messed up badly on the original with inheritance of variables, and
after a lot of issues realised that strict matching was necessary due
to the '0' string in woocommerce_get_products_on_sale()
Not hard to tell I am new to php.
Regardless this now functions as intended, stopping discount from being
applied to products with active sale prices or carts with items on sale
inside them.
2013-01-29 22:55:03 +10:30
Alex Bishop
0818bb055e
ditto
2013-01-29 14:06:08 +10:30
Alex Bishop
4c1f80b23d
idiotic missed semicolon
...
I cannot brain today, I has the dumb.
2013-01-29 14:04:31 +10:30
Alex Bishop
b763c7449a
Added 'Exclude Sale Products' option to coupons
...
Added exclude sale products functionality based of the 'exclude product
ids' functionality in wc-coupon/wc-cart.
Compares product ID's in cart vs ID's in the array
'woocommerce_get_product_ids_on_sale'
2013-01-29 13:54:54 +10:30
Mike Jolley
23952237da
Merge pull request #2292 from GeertDD/address_fields_filter
...
Also pass on the country to the address fields filters
2013-01-27 11:01:17 -08:00
Mike Jolley
0c523d30b1
@coenjacobs See this. Custom ajax handler and cart refresh per page load to get around cache issues. Custom handler foes *feel* a little wrong but since it doesn't load admin, it loads 100% faster.
2013-01-27 18:55:30 +00:00
Mike Jolley
4f0d7f55c6
Cleaned up session classes
2013-01-27 18:55:29 +00:00
Geert De Deckere
4a33b00c15
In Belgium and the Netherlands we have provinces
2013-01-27 12:26:26 +01:00
Geert De Deckere
5233900283
Also pass on the country to the address fields filters
2013-01-27 12:22:06 +01:00
Mike Jolley
b19985060c
Only save session if needed @coenjacobs
2013-01-23 12:27:19 +00:00
Lee Willis
57af52f43d
Populate $current_user when users create an account during checkout
2013-01-22 21:30:14 +00:00
Mike Jolley
9e72c6a879
Pevent error if no fragments are returned
2013-01-22 14:30:21 +00:00
Mike Jolley
34966373ad
When editing checkout fields, only refresh totals if required address fields are filled.
2013-01-20 15:36:25 +00:00
Mike Jolley
128b333578
Fix checkout field visibility after switching country
2013-01-20 13:10:36 +00:00
Mike Jolley
88d3057f93
S Korea has no states. Closes #2257 .
2013-01-20 12:50:39 +00:00
Mike Jolley
2a462edc33
Support desc_tip in settings api Closes #2251 .
2013-01-18 12:10:25 +00:00
Mike Jolley
ad1eb92b4c
Clean up variation display in admin. Closes #2241 .
2013-01-17 11:23:11 +00:00
Mike Jolley
fc0179e914
Use meta to prevent double tracking Closes #2248
2013-01-17 10:25:57 +00:00
Geert De Deckere
e806d4c193
Created the `woocommerce_get_product_ids_on_sale()` function
2013-01-16 20:04:01 +01:00
Mike Jolley
5c878f62b3
Variations should not inherit prices, and variations with no price set should be hidden. Closes #2232 .
...
Also improves price display for empty/free variations.
2013-01-16 12:10:51 +00:00
Mike Jolley
d401cbd62d
Tweaks to session handler
2013-01-16 11:05:50 +00:00
Mike Jolley
314ba3e2f6
Hooks for individual use overriding on the frontend
2013-01-16 10:42:49 +00:00
Coen Jacobs
a0b3120438
Session cleanup should be part of implementation
2013-01-16 10:53:08 +01:00
Mike Jolley
9da6eb690a
Revised session handler based with some code from Eric Manns wp_session class idea.
...
The (long term) plan will be to use that when stable and in WP core.
Until then, our wc_session_ implementation will work.
This is similar to what we had, with the exeption of not using
transients to ensure the data persists.
@coenjacobs please view this.
2013-01-15 19:51:19 +00:00
Mike Jolley
24ae660405
fix session expirey and clear old expired sessions
2013-01-15 11:37:20 +00:00
Mike Jolley
815990f329
Fix category order + nesting Closes #2226 .
2013-01-14 11:56:54 +00:00
Mike Jolley
192a8c5421
star ratings without images.
2013-01-14 10:51:06 +00:00
Mike Jolley
789361102e
belau
2013-01-13 13:14:58 +00:00
Mike Jolley
52ecd654b7
Use a session cookie for recently viewed
2013-01-12 13:03:38 +00:00
Mike Jolley
c2d45f49bd
GET for price instead of sessions
2013-01-12 13:03:19 +00:00
Mike Jolley
4a650b21dd
Only set transient when needed
2013-01-12 13:03:00 +00:00
Mike Jolley
8798ade9ca
Only set customer data when changed from default
2013-01-12 13:02:47 +00:00
Mike Jolley
261f413405
Ratings in loops for sort by rating
2013-01-12 10:53:24 +00:00
Mike Jolley
0caca2d401
GET vars for sorting (to work better with cache)
2013-01-12 10:53:08 +00:00
Mike Jolley
8d8b3e3d30
get_post_data from 1.6
2013-01-11 18:30:09 +00:00
James Koster
2e223d8509
Missing $woocommerce #2182
2013-01-10 16:17:25 +00:00
Mike Jolley
2a71d08d44
Wrong email in paypal #2184
2013-01-10 16:03:56 +00:00
Mike Jolley
1766f07c19
Meta_queries Closes #2182 .
2013-01-10 16:02:04 +00:00
Mike Jolley
a7ca2c8717
Fix email settings and put back notification recipient. Closes #2184 .
2013-01-10 15:17:37 +00:00
Mike Jolley
f239a05944
Also suppress errors #2201
2013-01-10 14:56:38 +00:00
Mike Jolley
07a126de3e
check is_resource Closes #2201 .
2013-01-10 14:56:13 +00:00
Coen Jacobs
24b2c47077
Support for non-product post types in WC_Product_Factory #2199
2013-01-10 12:46:39 +01:00
gw0 [http://gw.tnode.com/]
7ff704eabf
Corrected bug if a product variation does not exist anymore.
2013-01-07 20:33:44 +01:00
Mike Jolley
b1e4847e52
$current_user->ID
2013-01-07 17:26:02 +00:00
Mike Jolley
b5e10315aa
Load gateways during checkout + in settings. #2164
2013-01-07 17:23:09 +00:00
Mike Jolley
6a635e6041
Tax class settings fixes Closes #2167 .
2013-01-07 16:35:24 +00:00
Mike Jolley
0786e7f9fc
rejig the order of loading address. Closes #2161 .
2013-01-07 15:58:19 +00:00
Mike Jolley
96721f00d2
kses
2013-01-05 15:21:19 +00:00
WP Lab
1b3b92d1fe
Fixed fatal error in paypal gateway
...
This line should contain use $response instead of the not existing $result.
The error only occurs when debugging is enabled and the communication with Paypal API failed for some reason. But in this case, it results in a fatal php error: Call to a member function get_error_message() on a non-object
2013-01-04 22:51:54 +01:00
Mike Jolley
b6387a152e
New checkout field layout Closes #2120 .
2013-01-03 12:37:07 +00:00
Geert De Deckere
e122c78cab
A few more CSS class updates #2086
2013-01-03 13:21:26 +01:00
Mike Jolley
68af53228a
Fix options. Closes #2116 .
2013-01-03 10:38:59 +00:00
Mike Jolley
43b0c2345b
Merge pull request #2114 from krbvroc1/optional_sort
...
Add 'woocommerce_sort_countries' filter
2013-01-03 02:23:14 -08:00
Ken Bass
9456c80c73
Remove filter after loop
2013-01-02 17:03:14 -05:00
Ken Bass
70d9e6b505
When performing search include post_excerpt
2013-01-02 15:52:04 -05:00
Ken Bass
fb5d1a923f
Fix tabs/whitespace
2013-01-02 15:52:04 -05:00
Ken Bass
835c38fa5b
Add 'woocommerce_sort_countries' filter
2013-01-02 14:32:43 -05:00
Ken Bass
e1ad11e2f7
Fix spelling errors in action/hook names
2013-01-02 11:34:23 -05:00
Mike Jolley
8c821a86ab
Stop infinite loop bug #1765
2013-01-02 13:38:33 +00:00
Mike Jolley
7bd2740ba2
Some code cleanup and comments #1765
2013-01-02 12:59:41 +00:00
James Koster
1622b7b2b7
consistent title on rating
2013-01-02 12:06:15 +00:00
Coen Jacobs
843614f9d0
Fixed array_map issue in settings. Closes #2106 #2104
2013-01-02 12:32:26 +01:00
Mike Jolley
5486ebb737
Shortcodes/Widgets -> classes, autoload classes to reduce memory, only load gateways when needed, change gateway admin to match shipping #1765
2012-12-31 18:25:09 +00:00
Mike Jolley
144bd5c054
Settings API - get_option to load setting value or get default (to prevent notices and remove the need to load form fields during construct). #1765
2012-12-31 12:07:48 +00:00
Mike Jolley
4c7ea6a016
Load admin mo, and updated GB translation.
2012-12-30 13:48:27 +00:00
Mike Jolley
00499e7574
wp_insert_user Closes #2069 .
2012-12-28 18:45:06 +00:00
Mike Jolley
5507e8453f
Remove depricated jQuery Closes #2039
2012-12-28 13:02:12 +00:00
Mike Jolley
51ab134142
Added thai states ( Closes #2064 ), added files per state which get loaded only when the country is allowed, and hidden the informal setting unless needed for the lang.
...
Also moved languages and added an i18n folder for this kind of stuff.
2012-12-28 10:54:09 +00:00
Mike Jolley
d89b2aa66f
Set_stock for product class Closes #2042 .
2012-12-28 09:59:20 +00:00
Mike Jolley
f464957639
Set the variables and renamed to prevent confusion with the session naming. Closes #2055 .
2012-12-27 19:24:37 +00:00
Mike Jolley
087c4cd983
Notices. Closes #2053 .
2012-12-27 18:46:22 +00:00
Jesús Ángel del Pozo Domínguez
425cf474f8
Yoda conditions for debug tests:
...
Before:
if ( $this->debug == 'yes' )
After:
if ( 'yes' == $this->debug )
2012-12-27 11:44:58 +01:00
Jesús Ángel del Pozo Domínguez
47db520256
Edited code in last commit to obey WP coding standards.
...
Fixed wrong HTML code generated when the gateway isn't valid in the
user's country. The div tag couldn't be placed inside table tag:
<table class="form-table">
<div class="inline error"><p> ... </p></div>
</table>
2012-12-27 11:20:04 +01:00
Jesús Ángel del Pozo Domínguez
404ccaad63
Check for spoofed IPN response
2012-12-26 22:45:53 +01:00
Mike Jolley
29660779eb
Merge pull request #2040 from andreibarabas/master
...
Remove the $_SESSION #2022
2012-12-23 09:01:01 -08:00
Andrei Barabas
6dbdb872d9
remove the $_SESSION usage
2012-12-23 17:16:04 +02:00
Mike Jolley
e0a67b3387
rounding fixes for #2020
2012-12-20 15:10:27 +00:00
Mike Jolley
9ab2b8b4c7
tweak queries to support all registered taxonomies of products
2012-12-20 13:57:38 +00:00
Mike Jolley
927693351a
sync prices when empty
2012-12-20 12:54:02 +00:00
Mike Jolley
d877086ffe
get price, not ex price
2012-12-20 12:44:11 +00:00
Mike Jolley
c7fd3e85a6
More class cleanup
2012-12-20 11:54:38 +00:00
Mike Jolley
6ee68e063f
fix coupon and meta in product class
2012-12-20 11:30:27 +00:00
Mike Jolley
e7e12714c1
Tweak style and function names for image handling.
2012-12-20 10:53:34 +00:00
Mike Jolley
c8852bcf40
Revised, roduct gallery panel, images stored in meta = more flexibility.
2012-12-20 01:13:06 +00:00
Mike Jolley
41f573a71f
Magic methods, avoid loading all meta on construct
2012-12-19 23:04:25 +00:00
Mike Jolley
f972501dfa
get_post_meta instead of get_post_custom - cut out the middleman. #1765
2012-12-19 21:01:15 +00:00
Mike Jolley
0b7750e55a
Attribute taxonomy transiant. #1765
2012-12-19 20:42:25 +00:00
Mike Jolley
10dfba9e74
Tax_display can be passed to the display functions. Lets you choose to show the row inc or ex or taxes. #2020
2012-12-19 19:37:13 +00:00
Mike Jolley
83377af6b4
Finnish translation Closes #2021 .
2012-12-19 18:43:35 +00:00
Coen Jacobs
944ea5df3d
Use returned coupon error message in cart. Closes #1994
2012-12-19 15:57:46 +01:00
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
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
Mike Jolley
4c0f805edf
More input types and settings API support. Closes #1322 .
2012-11-20 17:32:50 +00:00
Mike Jolley
8b7b297b8e
3.5 checks + 2012 tweaks. Closes #1788 .
2012-11-20 13:03:45 +00:00
Mike Jolley
ad78c3ccc0
Flat rate shipping - if no rules match, and no default is set, don't return a rate. Closes #1695 .
2012-11-19 14:48:44 +00:00
Mike Jolley
4720628a71
Hooks galore for integers vs floats. Closes #1113 .
2012-11-19 14:05:06 +00:00
Mike Jolley
7d017ca25c
Merge pull request #1777 from andreibarabas/update-shareyourcart
...
increment the version to 1.9.5
2012-11-16 10:13:53 -08:00
Mike Jolley
5d91e9ad42
Shareyourcart tweaks. Closes #1774 .
2012-11-16 18:13:23 +00:00
Andrei Barabas
e9d3772484
increment the version to 1.9.5
2012-11-16 16:02:13 +02:00
Mike Jolley
ffed61e35e
Merge pull request #1774 from andreibarabas/master
...
Update ShareYourCart Integration
2012-11-16 05:54:14 -08:00
Mike Jolley
2d0909d28b
Update weights/dimensions for variations if they differ. Closes #1629 .
2012-11-16 13:50:15 +00:00
Andrei Barabas
b7acbc2d2a
Updated the ShareYourCart Integration such that it uses the latest SDK but still has the layout style of WooCommerce.
...
Analytics has been disabled
2012-11-16 13:55:15 +02:00
Mike Jolley
554634dd01
1 left in stock triggers is_sold_individually(). Closes #1701 .
2012-11-15 15:28:08 +00:00
Mike Jolley
d54bdb6609
Auto apply. #1641 .
2012-11-15 15:12:42 +00:00
Mike Jolley
a232f21575
Shipping tax class options. Closes #1625 .
2012-11-15 14:01:16 +00:00
Mike Jolley
25077e6b20
Add disabled to settings API. Closes #1761 .
2012-11-15 11:46:18 +00:00
Mike Jolley
d804588334
Fix emails in gmail + added a function to insert inline styles. Closes #1710 .
2012-11-14 17:44:58 +00:00
Mike Jolley
31e59aa6c0
Missing countries. Closes #1722 .
2012-11-14 12:28:01 +00:00
Mike Jolley
514a313f0a
Isset check Closes #1750 .
2012-11-13 23:40:13 +00:00
Mike Jolley
58778fa4fe
Store taxes on checkout
2012-11-13 15:28:39 +00:00
Mike Jolley
7e5d2ac174
Calc totals/tax rows rework
2012-11-13 14:54:34 +00:00
Mike Jolley
98ddb3bbc5
Display + storage
2012-11-12 17:15:54 +00:00
Mike Jolley
f4a931f7cc
Tweak panel layout and simplify get_items
2012-11-12 16:08:05 +00:00
Mike Jolley
6ecef0139c
Calc totals for fees.
2012-11-12 14:34:10 +00:00
Mike Jolley
a1ad595822
Add fees
2012-11-12 13:41:54 +00:00
Mike Jolley
8e74d043c1
template
2012-11-09 21:17:48 +00:00
Mike Jolley
2c26f06e55
Fees api started, and playing with line items
2012-11-09 21:15:15 +00:00
Mike Jolley
fde3ba05bd
Made armed forces 'states' under the US rather than in their own 'country'. Closes #1605 .
2012-11-09 11:54:11 +00:00
Mike Jolley
764b34a938
Case insensitive coupons. Closes #1633 .
2012-11-08 16:57:59 +00:00
Coen Jacobs
3baaf6029a
Removed all deprecated classes and functions except for 1.6.x template files and functions
2012-11-08 16:27:47 +01:00
Mike Jolley
30410ff775
Dont track variable/grouped. Closes #1703 .
2012-11-08 12:11:46 +00:00
Mike Jolley
92d61e5627
Fix grouped product issues. Closes #1693 .
2012-11-08 11:15:52 +00:00
Mike Jolley
990fda440d
fix guest cookie.
2012-11-08 10:22:39 +00:00
Mike Jolley
9bb52f8bd4
Work around rounding issue
2012-11-07 21:07:03 +00:00
Mike Jolley
1826e1632c
Checkout line item clear
2012-11-07 21:06:52 +00:00
Mike Jolley
ea3d1bb378
Filters for rate manipulation
2012-11-07 16:54:38 +00:00
Mike Jolley
58d60c5480
_cookie_expiration filter. Closes #1617 .
2012-11-06 16:43:41 +00:00
Mike Jolley
133d93c592
Merge pull request #1673 from helgatheviking/feature/individual_product
...
allow any product to be sold individually
2012-11-06 06:01:59 -08:00
Mike Jolley
4124d0236c
Class
2012-11-06 12:22:28 +00:00
Mike Jolley
54203455ba
Set message. Closes #1681 .
2012-11-06 11:31:31 +00:00
kathy
5f94c847b8
add woocommerce_add_order_item_meta hook
2012-10-31 12:09:22 -05:00
kathy
73175288c5
add write panel check box to allow any product to be sold individually
2012-10-31 12:02:32 -05:00
Mike Jolley
aef47868fa
Merge branch 'Line-items-data-tweak'
2012-10-24 17:53:44 +01:00
Mike Jolley
df22e53412
Supress fclose errors. Closes #1631 .
2012-10-24 11:28:45 +01:00
Mike Jolley
549880b8eb
New structure for line items (this one uses meta more)
2012-10-23 17:41:42 +01:00
Mike Jolley
4b68bf78a3
PP clean
2012-10-20 15:40:27 +01:00
Mike Jolley
c97aeaf533
use wp api for meta, and done the checkout
2012-10-19 18:59:17 +01:00
Mike Jolley
a11804a61f
add/remove/save meta
2012-10-18 18:56:28 +01:00
Mike Jolley
657c43a620
Order line work.
2012-10-18 14:47:21 +01:00
Coen Jacobs
9ecb20f259
[3.2.5] SQL injection #1575
2012-10-18 15:37:04 +02:00
Coen Jacobs
9769b8851f
[3.2.4] Sanitization #1575
2012-10-18 12:33:52 +02:00
Max Rice
7d445a9822
update woocommerce_product_discount_after_tax_* hook
2012-10-17 11:50:36 -03:00
Coen Jacobs
9bca393e79
[3.2.3] Classes XSS #1575
2012-10-17 14:46:38 +02:00
Mike Jolley
38ccc92f47
[3.1.1] Append hash to logs and restrict directory listings. #1575 .
2012-10-17 13:28:41 +01:00
Mike Jolley
36824b0849
woocommerce_order_item_needs_processing. Closes #1592 .
2012-10-17 12:34:05 +01:00
Mike Jolley
a3bf44b073
[3.2.4] Sanitize #1575
2012-10-16 16:46:41 +01:00
Mike Jolley
15eb48242a
[3.2.3] XSS #1575
2012-10-16 16:46:41 +01:00
Mike Jolley
8c3ad31c07
Localisation spacing.
2012-10-16 10:45:33 +01:00
Coen Jacobs
943091d2ca
[3.1.4] Prevent direct access to files #1575
2012-10-15 12:57:58 +02:00
Mike Jolley
596c408c27
Pagination + sorting tweaks, new active filters widget, sort both directions for price, fix for #coenfail. Closes #771 .
2012-10-14 13:06:41 +01:00
Mike Jolley
ee0ff453d0
singular/plural Closes #1479 .
2012-10-12 19:48:49 +01:00
Mike Jolley
2b0c8bdbda
Exclude up-sells from related products. Closes #1555 .
2012-10-12 18:44:23 +01:00
Mike Jolley
68749697b1
order actions
2012-10-12 15:30:20 +01:00
Coen Jacobs
98e9774653
Merge pull request #1597 from woothemes/resend-order-emails
...
Resend order emails, closes #1562
2012-10-12 06:56:49 -07:00
Coen Jacobs
bfd041a197
Have Customer Invoice email accept order id as param too
2012-10-12 15:37:33 +02:00
Mike Jolley
e12c8450ce
Merge pull request #1526 from foxrunsoftware/master
...
PayPal Standard Payment Gateway Custom Order Number Support
2012-10-12 05:25:09 -07:00
Mike Jolley
34f230a0d0
Tax display tweaks.
2012-10-12 12:57:08 +01:00
Coen Jacobs
d3618ff86a
Prevent undefined $return variable. Closes #1588
2012-10-12 11:06:32 +02:00
Mike Jolley
3367403772
tweaks to password
2012-10-10 10:32:22 +01:00
Mike Jolley
07c9537fbb
Merge pull request #1568 from maxrice/lost-password
...
added lost password shortcode / email notification
2012-10-09 22:09:25 -07:00
Mike Jolley
79324412d4
sku tweak. Closes #1479 .
2012-10-08 13:54:31 +01:00
Mike Jolley
2d15a8aaac
Schedule sale for variations. #1064 .
2012-10-08 12:51:00 +01:00
Max Rice
2faa4d651b
added lost password shortcode / email notification
...
I think the current process for a customer to reset their password is
jarring, especially if the shop hasn't styled the wordpress login form
to match their branding. The form process is mainly copied from the
same process in wp-login.php and fires the same actions to maintain
compatibility.
2012-10-04 14:51:07 -04:00
Mike Jolley
7236192711
Work on the product images panel. Closes #1504 .
2012-10-04 18:09:18 +01:00
Mike Jolley
c588c761e0
Local Pickup option needs associated state sales tax. Closes #1491 .
2012-10-01 10:45:07 +01:00
Mike Jolley
3e8a3f8b60
Rate label hook. Closes #1534 .
2012-09-30 19:43:11 +01:00
Mike Jolley
93849b89e7
Merge pull request #1530 from scottbasgaard/master
...
Update Product Image Title w/ Variation Image for Lightbox
2012-09-29 12:16:11 -07:00
Scott Basgaard
add3f06819
Cleaned up States in WC_Countries
...
Brazil and New Zealand were not in alphabetical order. Also was a duplicate in Brazil for 'RS' => __('Rio Grande do Sul', 'woocommerce').
2012-09-25 15:55:37 +02:00
Brent Shepherd
f2150e7c7c
Filter WC_Cart->needs_payment() value
2012-09-24 12:54:41 +10:00
Mike Jolley
cb2b935788
Tax expansion to allow city taxes, #94
2012-09-23 17:16:39 +01:00
Justin Stern
56c576d89b
PayPal Standard Payment Gateway Custom Order Number Compatibility
...
Adds support for custom order numbers to the PayPal standard payment
gateway
2012-09-22 23:03:40 -04:00
Mike Jolley
5fcfe948d7
Handle add to cart differently, Closes #1517 and tweak messages Closes #1498 .
2012-09-21 21:11:57 +01:00
Mike Jolley
3cc6d683be
Check for cookie first. Closes #1518 .
2012-09-21 16:55:09 +01:00
Mike Jolley
1b4130bc56
new email interface + plain text versions
2012-09-17 11:36:30 +01:00
Coen Jacobs
0833e00a63
Set session methods as default for all implementing classes
2012-09-12 16:21:13 +02:00
Coen Jacobs
b392011a7b
Offer way to override the session class
...
* Added abstract class to implement
* Implementing class is default
* Filter to replace the instance of the default class
2012-09-12 15:45:47 +02:00
Mike Jolley
e9f0a8612f
Made paypal use wc-api for IPN
2012-09-12 13:36:34 +01:00