Support » Plugin: WooCommerce Predictive Search » Is it possible to search by custom field (meta_value) on Product page?

  • Resolved Fuel


    I have added one custom field on Product edit page for “Product tagline” using Advance Custom Fields

    It stores value on “wp-postmeta” in “meta_value” field.

    so in search query right now it search with “title only”

    let me explain you with example 🙂
    for e.g Product title(which is default post title) is “apple macbook”
    and Product tagline (custom field) is “500GB, very slim, powerfull“.

    so if i start to write “powerfull” in search textbox then, search popup will show us “apple macbook” product.

    I hope you understand my problem.

    If it is available in PRO version then please suggest me, i will buy also.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Steve Truman



    Thank you for the detailed explanation. Over the past couple of months we have had all kinds of custom requests for things that people want WooCommerce Predictive Search to query and return results for, from custom meta to custom taxonomies to just today a request for the WordPress generated post ID.

    I believe we have developed a solution that will accommodate most folks and are in the process of testing it at the moment – expect that we will be releasing it Saturday in the Pro Version.

    Briefly the feature upgrade will:

    1. Add a Predictive search ‘Focus keyword’ meta to each page and post, similar to what you are doing with custom fields. You enter ‘keywords’ that you want the product to show in the search for. In your example if the user starts typing ‘powerful’ then the ‘Apple mac’ product will show in the search dropdown.

    2. If you use Yoasts WordPress SEO plugin you will be able to check a box on the admin panel and the plugin will also do the same with any ‘Focus keyword’ set in that plugin. This is in addition to any Predictive Search ‘Focus Keywords’ that you might set.

    Adding these features we think will give most admins the very good flexibility and power in optimizing their products, posts and pages for site search.

    Hello Steve! I bought yesterday your plugins and it is fantastic! I also need to look for attributes …. the shop that I am creating sells wines, and each product has many attributes that make up a data sheet … for example: grape, producer,% alcohol ect … If they were searchable attributes the search would be super!
    This is the change you are talking about above? It’s under construction?
    Sorry for my English..
    Niceee plugins !!!

    Plugin Author Steve Truman



    version 2.0 Lite and Pro is out – please be sure to upgrade. I think you’ll find the new features pretty well allow you to optimize you site search any way you want on the Pro Version and some nice feature upgrades for the lite Version users

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is it possible to search by custom field (meta_value) on Product page?’ is closed to new replies.