Home Forums Pro Themes eCommerce Market Pro Header search form

This topic contains 1 reply, has 2 voices, and was last updated by  wensolutions 1 year, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #70490

    Simone Pugno
    Participant

    Good morning,
    it’s possible remove the categories selection box in the header search form? I preferr to just have the search for products box.
    Thank you and best regards.

    #70511

    wensolutions
    Keymaster

    Hello @vestitigratis,

    You can remove the product search form categories dropdown by customizing the theme via a child theme.

    For reference on creating and using the child theme, please check the link here :

    https://codex.wordpress.org/Child_Themes

    You can also automate the task by using the Child theme generator plugin.

    After creating and activating the child theme, create a new file “product-search.php” in your child-theme/template-parts directory and add the following code in the product-search.php file :

    This will remove the category dropdown from the header product search.

    Best Regards !!

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

You must be logged in to reply to this topic.