“Search Results” page is very messy and not like what I want

This topic has 9 replies, 3 voices, and was last updated 2 years, 2 months ago ago by Ammar Tello

  • Avatar: Ammar Tello
    Ammar Tello
    Participant
    February 9, 2022 at 17:55

    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

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 9, 2022 at 19:50

    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

    Avatar: Ammar Tello
    Ammar Tello
    Participant
    February 10, 2022 at 16:11

    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

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 11, 2022 at 15:43

    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

    Avatar: Ammar Tello
    Ammar Tello
    Participant
    February 11, 2022 at 15:51

    Yes, that’s right.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 13, 2022 at 08:22

    Hello,

    One of our technicians will give an answer after the weekend. Please be patient

    Regards

    Avatar: Ammar Tello
    Ammar Tello
    Participant
    February 13, 2022 at 12:20

    Ok, thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 15, 2022 at 14:35

    Hello,

    Check now. Changes were done in child-theme/functions.php -> http://prntscr.com/26w9qj2

    Regards

    Avatar: Ammar Tello
    Ammar Tello
    Participant
    February 15, 2022 at 17:21

    Thank you very much.

  • Viewing 9 results - 1 through 9 (of 9 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.