Home Forums WoodMart support forum how to add custom field to system search?

how to add custom field to system search?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #187290

    sajadsaadat
    Participant

    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

    #187304

    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

    #187341

    sajadsaadat
    Participant

    Thank you.

    How can I edit the search code in the theme and add the custom field I want to the search?

    #187449

    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

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