This topic has 9 replies, 3 voices, and was last updated 2 years, 10 months ago ago by Ammar Tello
Hello,
I would like to ask if you can remove “post_type=product” from results page’s URL.
For example when user click on “View all results” button, it redirects him to “?s=what-user-searchs-on&post_type=product&et_search=true”
I want to be the URL: “?s=what-user-searchs-on&et_search=true”
Here are a screenshots to get me:
This is a actual results: https://www.screencast.com/t/yTXHlgWskZAn
What I want: https://www.screencast.com/t/eFf0tevRB29
Hello,
Our theme comes with the search by products, posts, and pages https://prnt.sc/26scks6 So, the system needs to understand what exactly you are looking for. That’s why there is no way to remove that from the query.
Regards
Ok, I understood that, so how can I change the results page design??
I don’t want it in its current state, I want it same as in this case: https://www.screencast.com/t/eFf0tevRB29
Hello,
Do you mean that you don’t want to display products as product cards https://prnt.sc/26tt5t0 but to show them like simple posts https://prnt.sc/26tt5c1? Do I understand you right?
Regards
Yes, that’s right.
Hello,
One of our technicians will give an answer after the weekend. Please be patient
Regards
Ok, thank you.
Hello,
Check now. Changes were done in child-theme/functions.php -> http://prntscr.com/26w9qj2
Regards
Thank you very much.
The issue related to '‘“Search Results” page is very messy and not like what I want’' has been successfully resolved, and the topic is now closed for further responses