
Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 21, 2023, 10:29
Hello Malin
Please drop me exact link to the issue
Hello Malin
Please drop me exact link to the issue

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 27, 2023, 10:37
Hello Malin
My test - https://c2n.me/4jqEnx1 - Filtering seems to be working correctly
Hello Malin
My test - https://c2n.me/4jqEnx1 - Filtering seems to be working correctly

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 27, 2023, 11:53
Please try to use this code - https://products-filter.com/make-page-builders-and-custom-template-filterable
Please try to use this code - https://products-filter.com/make-page-builders-and-custom-template-filterable

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 28, 2023, 12:37
Hello
Great! Welcome;)
Hello
Great! Welcome;)

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 10, 2023, 12:20
Hello
Try to use this code:
add_action('pre_get_posts', function ($query) {
if (is_object($query) AND isset($query->query['post_type']) AND !is_admin()) {
if ($query->query['post_type'] === 'product' /* AND is_page(1867) */) {
if (isset($query->query['wc_query']) AND 'product_query' == $query->query['wc_query']) {
return $query;
}
global $WOOF;
if (is_object($WOOF) AND !empty(woof()->get_request_data())) {
woof()->woof_products_ids_prediction(true);
$query->query_vars['post__in'] = $_REQUEST['woof_wp_query_ids'];
}
}
}
return $query;
});
The new code should not affect search in the admin panel
Hello
Try to use this code:
add_action('pre_get_posts', function ($query) {
if (is_object($query) AND isset($query->query['post_type']) AND !is_admin()) {
if ($query->query['post_type'] === 'product' /* AND is_page(1867) */) {
if (isset($query->query['wc_query']) AND 'product_query' == $query->query['wc_query']) {
return $query;
}
global $WOOF;
if (is_object($WOOF) AND !empty(woof()->get_request_data())) {
woof()->woof_products_ids_prediction(true);
$query->query_vars['post__in'] = $_REQUEST['woof_wp_query_ids'];
}
}
}
return $query;
});
The new code should not affect search in the admin panel

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 18, 2023, 11:33
Great! Welcome;)
Great! Welcome;)