Coen Jacobs
a09ebc9cca
Merge branch 'helpers-refactor' into core-class-refactor
...
Conflicts:
classes/class-wc-shortcodes.php
classes/shortcodes/class-wc-shortcode-change-password.php
classes/shortcodes/class-wc-shortcode-view-order.php
templates/myaccount/form-change-password.php
templates/myaccount/form-login.php
templates/order/order-details.php
woocommerce-functions.php
2013-06-06 13:55:36 +02:00
Coen Jacobs
64c75547f3
Abstracted transient helper to class #3282
2013-06-05 13:39:27 +02:00
Leon Rowland
f238fe7066
Fix for WooCommerce2 + where get_product cant return an instance of WC_Product and the property to hold the ID is in lowercase. This causes the property to not correct set.
...
When the property isn't correct set it breaks the magic method __get ( which in turn stops the correct return values of calls to SKU or any other meta. This includes updating stock ).
2013-06-03 14:18:48 +02:00
Mike Jolley
cde4947acf
Remember which attributes get registered and added taxonomy_is_product_attribute() function
...
Closes #3149 .
2013-06-03 11:04:21 +01:00
Coen Jacobs
8c7277bf9c
Fixed is_on_sale function for products without prices. Closes #3189
2013-05-22 13:18:28 +02:00
Coen Jacobs
36767d8f22
Merge pull request #3131 from kloon/master
...
Fix 0 sale price not returning true in is_on_sale
2013-05-08 04:50:07 -07:00
Mike Jolley
59db08d70b
Better backwards compatibility with _woocommerce_exclude_image
...
@coenjacobs
2013-05-08 12:29:21 +01:00
Gerhard
97ad6e0cda
Fix for 0 sale price not returning true in is_on_sale
2013-05-08 12:59:48 +02:00
Coen Jacobs
656c897448
Merge pull request #2828 from thenbrent/formatted_product_name
...
Encapsulate formatted product name
2013-05-02 08:26:41 -07:00
Mike Jolley
77aa394093
Prevent empty meta queries by filtering. Closes #2978 .
2013-04-17 16:29:43 +01:00
Mike Jolley
003dab8525
Better workaround for #2975
2013-04-16 15:39:07 +01:00
Mike Jolley
c211603fc9
Fix saving options for attribute taxonomies containing special chars. Closes #2975 .
2013-04-16 14:41:23 +01:00
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
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
Brent Shepherd
854a9eccad
Update phpdoc
2013-03-27 18:06:59 +10:00
Brent Shepherd
022d0a6480
Add WC_Product::get_formatted_name()
...
For #2788
2013-03-27 18:00:28 +10:00
Max Rice
3ce99ba71e
Fix WC_Product::set_stock_status() to correctly set status
2013-03-23 14:36:23 -04:00
Mike Jolley
9f82986109
Possible star rating fix
2013-03-15 10:10:00 +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
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
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
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
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
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
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
b1ec4b289a
Nuked whitespace. Closes #1846 .
2012-11-27 16:22:47 +00: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
Coen Jacobs
13f6ec9b29
Moved WC_Abstract to abstracts folder
2012-11-22 15:04:15 +01:00