Home / Forums / WoodMart support forum / Search results page opens shop archive instead of search results
Home › Forums › WoodMart support forum › Search results page opens shop archive instead of search results
Search results page opens shop archive instead of search results
- This topic has 16 replies, 2 voices, and was last updated 4 months, 2 weeks ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
January 29, 2026 at 10:47 am #706507
zema80ParticipantHello,
I am experiencing an issue with the search functionality on my site.
When I type a keyword into the search field, the AJAX live search works correctly — it shows relevant products in the dropdown.
However:
So basically, the site opens the shop page instead of the search results page.
I will attach a screenshot and a short screencast video showing this behavior.
Could you please let me know:
Thank you in advance for your help.
Best regards,
Alekseyhttps://skrinshoter.ru/vZoU8OT57dr
https://dev.klapana.ru/?s=19%D1%8147%D0%BD%D0%B6&post_type=productJanuary 29, 2026 at 1:58 pm #706548Hello,
The issue is likely related to a Custom Layout applied to archive pages in WoodMart. When an archive layout is assigned globally, it can also affect the search results page, which is why your site redirects to the Shop layout instead of showing proper search results.
Please try this:
Navigate to Layouts > Layout Builder > Edit your Archive layout.
Check the Conditions and make sure it’s not applied to Search Results. Either exclude Search Results, or create a separate layout and assign it specifically to Search Results.
For more details and guidance, feel free to check this article:
https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/Best Regards,
January 29, 2026 at 3:09 pm #706574
zema80ParticipantHello,
Thank you for your suggestion.
I tested it and recorded a short screencast of the whole process.
What I did:- Went to WP Admin → Layouts → Layout Builder and checked my Archive layout conditions.
- Confirmed that Search Results are NOT included in the conditions (only the Shop archive).
- Then I disabled the Archive layout completely so the Shop page uses the default template.
- Tested search again: now the search opens a standard default page and shows results, however it still looks like the search results are being treated as the Shop archive (the same general archive template/behavior), not as a dedicated search results page.
So it seems there is still some connection where Search falls back to the Shop archive template when no separate Search layout exists.
My questions:- Is it correct that the proper fix is to create a separate Search Results layout and assign it specifically to Search Results?
- If yes, do you provide any ready-made / prebuilt templates for Search Results pages (recommended design/layout), so I don’t need to build it from scratch?
- If such templates exist, could you please share links or documentation on how to import/apply them?
I’m attaching the screencast so you can see exactly what I changed and what the result looks like.
Best regards,
Alekseyhttps://skrinshoter.ru/vZolTPWKIDB
-
This reply was modified 4 months, 4 weeks ago by
zema80.
January 29, 2026 at 3:23 pm #706581Hello,
By default, WooCommerce uses the Shop (archive) template for search results unless a separate Search Results layout is assigned. So what you’re seeing is expected behavior: when no Search layout exists, the search page falls back to the archive structure.
The correct approach is to create a dedicated Search Results layout and assign it specifically to Search Results. This gives you full control and prevents the search page from inheriting the Shop archive behavior.
Navigate to Layouts > Add new layout > Create layout for search result page and use the predefined layouts: https://postimg.cc/kR4fDxx2
Best Regards,
January 29, 2026 at 8:13 pm #706623
zema80ParticipantHello,
Thank you for the explanation.
I followed your instructions and created a dedicated Search Results layout (Layouts → Add new layout → Search results page) and assigned it specifically to Search Results, using the predefined layouts from your screenshot.
However, it still does not work on my site:
- When I perform a search (click the search icon or “Show all results”), I still get the Shop archive template instead of the Search Results layout.
- I also tried disabling any search-related options inside the layout that is assigned to the Shop page, but the behavior is the same.
So at the moment, search always opens the Shop page template, even when a separate Search Results layout exists and is assigned.
Could you please help me troubleshoot what could override the Search Results layout assignment?
Possibly:
- Another layout condition is catching the search page (global archive / shop / product archive rules).
- A theme option forces search to use the Shop template.
- A plugin (AJAX search, custom search plugin, SEO plugin, etc.) modifies the default search behavior.
Please let me know what exactly you need from my side (screenshots of layout conditions, theme options, URLs, etc.). I can also record another screencast showing the current setup.
Best regards,
AlekseyJanuary 30, 2026 at 1:25 pm #706680Hello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards,
January 31, 2026 at 9:59 am #706788
zema80Participantdev.klapana.ru
January 31, 2026 at 9:23 pm #706837Hello,
Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site, and then check the issue. I am sure your issue will be solved. Then, activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists, then keep the 3rd party plugins deactivated and let me know so I can check and give you a possible solution.
Best Regards,
February 4, 2026 at 11:16 am #707191
zema80ParticipantHello,
I have deactivated all third-party plugins and kept only the theme-required plugins active
The issue is still present: search results are displayed using the Shop page layout instead of the Search Res
All third-party plugins are currently disabled, so you can check
You already
Please proceed with the investigation and let me know
Best regards,
AlekseFebruary 4, 2026 at 2:02 pm #707215Hello,
Navigate to Theme Settings > Shop > Variable products > disable the option Show single variation and check the issue: https://ibb.co/FqbM946H
Best Regards
February 4, 2026 at 6:31 pm #707260
zema80ParticipantHello,
I tested your suggestion.
I navigated to Theme Settings → Shop → Variable products and disabled the option Show single variation.
- After disabling this option, search results started working correctly.
- At that moment, all third-party plugins were enabled.
However, when I enable Show single variation again, the issue immediately returns and search results are once again displayed using the Shop page layout instead of the Search Results layout.
- I need to keep the **Show single variation** option enabled because it is important for my catalog.
Could you please advise how you can help resolve this conflict?
- Is this a known bug related to Show single variation and search results?
- Is there a fix, patch, or workaround that allows using Show single variation without breaking Search Results layout?
Best regards,
AlekseyFebruary 4, 2026 at 6:50 pm #707263
zema80ParticipantHello,
One more update.
I tested the same scenario on another website of mine that also uses the WoodMart theme.
- The behavior is exactly the same.
- When **Show single variation** is enabled, search results use the Shop page layout instead of the Search Results layout.
- When **Show single variation** is disabled, search results work correctly.
So this looks like a theme-level issue rather than a site-specific or plugin-related problem.
Please let me know how this can be fixed or escalated to your development team.
Best regards,
AlekseyFebruary 5, 2026 at 11:05 am #707317Hello,
I have confirmed it on our test site and the same behaviour.
When Theme Settings > Shop > Variable products > Show single variation is turned ON, it treats each variation as a separate product in shop loops.
Because of this, the theme forces the main Shop archive template for rendering those results — including shop search results — which causes the Shop layout to override the Search Results layout.
When you disable “Show single variation”, it stops converting variations into individual loop items, and the correct template hierarchy is restored, allowing:
Shop page > Shop layout and Search results > Search Results layout
If you need separate layouts for Shop and Shop Search Results, the recommended solution is to keep “Show single variation” disabled.
Best Regards,
February 5, 2026 at 12:17 pm #707330
zema80ParticipantHello,
Thank you for the detailed explanation.
Unfortunately, the suggested workaround does not work for my case.
- I need to use a custom Shop page layout because my Shop page is not a classic product listing page.
- The Shop page contains a large amount of promotional and informational content at the top, and only a product listing at the bottom.
- If the same layout is used for Search Results, it breaks the usability and logic of the search page.
At the same time, one of the key reasons I chose WoodMart is the ability to work with variable products and use the Show single variation functionality.
- I need this option to remain enabled.
- Disabling it is not an acceptable solution for my project.
From your explanation, it sounds like I am being forced to choose between:
- Using separate layouts for Shop and Search Results
- OR using Show single variation
Please clarify:
- Is there currently any way to use Show single variation AND still have separate layouts for Shop and Search Results?
- If not, is this limitation planned to be addressed in future updates?
- Can this issue be forwarded to your development team as a feature request or bug report?
I would really appreciate a technical solution rather than a workaround that removes core functionality.
Best regards,
AlekseyFebruary 6, 2026 at 8:56 am #707432Hello,
You can fix it by applying patch # 707387. To do this, go to Dashboard -> WoodMart -> Patcher, find the corresponding patch and click on the “Apply” button. Let us know if it works for you.
Best Regards,
February 6, 2026 at 7:46 pm #707570
zema80Participantthanks
February 7, 2026 at 6:55 am #707597Hello,
You’re Most Welcome!
Feel free to write back anytime. If you need further assistance, we are always here to help you.
If you have a minute, we’d truly appreciate your feedback — it helps us improve the product and shape future updates more effectively. We’d love your feedback on our theme: https://tally.so/r/w4l54k
Thanks for contacting us.
Have a great day.Topic Closed.
Best Regards. -
AuthorPosts
Tagged: search
The topic ‘Search results page opens shop archive instead of search results’ is closed to new replies.
- You must be logged in to create new topics. Login / Register