Search Bar Issue
-
Hello. I am facing a critical issue with my company website. We are wholesalers and we are trying to create a website which will be completely for B2B. To be more specific, users can only register as Wholesale Customers, only if we approve their registration request.
The problem is that when somebody accesses the webite, he can normally use it, he just wont have access to the product prices. The critical issue is with the search bar. If the user is connected as an admin or a wholesale user, it works properly with no problem.
But, if somebody NOT connected to an account tries to search something, the page that comes out is not the one it should be (shop page with the searched term). I have tried many possible solutions I looked up in different videos/threads but can not find one that works for me.
I think it might be something that has to do with permalinks or maybe the theme we are using, which is Porto Child.Also, when i search something WHEN CONNECTED the URL that comes up is different than the one when searching something while NOT CONNECTED. I will leave a link, lets say i am searching for “tork”
https://dtcleaningsolutions.gr/?s=tork&post_type=product&product_cat=0 This comes out when i am connected as an admin
https://dtcleaningsolutions.gr/?s=tork This comes out when i am NOT connected.
The problem is, even if i copy-paste the 1st link while NOT connected, it switches to the 2nd link.
I am using Wholesale suite and user registration plugins to let people register ONLY as wholesale customers and be able to see prices only when connected.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.