- This topic has 1 reply, 2 voices, and was last updated 7 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
	
Viewing 2 posts - 1 through 2 (of 2 total)
	
- You must be logged in to reply to this topic.


Home › Forums › Pro Themes › eCommerce Market Pro › Header search form
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.
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 !!
| Cookie | Duration | Description | 
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". | 
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". | 
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". | 
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. | 
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". | 
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. | 
 
	    


