Home / Forums / WoodMart support forum / How to create different layout for Shop and Shop search results
Home › Forums › WoodMart support forum › How to create different layout for Shop and Shop search results
How to create different layout for Shop and Shop search results
- This topic has 17 replies, 2 voices, and was last updated 1 week, 6 days ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 17, 2025 at 8:46 pm #701399
xtemos-2000ParticipantHi. How to create different layout for Shop page (e.g. /shop) and for shop search results? I created two layouts and configured the conditions, but it’s showing the same layout (shop layout) for both.
Condition for shop layout: Include Shop page (I tried with two conditions as well: Include Shop page, Exclude Shop search results)
Condition for search layout: Include Shop search resultsAttachments:
You must be logged in to view attached files.December 18, 2025 at 11:53 am #701471
Aizaz Imtiaz AwanKeymasterHello,
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,
December 18, 2025 at 1:06 pm #701482
xtemos-2000ParticipantHere you go.
December 18, 2025 at 2:40 pm #701502
Aizaz Imtiaz AwanKeymasterHello,
Please give me site access as an administrative role so I can check and give you a possible solution.
Best Regards,
December 18, 2025 at 3:09 pm #701521
xtemos-2000ParticipantYou have the “Administrator” role.
Attachments:
You must be logged in to view attached files.December 19, 2025 at 8:43 am #701610
Aizaz Imtiaz AwanKeymasterHello,
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. Also switch the child theme to the parent theme.
Best Regards,
December 19, 2025 at 6:02 pm #701717
xtemos-2000ParticipantHello. I turned off all plugins except the Woocommerce and Wodmart Core. I switched to the parent theme as well. It still doesn’t work.
December 19, 2025 at 10:40 pm #701747
xtemos-2000ParticipantI installed new website and theme for tests and it works. I’ll copy over current site for further investigation. I temporarily removed your access. I’ll let you know when I have the copy.
December 20, 2025 at 9:31 am #701779
Aizaz Imtiaz AwanKeymasterHello,
No problem at all regarding the temporary removal of access. Please let us know once the site copy is ready and access is restored, and we’ll continue the investigation from there.
Best Regards,
December 21, 2025 at 4:19 pm #701861
xtemos-2000ParticipantI copied the site, you can play with it. Details in private content. All plugins are disabled and the main theme is installed.
December 22, 2025 at 11:15 am #701925
Aizaz Imtiaz AwanKeymasterHello,
Try to increase the PHP Max Input Vars parameter to 10000 or higher in your PHP configuration and check how it works.
Please follow this guide and configure the recommended PHP limits.https://xtemos.com/docs-topic/requirements-wordpress-set-up/
Best Regards,
January 1, 2026 at 7:39 pm #702892
xtemos-2000ParticipantI updated PHP Max Input Vars. Search template is still incorrect (it shows Shop template).
January 1, 2026 at 7:42 pm #702893
xtemos-2000ParticipantI added red heading to each template for easier testing. (e.g. “This is Search page layout”)
January 2, 2026 at 9:28 am #702912
Aizaz Imtiaz AwanKeymasterHello,
Navigate to Theme Settings > Shop > Variable products > disable the option Show single variation and check the issue: https://ibb.co/FqbM946H
Best Regards,
January 2, 2026 at 2:11 pm #702934
xtemos-2000ParticipantHow does variable products link to the incorrect template? Theme is showing “Shop” template for both shop and search results page. It should show two different templates for each of these pages.
Attachments:
You must be logged in to view attached files.January 2, 2026 at 3:57 pm #702944
Aizaz Imtiaz AwanKeymasterHello,
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,
January 2, 2026 at 8:23 pm #702957
xtemos-2000ParticipantThank you, that works. As I have a lot of variable products and I’d like to show single variations – is there any chance so you can fix the current behaviour? Would it be possible to modify theme to show single variations and have separate templates for shop page and search results?
January 3, 2026 at 8:38 am #702979
Aizaz Imtiaz AwanKeymasterHello,
You can create a future request here – https://woodmart.canny.io/feature-requests so our developers can take it into account.
Best Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register