Shop and search results broken after today update

This topic has 8 replies, 2 voices, and was last updated 1 month, 3 weeks ago ago by Samir Malik

  • Avatar: pover
    pover
    Participant
    December 8, 2025 at 23:58

    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.

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: pover
    pover
    Participant
    December 9, 2025 at 00:16

    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?

    Avatar: Samir Malik
    Samir Malik
    Support staff
    December 9, 2025 at 05:26

    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

    Avatar: pover
    pover
    Participant
    December 9, 2025 at 09:09

    Search results work fine now, thank you!

    but now i note left menu is missing on the homepage, why?

    Avatar: pover
    pover
    Participant
    December 9, 2025 at 09:19

    i attached the screen

    Files is visible for topic creator and
    support staff only.
    Avatar: Samir Malik
    Samir Malik
    Support staff
    December 9, 2025 at 11:07

    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

    Avatar: pover
    pover
    Participant
    December 9, 2025 at 11:46

    Do you have any recomendation how to property setup for perfect synergy with your theme
    W3 Total Cace (Redis + Cloudflare) + Nginx Cache ?

    Avatar: Samir Malik
    Samir Malik
    Support staff
    December 9, 2025 at 12:41

    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

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.