Home › Forums › WoodMart support forum › Search function not working as expected
Search function not working as expected
- This topic has 10 replies, 2 voices, and was last updated 9 months ago by Hung Pham.
-
AuthorPosts
-
February 29, 2024 at 4:36 pm #545095
BPPParticipantHi Woodmart support
I’m a bit confused about the functionality of the search tool on my site. It seems to work perfectly fine as long as i only type a search query into the field.
Problems start when i then hit “enter”. I’m taken to the shop page then but the grid that is shown there does not contain the useful search results that have been displayed before.
I’ve added two Screenshots to clarify. Do i need to change something in the configuration of my Shop page?
kind regards
ChrisAttachments:
You must be logged in to view attached files.February 29, 2024 at 5:07 pm #545114
BPPParticipantscreenshot 2 was to big… second attempt.
Attachments:
You must be logged in to view attached files.March 1, 2024 at 11:50 am #545337
Hung PhamKeymasterHi BPP,
Thanks for reaching to us.
Please edit conditions and remove one by one condition and check again https://prnt.sc/d7Ryj4_K8Hxg
Regards,
March 3, 2024 at 5:19 pm #545778
BPPParticipantThose are different product-single pages that need to be shown depending on product category, they are needed and i don’t want to remove the conditions.
Why do you think this would be related to the problem? the search results are not displayed with this template.March 4, 2024 at 11:34 am #545922
Hung PhamKeymasterHi BPP,
I checked the conditions of these layouts and found some included Search result page, I also disabled all for testing then search results page worked again.
So, I kindly recommend you to disable one by one to find out the root cause.
Regards,
March 7, 2024 at 12:37 am #546806
BPPParticipantOK i See there were conditions set on the Shop page, didn’t have that one in mind but then it makes sense and it is indeed related.
So when i want the “shop”-page (which was designed in elementor) to be the one that displays my search results. How would i achieve that? the Product Grid placed on it seems to completly ignore the search query.
The standard appearance of the shop results when i remove those conditions is not good, i need to customize it.
March 7, 2024 at 8:23 am #546856
Hung PhamKeymasterHi BPP,
1. You cannot edit the search page directly with any page builders. You can go to Dashboard > Theme Settings > General > Search > there you can find options related to Search.
2. Or you can create Custom Search page layout with condition, but not combine it with other conditions, then you can customize it alone.
Regards,
March 11, 2024 at 4:48 pm #548105
BPPParticipant1. If i remove any conditions and leave the default search it looks like the screenshot. While it technically works then it does not look good and the theme options you mentioned do not allow me to edit any of the problem points (to less margin, no Title, prices need to be removed, etc..).
2. So if i make a separate search page layout and put it to use via the “include search page” condition how would i customize it then? Am i then allowed to use elementor? and if yes what element (or hook or shortcode or whatever) must i choose to display the search results?
Attachments:
You must be logged in to view attached files.March 12, 2024 at 10:21 am #548339
Hung PhamKeymasterHi BPP,
1. Could you please disable all Custom Layouts and check again? Here default Search page, captured on my end, without using Custom Layouts and it looked very well https://prnt.sc/Ra3IJ8nvhbNZ
2. You can edit via Elementor or WPBakery page builders https://prnt.sc/4igjivhfuMld like other WooCommerce pages that built with WoodMart WooCommerce builder. You can use
Archive products
widget https://prnt.sc/hac3of9p4-DL https://prnt.sc/rXgMqsKi-iThRegards,
March 12, 2024 at 4:02 pm #548503
BPPParticipantGood advice! with the Archive Products-Element i was now able to build the desired search results Page.
kind regards
March 13, 2024 at 11:00 am #548720
Hung PhamKeymasterHi BPP,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
If you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492
Your feedback is the motivation to improve our work and services.
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register