The search by custom field - by Andrei - on WordPress WooCommerce support

This topic has 6 replies, 2 voices, and was last updated 4 years, 4 months ago ago by Andrei

  • Avatar: Andrei
    Andrei
    Participant
    October 16, 2020 at 14:25

    Hello!

    Is there any way to search on the website worked on arbitrary fields?

    Installed the ACF plugin: Better Search, but he finds if you do not press the inter and simply enter the phrase into the search field. If you press inter, then after the page is loaded, there is some kind of conflict and breaks the layout of the header.

    There may be a solution to search by custom field?

    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 16, 2020 at 15:27

    Hello,

    We don’t have a built-in search by the custom fields, so you can implement it only by additional customization.

    If you provide us with WP Dashboard and FTP access to your site we could check the mentioned issue after the search with the ACF plugin. Tell also what keywords you use.

    Regards

    Avatar: Andrei
    Andrei
    Participant
    October 21, 2020 at 08:14

    I use two of the article. The first native article SKU, I don’t show on the website, it so to say technical. It comes with a binding that is in line with the article, to automatically change prices on the website.

    And the second article (sku_okdp) is an arbitrary field. I show it on the website instead of the first. This is the factory marking of goods and people can search in search.

    For example this item https://uprof.by/product/fonar-akkumulyatornyy-bosch-gli-12v-300-bez-akkumulyatora/ – his article (an arbitrary field) 06014A1000. If you type it in a search, then everything works. But if you enter a non-existent article, for example 06008B7200 and press inter, then looking for a long time, and then everything is broken.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 21, 2020 at 17:11

    Hello,

    Thank you. I have passed your issue to our developers. I’ll inform you once they fix the problem.

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 23, 2020 at 16:08

    Hello,

    We have added a fix to the child theme. Check now.

    Regards

    Avatar: Andrei
    Andrei
    Participant
    October 26, 2020 at 13:23

    Yes, everything works well! Thank You very much!

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘The search by custom field’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.