how to add custom field to system search?
-
Hi
How do I add a custom field to the Template Search section?
For example, I defined a custom field for products and I want the products for which this field is filled to be displayed when the user enters it in the search box?
Regards
Sajad
Hello,
Thank you very much for choosing our theme and for contacting us.
Unfortunately, Woocommerce does not provide such an option in its Search functionality. You will have to find a plugin. We have not faced or tested any that is why we can hardly recommend it.
Best Regards
Thank you.
How can I edit the search code in the theme and add the custom field I want to the search?
Hello,
Here is the file with the Search code: woodmart\inc\modules\search.php
We do not have an instruction on how to add an additional field.
Best Regards