Mike Jolley
a0393f3a52
Resume failed orders
2013-02-14 15:37:05 +00:00
Mike Jolley
66666f6bd8
API endpoints - some gateways don't like query strings
2013-02-13 12:38:19 +00:00
Mike Jolley
60e3628076
Hook on order creation. Closes #2438 .
2013-02-13 09:38:54 +00:00
Mike Jolley
30e6beb861
Fix buttons and externals. Closes #2437 .
2013-02-13 09:29:00 +00:00
Mike Jolley
0b46347efc
Prevent notices.
2013-02-12 13:52:50 +00:00
Mike Jolley
0efa9d1792
#2430 get_called_class with product type fallback for 5.2
2013-02-12 12:15:49 +00:00
Mike Jolley
29eb289c3b
Tweak messages #2430
2013-02-12 11:49:26 +00:00
Mike Jolley
8bc3a0934a
Merge pull request #2432 from thenbrent/deprecated-paypal-class
...
Add deprecated WC_Paypal class
2013-02-12 02:55:15 -08:00
Mike Jolley
3a734e230e
Merge pull request #2431 from thenbrent/deprecated-find-rate-args
...
Deprecate old params for WC_Tax->find_rates()
2013-02-12 02:55:02 -08:00
Andrew Benbow
e7c0834b90
Update classes/widgets/class-wc-widget-product-categories.php
...
Title correction
2013-02-12 10:51:42 +00:00
Brent Shepherd
24081effd6
Deprecate old params for WC_Tax->find_rates()
...
Instead of quietly ignoring params passed in the WC 1.x order for
WC_Tax->find_rates(), check for their existance, throw a deprecated
notice & massage them into the WC 2.0 structure.
2013-02-12 17:00:10 +10:00
Brent Shepherd
1c4c5d8da4
Add deprecated WC_Paypal class
...
WC_Paypal was removed in 2.0 in favour of WC_Gateway_Paypal, this
patch deprecates the original WC_Paypal class & returns an instance
of the WC_Gateway_Paypal object instead of potentially causing a
fatal error.
2013-02-12 16:46:56 +10:00
Mike Jolley
6a24222dfb
Settings should be an array
2013-02-11 15:07:51 +00:00
Mike Jolley
b67492fe68
Hide thumbnails when empty. Closes #2409 .
2013-02-11 14:17:57 +00:00
Mike Jolley
bc51d5652b
Put back coupon option.
2013-02-11 13:53:24 +00:00
Mike Jolley
7a84ddd6c1
Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist
2013-02-10 23:02:52 +00:00
Mike Jolley
64f8726d80
Extra hooks for thanks page (retrieving the order id)
2013-02-10 16:06:38 +00:00
Mike Jolley
45ea0fc852
Change template name
2013-02-10 16:05:40 +00:00
Mike Jolley
f70162177a
Don't count twice Closes #2384 .
2013-02-08 17:58:54 +00:00
Mike Jolley
a7fdba79fb
Workaround for pad_counts. Closes #2363 .
2013-02-08 16:30:45 +00:00
Mike Jolley
61587d925c
woocommerce_paypal_supported_currencies hook #2372
2013-02-08 15:18:59 +00:00
Mike Jolley
f7dd3eea65
Strings. Closes #2385 .
2013-02-08 15:11:10 +00:00
Mike Jolley
d09bc3ad46
Fix tax display
2013-02-06 18:07:52 +00:00
Coen Jacobs
70039f7018
Indonesia has provinces instead of states. Closes #2367
2013-02-05 22:55:21 +01:00
Mike Jolley
62a2575d2b
tax class
2013-02-05 16:43:28 +00:00
Mike Jolley
8f43d9cf8b
If a product type does not exist, default to SIMPLE Closes #2360 .
2013-02-05 11:28:28 +00:00
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