Fredrik Forsmo
31cb32dc36
Improve docblock comments in WC_Query class
...
* Added comments to `add_query_vars`, `search_post_excerpt`,
`wpseo_metadesc`, `wpseo_metakey` and `order_by_rating_post_clauses`
2016-01-06 16:17:26 +01:00
Mike Jolley
05ee7b2a91
Merge pull request #9782 from tjuris/master
...
use float values for price filter when taxes are not included in prices
2015-12-14 12:42:11 +00:00
Mike Jolley
77714623cf
Remove post type archive title on front page
...
Closes #9812
2015-12-10 10:42:56 +00:00
Tanel Jüris
0f18b5f269
use float values for price filter when taxes are not included in prices
2015-12-07 13:04:10 +02:00
roykho
c7aed861cd
Fix invalid orderby key name for orderby pricing closes #9584
2015-11-17 07:59:53 -08:00
Ibrahim Ibn Dawood
91119e05c2
hooked rating_filter_init to init
2015-11-13 15:13:48 +05:30
Ibrahim Ibn Dawood
8deac2c563
added rating_filter method to WC_Query
2015-11-13 15:11:44 +05:30
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Serg
98523c8dd4
Add woocommerce_is_price_filter_active filter to Query class
2015-10-05 11:53:24 +03:00
Claudio Sanches
0966fedb12
Moved JS vendor libraries for our own directories #8488
2015-10-01 15:46:08 +02:00
Dominic
358336546e
Check specifically for Post IDs in WC Query
...
The `WP_Query::queried_object_id` property can reference either a post
or a term ID. This way, we ensure that we are check for posts only.
2015-09-07 02:17:01 -07:00
Jack Gregory
e75b462e86
add woocommerce_is_layered_nav_active filter
2015-09-03 15:09:21 +01:00
Mike Jolley
c5cba283ed
Remove numbered arguments from queries
2015-08-07 11:37:19 +01:00
Claudio Sanches
9e41552342
Removed all "@return void"
2015-07-16 16:55:48 -03:00
Claudio Sanches
fa026ea49d
Normalize the "Order #" #8305
2015-06-10 12:09:18 -03:00
Mike Jolley
fe58e1b5e9
Account for tax classes
2015-06-09 14:58:27 +01:00
Claudio Sanches
e6ae10ee9a
Test
2015-05-29 10:01:43 -03:00
Nicola Mustone
d2af01df5b
scrutinizer suggested tweaks
2015-03-27 16:15:40 +01:00
Mike Jolley
88be174037
[2.3] Support price filter min or max only.
...
Closes #7743
2015-03-17 15:34:15 +00:00
Mike Jolley
efb0b7f72f
Fix query redirects
...
Fixes #7703
2015-03-13 10:33:38 +00:00
Claudio Sabatini
f21ff35f8c
Update class-wc-query
...
Added option that control if prices include tax for filtering
2015-03-06 11:32:30 +01:00
claudiosan
b7d98bf53a
Update class-wc-query - Filter prices when tax not included
...
Fixing filter price widget when prices are without taxes
2015-03-06 10:59:02 +01:00
Mike Jolley
d9455994c8
Use 30 days instead of year for transients to avoid bugs in memcache plugins.
...
Closes #7520
2015-02-24 12:02:56 +00:00
Bryce
888622a621
Fix fatal error on /my-account/view-order/ endpoint
...
When no order number is set this causes a fatal error. This check for
the $order object should be sufficient.
Closes #7301
2015-02-05 12:55:33 +07:00
Mike Jolley
725d5e28d8
Additional tweaks to @b2c573ed8a04a8d425a73e018a450179514cbdc7
...
- Load API with other includes
- Register activation hook early
- Include autoloader early
cc @claudiosmweb
2015-01-28 17:50:58 +00:00
Mike Jolley
1c696a10d3
Dev - Moved WC_Cart::get_cart_from_session() to a later hook (was init, now wp_loaded).
...
Closes #6873
2015-01-05 14:43:04 +00:00
Mike Jolley
56e0e0dc55
Add special wc_query variable when querying products. #6444
2014-12-09 10:21:50 +00:00
Mike Jolley
2f66bbd8c0
woocommerce_price_filter_meta_keys filter to allow plugins to define min/max meta keys that require searching
...
Closes #6492
2014-12-09 08:33:33 +00:00
Mike Jolley
508bfd5c06
Merge branch 'breadcrumbs-class'
...
Adds endpoint page titles for #5522
Fixes link back to endpoint pages and closes #6638
Avoids need for breadcrumb fix which closes #6834
Removes the need and closes #6834
Fixes #6840
2014-12-05 13:42:19 +00:00
claudiosmweb
8eeb6fc204
Removed more some unused code
2014-11-19 22:43:09 -02:00
Mike Jolley
2294135bff
Rename touch punch to stop grunt breaking minify
2014-10-23 14:38:19 +01:00
Mike Jolley
98361804e6
Merge pull request #5767 from IAmJulianAcosta/touch-compability
...
Price filter widget touch compability
2014-10-10 12:16:18 +01:00
shivapoudel
922e74e984
Absolute path fix for class-wc-query.php
2014-09-21 00:43:54 +05:45
Barry Kooij
f9c1b17d27
Password protected posts are not hidden from catalog by default anymore, visibility can be set via the 'Catalog visibility' option.
...
Fixes #6168
2014-09-05 12:23:34 +02:00
claudiosmweb
78c7fefe3e
fixed some docblocks
2014-09-02 16:50:19 -03:00
Mike Jolley
a1b78ec918
Add second orderby parameter when sorting by price (ID)
...
Fixes #6121
2014-08-29 10:26:21 +01:00
Mike Jolley
305c187015
Fix queries on shop page
2014-07-30 12:11:42 +01:00
Mike Jolley
a4346d9c90
Fix shop page when using verbose page rules
...
cc @claudiosmweb
2014-07-03 15:14:00 +01:00
Mike Jolley
ee48dcd5fd
Invalidate query transients to avoid cache flush
...
Part of #5777 . These transients are required and cannot be predicted.
If not using an external cache system, the DB is cleared still to keep
size down after invalidation.
For these 2 transients, invalidation occurs when visibility altering
product attributes are edited.
2014-07-03 12:59:57 +01:00
Julian Acosta
902d8bbe5a
Added dependency of touch punch to wc-price-slider
2014-07-01 00:03:06 -05:00
Julian Acosta
8f3586fccb
Added touch support to price filter widget using jquery ui touch punch
2014-07-01 00:00:26 -05:00
Mike Jolley
33f40afbdb
pre_get_posts is an action
2014-06-30 11:41:24 +01:00
Mike Jolley
50a4c5bd23
Merge branch 'variation-stock-management'
...
Conflicts:
includes/class-wc-product-variation.php
2014-06-27 11:15:42 +01:00
Mike Jolley
c1dd3f2024
Allow endpoint use on the front page.
...
Fixes #5609 cc @claudiosmweb
2014-06-25 11:10:05 +01:00
Mike Jolley
b86b4c91c6
Simplify get_children and use stock status rather than stock level
2014-06-20 10:50:31 +01:00
Bernat
4f61e1946f
Update class-wc-query.php
...
Use 'term_id' instead of 'id' for the tax_query as described in WP codex: http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
2014-06-10 17:22:01 +02:00
Coen Jacobs
3ad8935b20
Removed ununsed global variables in local scopes
2014-06-08 22:33:11 +02:00
Thiago Senna
38d8253ab6
fix for Error rendering WooCommerce Shop as Front Page at Stargazer Parent Theme #5531 (indent with tab)
2014-05-21 10:30:51 -03:00
Thiago Senna
370d3e0348
fix for Error rendering WooCommerce Shop as Front Page at Stargazer Parent Theme #5531
2014-05-21 10:27:26 -03:00
toddlahman
912aca6907
Use WP SEO class method rather than deprecated fn
...
Notice: wpseo_get_value is deprecated since version WPSEO 1.5.0! Use
WPSEO_Meta::get_value() instead.
2014-05-07 03:40:21 -07: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
Paul van der Meijs
7daada95f9
Prevent ambiguous column error
2014-02-24 11:47:19 +01:00
Mike Jolley
d7493b0b8a
is_wc_endpoint_url Closes #4731
2014-02-12 12:18:36 +00:00
Mike Jolley
1f1a925fdd
Add versions to all scripts + styles to ensure browser cache is cleared
2014-02-12 09:23:06 +00:00
Mike Jolley
0c2b1f430c
Don't check for post_type for product query, and don't force the post_type variable as it should already be set. #4626
2014-02-04 13:44:18 +00:00
Mike Jolley
ad17813e70
Merge pull request #4590 from toddlahman/master
...
Removed urldecode from $_GET and $_REQUEST and Removed (document).ready from wc_print_js()
2014-01-28 09:58:59 -08:00
Roman Peshkov
16391b7185
Added check that product has been requested in WC_Query.product_query.
...
When requesting taxonomy term archive for your custom post type and that
taxonomy is shared with product post type, post_type query variable gets
rewritten.
2014-01-27 16:54:21 +04:00
toddlahman
2725527d4a
Removed urldecode from $_GET and $_REQUEST
...
The superglobals $_GET and $_REQUEST are already decoded. Using
urldecode() on an element in $_GET or $_REQUEST could have unexpected
and dangerous results.
See Notes:
http://us1.php.net/manual/en/function.urldecode.php
2014-01-26 01:19:17 -08:00
Mike Jolley
85b4ca8c03
wc_has_notice function
2014-01-07 13:35:01 +00:00
pauloiankoski
09d50a04c8
Add "rand" option to orderby
2013-12-05 10:53:22 -02:00
Coen Jacobs
3e6acf7aab
Code changes for #4252
2013-12-02 12:34:27 +01:00
Gregory K
7b38c7300b
Inconsistent return types: mostly TODOs, some fixes
2013-11-29 13:50:31 -05:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Scott Basgaard
9409907ffa
Use remove_ordering_args() to remove order query filters instead of remove_product_query(). Most likely was a merge issue. Fixes #4142
2013-11-19 22:38:00 +01:00
Mike Jolley
20bedea97b
Fix filters Closes #4123
2013-11-18 13:45:54 +00:00
Coen Jacobs
90008d7143
Merge remote-tracking branch 'thenbrent/new_notice_api'
...
Conflicts:
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-message-functions.php
woocommerce-ajax.php
2013-11-18 12:44:22 +01:00
thenbrent
0d45e19fcf
Update calls to wc_add_error() function
...
Part of #4034
2013-11-12 20:59:39 -08:00
Brent Shepherd
b69066405b
Move /add-payment-method/ endpoint to /my-account/
...
Part of #3396
2013-11-05 13:02:13 -08:00
thenbrent
1bbe03d139
Add new /checkout/add-payment-method/ endpoint
...
Part of #3396
2013-11-03 16:53:14 -08:00
Mike Jolley
67e4f0731e
remove_ordering_args from .18
2013-10-21 13:05:34 +01:00
Mike Jolley
2cd74e1acf
Remove filter fix from .17
2013-10-17 10:48:41 +01:00
Gregory K
9a1c571cbc
get_meta_query() - PHPDoc fix
2013-10-04 12:48:50 -04:00
Manos Psychogyiopoulos
c0e2e8bbdf
Add price_filter results to include extended product types with a variable price
2013-09-30 15:58:12 +03:00
Mike Jolley
081bef7f6b
Layered nav OR logic
2013-09-27 09:55:04 +01:00
Mike Jolley
5b2ed3f243
Fix search_post_excerpt when quotes are searched. Closes #3767
...
@coenjacobs for .15 too
2013-09-13 15:14:19 +01:00
Mike Jolley
355dd16962
Removed @coenjacobs helpers and cleaned up main clas
2013-09-12 14:41:02 +01:00
Mike Jolley
9472646609
Customisable query vars. #3708
2013-09-03 16:14:56 +01:00
Mike Jolley
64d87cbef7
Make logout an endpoint. Still hide it from menus. Fixes #3589
...
@coenjacobs do we need to do something about this for .14? Will leave
for you next week :)
2013-08-23 16:41:02 +01:00
Mike Jolley
2e6aaa9ede
Hide password protected posts from loop, prevent adding to cart, hide product content. Closes #3617 .
2013-08-19 18:19:27 +01:00
Mike Jolley
57157db9bf
Function refactoring.
2013-08-09 17:11:21 +01:00
Mike Jolley
9462dde581
Settings refactoring
2013-07-26 15:36:28 +01:00
Mike Jolley
725cb7714b
More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170 .
2013-07-23 17:05:01 +01:00
Mike Jolley
18a448ff77
Tweaked popularity sorting to work better when no sales are present.
2013-07-17 11:21:52 +01:00
Mike Jolley
646a8a008c
Make use of new functions
2013-06-11 15:59:54 +01:00
Mike Jolley
c75ea04c1c
classes -> includes
2013-06-11 14:25:30 +01:00