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