Mike Jolley
5172694a3a
Merge pull request #19477 from woocommerce/fix/infinite-scroll
...
Infinite scroll compatibility
2018-04-05 10:46:44 +01:00
Rodrigo Primo
a02b77bedc
Use minimum price to order variable products on term archives
...
Commit 12d7bf7
added a specific query to order products by price from low to high on term archives (see #17690 and #16694 for more details), but, probably due to a copy and paste error, it changed the behavior when dealing with variable products. Instead of using the smallest variation price of each variable product, it was using the highest variation price. This commit changes this new query to use the smallest variation price of each variable product. This way ordering by price from low to high on term archives will again behave in the same way that on the shop page when dealing with variable products.
2018-03-23 16:15:37 -03:00
claudiulodro
62d88892bf
Check query var for orderby
2018-03-23 08:30:02 -07:00
Mike Jolley
a826d4d91f
Better method of removing product query after it runs.
2018-03-21 17:41:14 +00:00
Mike Jolley
b037c965cb
Set default order if empty
2018-03-21 17:24:00 +00:00
Mike Jolley
9c42735386
temp fix; comment out lines
2018-03-21 16:41:22 +00:00
Claudio Sanches
cf06e58906
Fixed includes/class-wc-query.php PHPCS violations
2018-03-21 00:13:22 -03:00
Mike Jolley
2ed9691c14
Fix shop on homepage with unsupported themes
2018-02-01 11:15:46 +00:00
Caleb Burks
2b4a756438
Update docs.
2017-12-25 02:16:10 -06:00
Claudiu Lodromanean
204a990976
Merge pull request #18173 from woocommerce/fix/18168
...
Add ID orderby fallback for when prices are the same across multiple products.
2017-12-14 09:16:37 -08:00
Mike Jolley
1df3af081c
Add ID orderby fallback for when prices are the same across multiple products.
2017-12-14 14:17:20 +00:00
Shiva Poudel
3353505be5
Tweak - Duplicate relevance orderby for catalog
2017-12-14 15:37:12 +05:45
Mike Jolley
8dcffa660e
Normalise get_query_results names and add new param for pagination
2017-12-06 13:13:43 +00:00
claudiulodro
d60456cc73
Resolve conflicts and bring up to date with master
2017-12-04 13:56:59 -08:00
Gerhard Potgieter
f1479b07d5
Exclude add-to-cart param from get_pagenum_link function. paginate_links calls this function even though we pass a base url to it.
2017-11-29 10:52:55 +02:00
Claudio Sanches
9681a331e9
Fixed coding standards
2017-11-20 20:19:09 -02:00
Claudio Sanches
5a858eb2b1
Use WC_Query->get_query_vars() instead of WC_Query->query_vars
...
Closes #17733
2017-11-20 14:40:56 -02:00
Mike Jolley
e9bbb3a10f
phpcs
2017-11-15 10:21:38 +00:00
Patrik Pärkinen
12d7bf72f3
#16694 Added sort speed fix to ascending sort as well
2017-11-14 11:19:35 +02:00
Mike Jolley
3bf47d7d97
Fixed tests
2017-11-10 17:45:01 +00:00
Mike Jolley
33995ace01
Helper functions
2017-11-09 17:34:54 +00:00
Mike Jolley
23aa0277d2
Rows and cols
2017-11-09 12:37:14 +00:00
Mike Jolley
cc18f85baa
Replace usage of global query
2017-11-09 12:01:27 +00:00
Mike Jolley
575075f5f9
phpcs
2017-11-09 11:50:50 +00:00
Mike Jolley
6e3fb1e096
phpcs
2017-11-09 11:17:02 +00:00
Claudio Sanches
02f30e58f5
Updated docblock for class-wc-query.php, closes #16963
2017-09-27 15:01:50 -03:00
Mike Jolley
83a64c048d
Do not apply ordering to feeds
...
Closes #16902
2017-09-25 13:08:08 +01:00
Claudio Sanches
a13158a75a
Apply wc_maybe_define_constant() in all places
2017-09-05 16:52:39 -03:00
Mike Jolley
056720d3e7
Search within current terms to reduce meta query
...
Closes #16591
2017-09-04 12:57:28 +01:00
Claudio Sanches
a2d0069e2f
Fixed docblocks and conditionals
2017-08-30 19:30:46 -03:00
Mike Jolley
220b37d5f2
Show sorting on search results but default to relevance
...
Closes #16565
2017-08-24 12:58:50 +01:00
Jaydeep Rami
3522857d23
Fix typo in WooCommerce plugin ( #16135 )
...
* Fixed typo
* Fixed more typo
* Fixed more typo
* Fix tyop
* Fix more typo
* Fix more typo
* Fix typo
* Fix typo
* Fix typo
* Fix typo datatime object
* Fix short name of compat
* Fix typo: update short name
* Fix typo "deactive" to "deactivate" and short BW - Compat
* Fix typo "Backwards compat"
* Fix typo 'parameters'
* Fix more typo 'pararmeters'
* Fix typo 'compund'
* FIx typo order
* Fix typo
* Fix typo 'incorrecly'
* Fix typo 'genarate'
* Fix typo 'reletive'
* Fix typo 'Handly'
* Fix typo 'rotatated'
* Fix typo
* Fix typo 'additonal'
* Fix typos
2017-07-17 11:10:52 +01:00
Ninos Ego
6b101d790e
Cleanup: WC_Query ( #15800 )
...
* Cleanup: WC_Query
Since WP 4.5 search_post_excerpt() is not needed anymore
* Fixed: Deprecate functions instead removing them
* Fixed: Don't forget to return param, otherwise existing filters would not work anymore
* Increased deprecated version from 3.1 to 3.2 because of milestone in PR
* Typo
2017-07-13 11:28:51 +01:00
Mike Jolley
a907fd8627
get_catalog_ordering_args should cast orderby to string
...
Fixes #15769
2017-06-26 13:38:57 +01:00
Mike Jolley
d3666738d8
Merge branch 'pr/15069'
2017-05-23 18:56:58 +01:00
Mike Jolley
c4837f4419
Merge pull request #14653 from woocommerce/fix/14150
...
Update price sorting code
2017-05-23 18:13:27 +01:00
Mike Jolley
8f27df6af3
Merge pull request #14294 from woocommerce/fix/14292
...
When searching, disable WC sort order
2017-05-23 16:43:24 +01:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
Mike Jolley
aacb01d1e7
Merge branch 'pr/13503'
...
# Conflicts:
# assets/css/twenty-seventeen.css
# assets/css/woocommerce-layout.css
# assets/css/woocommerce-layout.scss
# assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley
b073454bfc
Join needs to append
2017-04-25 12:11:28 +01:00
Mike Jolley
7dc1300811
change price queries
2017-04-24 18:11:16 +01:00
Mike Jolley
3fe7df6515
When searching, disable WC sort order
...
Closes #14292
2017-04-12 12:42:55 +01:00
Mike Jolley
57f733388c
Unused variable
2017-03-27 17:32:00 +01:00
Mike Jolley
dea59579bb
description changes, and usage of ID's instead of IDs
2017-03-20 15:47:51 +00:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Aristeides Stathopoulos
10ffc92a73
Inline control structures are not allowed
2017-03-07 22:24:24 +02:00
Claudio Sanches
7baaeaafd0
Public WC()->query->get_endpoints_mask() #13179
2017-02-15 12:30:23 -02:00
Kathy Darling
f29c51497e
add woocommerce_get_query_vars filter
2017-02-13 12:22:05 -06:00
Frédéric Demarle
e03000126e
Check SHOP_IS_ON_FRONT existence before defining it
2017-01-29 21:32:26 +01:00
Claudio Sanches
539099c7d7
Include $endpoint in woocommerce_endpoint_X_title filter #12676
2016-12-25 20:43:25 -02:00