Commit Graph

269 Commits

Author SHA1 Message Date
Mike Jolley 06f82686eb [2.2] and test, use term_taxonomy_id for transient names 2014-09-24 14:22:02 +01:00
shivapoudel fedb4dae7c Absolute path and Indentation fix for includes/widgets/*.php :) 2014-09-21 01:22:45 +05:45
Florian Ludwig 83ed3aa534 Fixed jQuery call 2014-08-22 23:01:25 +02:00
Florian Ludwig f6294d24be Rewrote old JS to jQuery and allow usage of multiple product categories widgets on one page 2014-08-22 21:39:10 +02:00
Barry Kooij 94365791af Changed all use of get_product to wc_get_product 2014-08-19 12:09:29 +02:00
Mike Jolley 89d7d2869f Revert "Merge pull request #6023 from krautnerds/master"
This reverts commit 9deee73b72, reversing
changes made to 1965c2b786.
2014-08-15 13:47:37 +01:00
Florian Ludwig 26d40f2336 Class instead of id for product categories widget
Also rewrote plain old JS to jQuery
2014-08-13 22:16:18 +02:00
Florian Ludwig ec41270587 Re-add all filters of widget on change of category
At the moment all filters that were applied via the layered nav filter
widget are gone on changing the category with the product category
filter
2014-08-13 17:13:58 +02:00
Florian Ludwig f2f56ebb4a Removed lines, were already deleted in upstream 2014-08-12 19:04:11 +02:00
Florian Ludwig b8c2912138 More general approach for widget dropdown_layered_nav 2014-08-12 18:56:37 +02:00
Mike Jolley a186e1e52f Merge pull request #5951 from grey-rsi/master
class-wc-widget-price-filter.php - add filter
2014-08-05 11:08:02 +01:00
GreY 9dd743158e Add filter to convert amount on based currency rate 2014-08-01 15:09:25 +03:00
Alexandru Furculita 8eb710ec5d Update class-wc-widget-cart.php 2014-08-01 13:47:07 +03:00
Alexandru Furculita 37e12a99b1 Update class-wc-widget-top-rated-products.php 2014-08-01 13:46:43 +03:00
Alexandru Furculita 8303d82172 Update class-wc-widget-top-rated-products.php 2014-08-01 13:46:33 +03:00
Alexandru Furculita e03905f935 Update class-wc-widget-recently-viewed.php 2014-08-01 13:46:20 +03:00
Alexandru Furculita 8d214e665d Update class-wc-widget-recent-reviews.php 2014-08-01 13:46:07 +03:00
Alexandru Furculita df7f5aa6ba Update class-wc-widget-products.php 2014-08-01 13:45:47 +03:00
Alexandru Furculita b326ea6612 Update class-wc-widget-product-tag-cloud.php 2014-08-01 13:45:36 +03:00
Alexandru Furculita d1de854c8f Update class-wc-widget-product-search.php 2014-08-01 13:45:18 +03:00
Alexandru Furculita 981bd515ed Update class-wc-widget-product-categories.php 2014-08-01 13:44:43 +03:00
Alexandru Furculita 332fbd2f93 Update class-wc-widget-price-filter.php 2014-08-01 13:44:29 +03:00
Alexandru Furculita 130521a7ab Update class-wc-widget-layered-nav.php 2014-08-01 13:44:15 +03:00
Alexandru Furculita 53f061f0a0 Update class-wc-widget-layered-nav-filters.php 2014-08-01 13:44:00 +03:00
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02:00
Mike Jolley ce18293c9f 2 filters for drop down functions Closes #5161 2014-05-28 11:28:20 +01:00
Coen Jacobs 2ed4aa26bd Prevent undefined notice for Layered Nav title 2014-05-21 11:26:20 +02:00
Mike Jolley ecbc6aac9c When hierarchy is off, only show children in the cat widget. Closes
#5245
2014-04-07 12:59:38 +01:00
Mike Jolley 95f4be04f9 Don't hide empty - do it at walker level to maintain correct counts and hierarchy Closes #5028 2014-03-17 16:52:24 +00:00
Coen Jacobs 3617316357 Updated expiry times for transients 2014-03-12 12:58:41 +01:00
Coen Jacobs 03163c54b0 set_transient calls should have expiration to prevent autoloading 2014-03-07 09:29:01 +01:00
Mike Jolley e0b11c8c2e Corrected the "Show Siblings and Children Only" queries Closes #5028 2014-03-04 11:47:17 +00:00
Mike Jolley 6ff4ae1a7d Merge pull request #4903 from splashingpixels/master
Ran through jshint and fixed coding standards
2014-02-25 15:51:50 +00:00
Mike Jolley dcf4a50ca0 Layered nag - remember orderby #4889 2014-02-24 15:45:43 +00:00
splashingpixels 7d96eb70ee layer nav using list OR was not displaying any terms fixes #4911 2014-02-22 13:42:13 -08:00
Scott Basgaard 39b83a3039 Code clean up. Various undefined variables / notices. 2014-02-17 22:09:58 +01:00
Scott Basgaard 563adcaa86 Use 'include' parameter to show siblings/children of current category. Fixes #891 2014-02-17 22:00:25 +01:00
Mike Jolley 293c998a1d Set price slider min to min price. Closes #4183 2013-12-03 13:39:02 +00:00
Coen Jacobs 5291f2eec6 Code changes as suggested in #4238 2013-11-28 14:12:08 +01:00
Gregory K cac9d12bf9 PhpDocs 2013-11-28 07:54:19 -05:00
Coen Jacobs 4afbd0b556 Merge branch 'function-call-refactor'
Conflicts:
	includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Coen Jacobs 47ae00be28 Page functions woocommerce to wc refactor 2013-11-25 15:07:22 +01:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00: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
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Coen Jacobs aaa14894ca Core functions woocommerce to wc refactor 2013-11-25 13:45:04 +01:00
Scott Basgaard 922fa990a5 esc_attr() all the things. 2013-11-20 20:11:59 +01:00
Scott Basgaard de77ec07ea esc_url() all the things. 2013-11-20 19:54:01 +01:00
Scott Basgaard 97fe6adaeb It's possible there are no attributes. Let's check first to avoid undefined notices. 2013-11-13 21:15:30 -05:00
Scott Basgaard 5b5704d196 More undefined checks to avoid PHP notices in widgets. 2013-11-13 21:11:00 -05:00
Emyr Thomas ba3282c737 Changed label of orderby setting in product category widget. 2013-10-31 21:42:31 +00:00
Mike Jolley 1b0d017bac Context in sorting order Closes #3909 2013-10-11 14:59:52 +01:00
Mike Jolley 081bef7f6b Layered nav OR logic 2013-09-27 09:55:04 +01:00
Mike Jolley b377217d1b Compat with brands - filters should be prepended with filter_
@coenjacobs can this be applied to .15?
2013-09-16 12:43:16 +01:00
Mike Jolley 7cf3c67c76 Wrapper for wp_get_post_terms to handle parent sorting. Closes #3762. Closes #3758
@coenjacobs for .15
2013-09-13 12:07:58 +01:00
Mike Jolley 355dd16962 Removed @coenjacobs helpers and cleaned up main clas 2013-09-12 14:41:02 +01:00
Mike Jolley 14e27bb073 Fixes from .14 2013-09-04 14:32:16 +01:00
Mike Jolley aa470ad390 refactor args for woocommerce_product_dropdown_categories
Closes #3218
2013-08-20 13:32:38 +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 3a4b83cffe Fix encoding in layered nav. Fixes #3600
@coenjacobs for .14
2013-08-19 13:12:49 +01:00
Renato Covarrubias a63a77e414 Fix warning if is null 2013-08-03 23:59:26 -04:00
Mike Jolley 34c90813bd Price filter widget: preserve orderby Closes #3307. 2013-07-19 07:11:41 +01:00
Mike Jolley 9f5f81c1aa cat-parent without extra query. Closes #3355. 2013-06-28 10:07:18 +01:00
Coen Jacobs a55556332c Extra escaping on layered nav href to prevent injection 2013-06-26 11:44:35 +02:00
Mike Jolley fc104fc84b Post types need to exist first 2013-06-20 12:05:11 +01:00
Mike Jolley 1ff10d6ccf Enable for all taxonomies 2013-06-20 12:05:11 +01:00
Mike Jolley 4397b00c4a classes -> includes (for includes) 2013-06-11 14:28:45 +01:00
Mike Jolley c75ea04c1c classes -> includes 2013-06-11 14:25:30 +01:00