Home › Forums › WoodMart support forum › Remove search field from filters in shop page
Remove search field from filters in shop page
- This topic has 8 replies, 2 voices, and was last updated 3 years, 8 months ago by Elise Noromit.
-
AuthorPosts
-
March 18, 2021 at 9:34 pm #274704
antParticipantHello,
I am trying to remove the search with text field in the filters in shop page but I can’t. I tried what you proposed in this thread but didnt work as you can see (and there is no caching mechanism in that site): forumThen find the file woodmart/js/functions.js and replace this line minimumResultsForSearch: 5 for this one minimumResultsForSearch: -1
Attachments:
You must be logged in to view attached files.March 18, 2021 at 9:57 pm #274709
antParticipantAlso found out that dropdown filters not working now. I get this js error
uncaught exception: cant get selector for pjax container!
So I made them list. But can you tell me why? I need dropdown without search field
March 19, 2021 at 12:57 pm #274870
Elise NoromitMemberHello,
Please provide the screen of what search you are trying to remove and the page URL where I can see it. If your site is under construction, please provide the site admin access to the private area.
Best Regards
March 19, 2021 at 1:03 pm #274874
antParticipantHello I attach the screenshot, they are the filters in the shop page (I converted them to list in order to make them work but I need them to be dropdown without search option, for that I attach an admin account )
Attachments:
You must be logged in to view attached files.March 19, 2021 at 3:45 pm #274928
Elise NoromitMemberHello,
You can remove the widgets from the Shop page widget area in the Appearance > Widgets.
You can also change the view of the widget from the drop-down to a list or else and the search field would disappear.
Best Regards
March 19, 2021 at 9:30 pm #274967
antParticipantBut I want to have dropdown without search. I dont want list.
March 20, 2021 at 6:12 pm #275114
Elise NoromitMemberHello,
We can remove the search with the custom CSS. Please note, the search would be removed from all the widgets of the type.
Please add this code to the Theme Settings > Custom CSS > Global:
.post-type-archive-product .select2-search { display: none !important; }
Best Regards
March 23, 2021 at 5:20 pm #275808
antParticipantThis is not working as expected. I added this code snippet but now you cant select a category, it miss clicks second time and selects bag.
March 24, 2021 at 9:53 am #275976
Elise NoromitMemberHello,
We are checking and it works as shown on the video: https://drive.google.com/file/d/1F-KcbwTta3xsmepyDJH8NcchhHpY5oCL/view
Please provide the video of the problem.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register