Custom Post. The Query Is:
Array
(
[post_type] => product
[posts_per_page] => 10
[ignore_sticky_posts] => 1
[meta_query] => Array
(
[0] => Array
(
[key] => _stock_status
[value] => instock
)
[1] => Array
(
[key] => _backorders
[value] => no
)
)
[post_status] => publish
[tax_query] => Array
(
[0] => Array
(
[taxonomy] => product_visibility
[field] => name
[terms] => Array
(
[0] => exclude-from-catalog
)
[operator] => NOT IN
)
)
)
modify post query for orderby:sales
The Query Request Is:
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) WHERE 1=1 AND ( wp_posts.ID NOT IN ( SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id IN (8) ) ) AND ( ( wp_postmeta.meta_key = '_stock_status' AND wp_postmeta.meta_value = 'instock' ) AND ( mt1.meta_key = '_backorders' AND mt1.meta_value = 'no' ) ) AND wp_posts.post_type = 'product' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10
The Final Query Vars:
Array
(
[post_type] => product
[posts_per_page] => 10
[ignore_sticky_posts] => 1
[meta_query] => Array
(
[0] => Array
(
[key] => _stock_status
[value] => instock
)
[1] => Array
(
[key] => _backorders
[value] => no
)
)
[post_status] => publish
[tax_query] => Array
(
[0] => Array
(
[taxonomy] => product_visibility
[field] => name
[terms] => Array
(
[0] => exclude-from-catalog
)
[operator] => NOT IN
)
)
[cache_results] => 1
[update_post_meta_cache] => 1
[fields] => all
[suppress_filters] =>
[update_post_term_cache] => 1
[lazy_load_term_meta] => 1
[comments_per_page] => 50
[order] => DESC
)
Query modify callbacks ( posts_request ):
Query modify callbacks ( posts_pre_query ):
Query modify callbacks ( posts_where ):
1. ACF->posts_where()
Query modify callbacks ( posts_clauses ):
1. Automattic\WooCommerce\Internal\ProductFilters\QueryClauses->add_query_clauses_for_main_query()
2. Automattic\WooCommerce\Blocks\BlockTypes\ProductCollection\QueryBuilder->add_price_range_filter_posts_clauses()
3. UniteCreatorWooIntegrate->modifyWCSortbyQuery()
4. FiboFilters\Filtering\Request->custom_initial_order_by()
Query modify callbacks ( posts_join ):
Query modify callbacks ( pre_get_posts ):
1. WC_Query->pre_get_posts()
2. WooCommerce_Germanized_Pro->hide_attachments()
3. Blocksy\SearchModifications->pre_get_posts()
4. ElementorPro\Modules\Search\Module->set_query()
5. FiboFilters\Filtering\Request->prepare_request_data()
Query modify callbacks ( posts_orderby ):
Query modify callbacks ( parse_tax_query ):
1. Closure
Closure Object
(
[parameter] => Array
(
[$query] =>
)
)
Query modify callbacks ( posts_selection ):
Query modify callbacks ( parse_term_query ):
Query modify callbacks ( loop_shop_per_page ):
Query modify callbacks ( loop_shop_columns ):
Found Posts: 10
INfocus R6257 – Transparentes Gelb
Die INfocus R6257 zeigt sich im angesagten geometrischen Design in...
11,50 €
INfocus R6257 – Transparentes Grau
Die INfocus R6257 präsentiert sich im angesagten geometrischen Design...
11,50 €
INfocus R6257 – Schwarz
Die INfocus R6257 präsentiert sich im angesagten geometrischen Design in glänzendem...
11,50 €
INfocus R4197 – Schwarz matt
Die schwarze Variante der INfocus R4197 wirkt dezent und zeitlos. Die matte...
11,50 €
INfocus R4197 – Desert Rose
Die INfocus R4197 in Desert Rose zeigt sich in klassischer Pantoform mit...
11,50 €
INfocus R4197 – Mauve
Die INfocus R4197 in Mauve präsentiert sich in klassischer Pantoform in einem dezenten,...
11,50 €
LUNO – stilvoll, nachhaltig und alltagstauglich. Die LUNO ist eine klassische Halblesebrille, die Sie...
21,90 €
Die Wundertüte ist ein kleines Überraschungspaket für alle, die offen für Neues sind. Jede Tüte enthält...
9,90 €
Die R1041 orientiert sich an der klassischen Pilotensilhouette und zeigt eine Form, die dem ursprünglichen...
16,90 €
Die R1041 orientiert sich an der klassischen Pilotensilhouette und zeigt eine Form, die dem ursprünglichen...
16,90 €
No products found
