ResolvedSearch Products

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21483
    lucymuddle
    Participant

    Hi Team,

    When I search a product using the search bar in the header it does what it should – searches specifically for the product name but if the product is under the category “clothes” and i search “clothes” nothing comes up. How do I ensure the product search picks up the category not just what in the product name.

    Also, I want to add a product search in the body of the home page, i though there was an element i could use but when i search for elements that contain “search” only the worpdress search element appears – which isn’t helpful. I must have removed a vital plugin when I was cleaning up the website. Do you know what i could be missing here?

    Thanks in advance for you help.

    Kind Regards,
    Lucy

    #21490
    Althemist
    Keymaster

    Hi Lucy,

    I am afraid there is nothing to be done here. It’s not theme related, it’s how search works in WordPress and WooCommerce. It would only detect the search term in the title and content, so you can’t search by category, SKU or other attribute.

    As for the search form in content – it doesn’t sound like you have something deleted, as the product search widget is not included in the page builder elements. Basically, you can do the following:

    Create a new custom sidebar called “Content Search” under Theme Options > Sidebars

    Under Appearance > Widgets assign an instance of the Products Search widget to the newly created custom sidebar.

    Open the page where you want the search bar to appear and place a “Widgetized Sidebar” content element using the page builder. Set this element to use the custom sidebar and you’re good to go. We are using the same approach in our Marketplace Demo.

    Hope this helps.

    Regards,
    Dimitar

    #21523
    lucymuddle
    Participant

    Amazing, this worked perfectly! Thank you so much.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register