Mike Jolley
985cef955a
Remove break #5041
2014-03-24 12:07:13 +00:00
Mike Jolley
85e33a71ea
Clear object cache for orders + products #5041
2014-03-24 12:07:10 +00:00
Coen Jacobs
24f47553e2
Updated expiry times for transients
2014-03-20 09:45:43 +00:00
Coen Jacobs
47e8a76488
set_transient calls should have expiration to prevent autoloading
2014-03-19 16:04:03 +00:00
splashingpixels
8b8fe715b6
wc_get_product_ids_on_sale should never return post id of 0 fixes #5002
2014-03-05 10:58:36 +01:00
Mike Jolley
e09c7b6cb5
wc_get_product_ids_on_sale should return array of integers, not strings Closes #4825
2014-02-17 13:35:38 +01:00
Mike Jolley
65ca1753ae
woocommerce_products_will_display improvements #4644
...
- Reduced number of conditionals required.
- Broken the massive category query into a loop which can break before
checking all cats
- Used a transient to further optimise the category check
2014-02-06 09:21:47 +00:00
Mike Jolley
67af66b96c
Add classes for placeholder Closes #4432
2013-12-30 14:22:13 +00:00
Coen Jacobs
61a783886d
Suggested code changes in #4266
2013-12-03 15:03:25 +01:00
Gregory K
f937c36250
Inconsistent return types: TODOs
2013-12-03 14:53:49 +01:00
Mike Jolley
3408965b8a
Product functions
2013-11-25 14:01:38 +00:00
Mike Jolley
3973beae5d
woocommerce_ functions to wc_ - replaced attribute functions
2013-11-25 14:01:37 +00:00
Scott Basgaard
922fa990a5
esc_attr() all the things.
2013-11-20 20:11:59 +01:00
Mike Jolley
98d247eb76
Rather than storing prices themselves, store the ID's of variations during price sync - output prices using variation tax class Closes #4032
2013-11-08 15:53:57 +00:00
Mike Jolley
47df526518
Prepend main WC Session cookie with 'wp' so batcache doesn't cache pages, and set cookie only when cart has contents. #3513
2013-10-17 15:29:53 +01:00
Scott Basgaard
af76647116
[sale_products] has incorrect post_type. Fixes #3934
...
In 2.1, woocommerce_get_product_ids_on_sale() used 'product1' instead of 'product' for post_type.
2013-10-17 12:48:49 +02:00
Mike Jolley
088f565b98
wp_list_pluck #3852
2013-10-01 10:24:29 +01:00
Manos Psychogyiopoulos
2b8da0ecbe
Add woocommerce_delete_product_transients action
2013-09-27 12:00:42 +03:00
Mike Jolley
355dd16962
Removed @coenjacobs helpers and cleaned up main clas
2013-09-12 14:41:02 +01:00
Remi Corson
3499e6fd73
Added woocommerce_get_featured_product_ids() to retrieve featured products IDs within an array
2013-09-04 11:17:13 +02:00
Mike Jolley
3d078397b3
Merge branch 'Re-organise-settings'
...
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
Mike Jolley
7dee6790eb
Check sale price against active price, optimise woocommerce_get_product_ids_on_sale
...
Fixes #3563
2013-08-20 12:52:17 +01:00
Mike Jolley
f0853d5208
Pass text attributes when ordering again Fixes #3422
2013-08-20 12:17:56 +01:00
Mike Jolley
16ed6e4faf
Make sort orders affect other get_terms calls Closes #3439 .
2013-08-19 14:31:52 +01:00
Mike Jolley
d021980c10
Rather than have hooks *everywhere* use a single set stock function in admin and on the frontend Closes #3593
2013-08-13 16:56:09 +01:00
Mike Jolley
b12d5a7377
Optimise sale query. Closes #3264 .
2013-08-13 13:14:32 +01:00
Mike Jolley
57157db9bf
Function refactoring.
2013-08-09 17:11:21 +01:00