Issue with search results – it loads on shop page so pages / posts are missing

This topic has 6 replies, 2 voices, and was last updated 3 weeks, 1 day ago ago by Jack Richardson

  • Avatar: Niddy
    Niddy
    Participant
    January 5, 2026 at 12:13

    Hi

    Using the ajax search widget – even if you opt to have it include posts & pages never shows results as it seems hard-coded to the shop page – ie the url appends to: &et_search=true&post_type=product yet surely we should have options to show pages and posts – eg: &et_search=true&post_type=page / &et_search=true&post_type=post

    So as an example, on any of your demo’s – as this is not linked to my site – it is an issue with the theme and search – in the header search type contact and you’ll see it shows a page however press return or view all results and you will see it takes you to the shop page (ie shop archive layout) and shows a message alert with “Unfortunately, there are no products that match your criteria”.

    Can you clarify how we can actually leave the product search to render as-is within the built-in archive page look but allow us to use a separate post template search results page for pages and posts?

    If I create a whole new search results template then it removes the built-in view and means we lose the product layout, over the fact of having no layout for pages and posts!

    Point is my clients typically have stores and pages and blogs so the search function right now is not fit for purpose as it is tailored to just act on product results upon searching.

    Here is a demo of what I mean –> 1. https://xstore.8theme.com/elementor/demos/niche-market02?product_cat=0&s=contact&et_search=true&post_type=product

    and if we change the url to page instead of product then we get this -> 2. https://xstore.8theme.com/elementor/demos/niche-market02?product_cat=0&s=contact&et_search=true&post_type=page

    It is this (2) that I want to assign a new search results template to without affecting the shop search in example link 1.

    Thanks for any advice / help.

    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 6, 2026 at 08:04

    Hello @Niddy,

    By default, if your search query includes any searchable product types, the search results page will be displayed using the shop template. If you would like to use a custom template for the search results, you can create one by following this guide: https://www.8theme.com/documentation/xstore/xstore-builders/xstore-search-results-page-builder-with-elementor/.

    You can also import the existing Products Archive template and replace its widgets with the following options: Searchable Products, Searchable Posts, Searchable Projects, etc. (https://prnt.sc/woi7tyAiY7qg), along with making minor layout adjustments. This allows you to include different widgets on your search results page, and if any items are found within those post types, the corresponding widget will display them.

    If you require our assistance with this implementation, please feel free to submit a detailed request.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: Niddy
    Niddy
    Participant
    January 6, 2026 at 09:06

    Hi

    Thanks for your reply but all you’ve done is repeat exactly what I’ve said in your own words lol.

    Look at the demo links for your own site. It does not show pages. Ever. Period. It can’t as it’s hard coded to products. The slug tells us this fact.

    Please clarify.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 6, 2026 at 09:53

    Hello @Niddy,

    In our demo, we did not create a separate Search Results template, which we previously mentioned you could create (https://www.8theme.com/documentation/xstore/xstore-builders/xstore-search-results-page-builder-with-elementor/). If such a template is not created, only products are displayed on the ghost search results page, as it is redirected to the Shop page with a modified query to show the products found in the search request.

    It may have seemed that we repeated your words, but our intention was to explain how searchable items are displayed and to outline the options available for showing different items on your search results page.

    If you need our assistance in creating a custom Search Results template, please feel free to contact us, and we will be happy to help. The design of this page can also inherit (or import) the styles from your current Shop page.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Niddy
    Niddy
    Participant
    January 6, 2026 at 11:01

    Hi

    As said whenever I try this it just takes me to elementor theme builder -> search results and thats no good as then we lose the default look that is there right now. Why is there no templates added to the builders panel to make life easier – as in the exact one we see on the shop archive page?

    The archive (product) search results page is perfect, we do not want to touch this – the issue is that we need to show normal pages and posts as well and not via a shop page layout. Thats the issue here…

    Thanks for any help / advice.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 6, 2026 at 13:43

    Hello @Niddy,

    We would like to explain our idea in more detail so that you can better understand our main point. For example, your shop page has a great design (https://prnt.sc/SmmXvlGOHfIp), and the same design is currently applied to the search results page because search results are currently shown on the Shop template (https://prnt.sc/dIJNmnxGbmtp).

    However, the issue is that the posts found through the Ajax search in the header (https://prnt.sc/pEgBVmEr_knL) are not displayed on the search results page. For this reason, we suggest creating a separate template for the Search Results page (https://prnt.sc/Iuvq6MfEI4rN).

    In the editor of this template, you can import the existing shop page template (https://prnt.sc/hrkBr5rwsuxp) and then make a few modifications to its content. Please refer to this video for instructions on how to import the shop template: https://gyazo.com/387d2f343c50a3d28539d74082b17a08.

    Next, you can add the “Searched Products” widget (https://prnt.sc/Ty8xIqzRp5RZ). To maintain the same style, copy the “Archive Products” widget (https://prnt.sc/oKiIlWzmhMLC) and paste its styles onto the current “Searched Products” widget (https://prnt.sc/Pg-BTAEc__e8). After that, remove the “Archive Products” widget. You can also configure the widget according to your preferences, such as adjusting the number of displayed products or improving the styling.

    Below that, you can add the “Searched Posts” widget (https://prnt.sc/7paR88mdNKmp). When publishing, make sure to set the Search Results condition (https://prnt.sc/tEc1vv3ahfp8). As a result, your search results page will have the same design as the original shop page (which you imported) along with the widgets added to your search template (https://gyazo.com/6fa670006df8de6a43a9d7ce6632afe5).

    Regarding your question about why such a template was not included in our import, most customers use the default functionality, where results are displayed on the shop page without the need to show posts or other post types. Therefore, creating such a template—which can be done in about three minutes—does not seem logical from our perspective and is also better for optimization purposes.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

  • Viewing 6 results - 1 through 6 (of 6 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.