Mike Jolley
fa91ef80d4
Cache helper sets DONOTCACHEPAGE during init, rather than in each shortcode, and the W3 Issue with database cached appeared to be because the add_option had autoload 'no'. Removing autoload no was the only workaround I could find.
...
Now works with all caching enabled in W3 Total cache. Closes #2862 .
cc @coenjacobs
2013-04-05 22:24:56 +01:00
Mike Jolley
425002cb5c
Typo
2013-04-04 17:22:06 +01:00
Mike Jolley
46139143e2
Revert "Don't need to do this for all options. #2866."
...
This reverts commit 07917223fd
.
2013-04-04 17:21:03 +01:00
Mike Jolley
07917223fd
Don't need to do this for all options. #2866 .
2013-04-04 17:19:31 +01:00
Reinoud van Santen
b90bd6a1e0
Issue #2865 Localize email settings
...
Change the behaviour of the get_option function so that it attempts to
localize the value for setting that is returned by the parent's
get_option by using gettext.
2013-04-03 19:36:48 +02:00
Mike Jolley
6079c8f0e3
Settings API empty value only used if set. In turn fixes blank values in flat rate shipping.
2013-03-28 15:27:14 +00:00
Mike Jolley
042af6051f
Recent reviews show actual review stars, and allowed get_rating_html() to be passed a rating. Also removed unused $location var. Closes #2838 .
2013-03-28 13:58:01 +00:00
Max Rice
3ce99ba71e
Fix WC_Product::set_stock_status() to correctly set status
2013-03-23 14:36:23 -04:00
Mike Jolley
75a874ea7a
Decode Closes #2728 .
2013-03-18 13:37:07 +00:00
Mike Jolley
9f82986109
Possible star rating fix
2013-03-15 10:10:00 +00:00
Mike Jolley
dc6878cc2f
Flat rate UI tweaks
2013-03-13 15:43:49 +00:00
Coen Jacobs
c119f98734
Fixed adjust price function, thanks @lucasstark for reporting
2013-03-13 16:09:04 +01:00
Mike Jolley
5393fc7ddb
Santize custom attributes. #2587
2013-03-07 19:34:29 +00:00
Pascal Borreli
ae7899c67b
Fixed typos
2013-03-03 17:07:31 +00:00
Mike Jolley
b8a92318e0
filter is_enabled boolean Closes #2535 .
2013-02-27 10:10:40 +00:00
Neil Pie
b6cc12b5e6
Update classes/abstracts/abstract-wc-email.php
...
whitespace
2013-02-21 09:31:45 +00:00
Neil Pie
633f353245
conditional for WC_Email template base in abstract constructor
2013-02-21 09:23:32 +00:00
Neil Pie
9b984bac5f
sloppy whitespace
2013-02-21 00:59:21 +00:00
Neil Pie
11835b1004
Brings correct template path format into line with WC generate file paths
2013-02-21 00:57:46 +00:00
Neil Pie
11782d4f2b
Fixes issue with displaying email template path in admin
2013-02-21 00:39:38 +00:00
Mike Jolley
f5f01c497e
Changes for API Docs
2013-02-20 17:14:51 +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
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
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
b214e052bc
Comment Closes #2319 .
2013-01-31 11:48:04 +00:00
Mike Jolley
4f0d7f55c6
Cleaned up session classes
2013-01-27 18:55:29 +00:00
Mike Jolley
b19985060c
Only save session if needed @coenjacobs
2013-01-23 12:27:19 +00:00
Mike Jolley
2a462edc33
Support desc_tip in settings api Closes #2251 .
2013-01-18 12:10:25 +00: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
192a8c5421
star ratings without images.
2013-01-14 10:51:06 +00:00
Mike Jolley
261f413405
Ratings in loops for sort by rating
2013-01-12 10:53:24 +00:00
Mike Jolley
8d8b3e3d30
get_post_data from 1.6
2013-01-11 18:30:09 +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
96721f00d2
kses
2013-01-05 15:21:19 +00:00
Mike Jolley
8c821a86ab
Stop infinite loop bug #1765
2013-01-02 13:38:33 +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
d89b2aa66f
Set_stock for product class Closes #2042 .
2012-12-28 09:59:20 +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
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
Mike Jolley
7a0c734188
Fix prepares. Closes #1973 .
2012-12-12 10:28:02 +00:00
Mike Jolley
8f0fce893e
Fix download links and post_status checks. Closes #1903 .
2012-12-06 15:39:59 +00: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
3c66ddae42
Class tweaks, need more testing. Closes #1874 .
2012-11-29 16:48:40 +00:00