Also i find that empy search query work fine: https://maanu.pl/?s=&post_type=product&et_search=true&lang=pl
+ sometimes left menu is missing – to show it up helps onyl cleaning nginx cache. Why its sometimes broken? Can you also fix this issues?
7 replies2 participantsUpdated by Samir Malik
I have an issue with the XStore theme and WooCommerce product search / shop page.
This URL works correctly and shows product search results: https://maanu.pl/?s=szampon&et_search=true&lang=pl
It displays the standard XStore product archive layout with many matching products.
If I switch to a default theme like Twenty Twenty-Five, product search works fine as well.
What is broken
As soon as I add post_type=product to the query string, XStore shows “No products found”: https://maanu.pl/?s=szampon&post_type=product&et_search=true&lang=pl
On other themes this URL behaves as expected and returns matching products, but on XStore it returns an empty result, even though products clearly exist for that search term.
Additionally, my main shop page (WooCommerce shop archive) also stopped showing products. It used to work before. When I switch to another theme, the shop page displays products again, so it seems theme-related.
So With XStore:
?s=szampon&et_search=true&lang=pl → works
?s=szampon&post_type=product&et_search=true&lang=pl → no products found
Shop page → no products shown (used to work)
With another theme (e.g. Twenty Twenty-Five):
Both URLs and the shop page show products correctly.
What I’ve checked so far: I have a child theme, but my custom functions.php does not modify WooCommerce queries.
add_filter( ‘woocommerce_get_catalog_ordering_args’, ‘custom_woocommerce_get_catalog_ordering_args’ );
function custom_woocommerce_get_catalog_ordering_args( $args ) {
if ( ! is_search() ) {
$orderby_value = isset( $_GET[‘orderby’] ) ? wc_clean( $_GET[‘orderby’] ) : apply_filters( ‘woocommerce_default_catalog_orderby’, get_option( ‘woocommerce_default_catalog_orderby’ ) );
if ( ‘random_list’ == $orderby_value ) {
$args[‘orderby’] = ‘rand’;
$args[‘order’] = ”;
$args[‘meta_key’] = ”;
}
}
return $args;
}
and it works.
Also i find that empy search query work fine: https://maanu.pl/?s=&post_type=product&et_search=true&lang=pl
+ sometimes left menu is missing – to show it up helps onyl cleaning nginx cache. Why its sometimes broken? Can you also fix this issues?
Dear, Pover,
We have applied a patch to your website, and the search page should now be functioning properly.
Could you please verify that everything is working as expected?
Thank you for your cooperation.
Best regards,
The 8Theme Team
Search results work fine now, thank you!
but now i note left menu is missing on the homepage, why?
i attached the screen
Dear, Pover,
It may be a cache-related issue.
Please find below how it appears on our end:
https://www.awesomescreenshot.com/image/57813861?key=c3c8fcc1b14b7159bae93c892a615f96
Best regards,
The 8Theme Team
Do you have any recomendation how to property setup for perfect synergy with your theme
W3 Total Cace (Redis + Cloudflare) + Nginx Cache ?
Hello,
We currently do not have any official documentation for the W3 Total Cache plugin. However, you may find the following articles helpful:
– https://wperrfix.com/w3-total-cache-with-cloudflare-settings/
– https://supporthost.com/w3-total-cache/
Best regards,
The 8Theme Team
Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
Car Parts StoreCars & bikes
(live demo, opens in a new tab)
Wedding StoreFashion
(live demo, opens in a new tab)
Minimal Fashion 02 StoreFashion
(live demo, opens in a new tab)
Crypto Mobile AppBusiness
(live demo, opens in a new tab)
CorporateBusiness
(live demo, opens in a new tab)
MarketingBusiness
(live demo, opens in a new tab)
Jewelry StoreJewellery
(live demo, opens in a new tab)
LawyerBusiness
(live demo, opens in a new tab)
NFT Crypto MarketplaceMarketplace
(live demo, opens in a new tab)
DeliveryCars & bikes
(live demo, opens in a new tab)
Ecotransport StoreElectronics
(live demo, opens in a new tab)
HotelBusiness
(live demo, opens in a new tab)
Organic Store 02Food & drinks
(live demo, opens in a new tab)
Rental CarCars & bikes
(live demo, opens in a new tab)
BarbershopBeauty
(live demo, opens in a new tab)
Dokan Multivendor MarketplaceFood & drinks
(live demo, opens in a new tab)