Search by product attributes – woocommerce

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search by product attributes – woocommerce

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10029
    luizfernando4
    luizfernando4
    Participant

    Hello,

    How can I configure to search by product specific attributes?

    I already know that is possible filter by attrbutes, but what I want is to search not just by titles but also by product specifications.

    Thank you!

    #10035
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    WooCommerce product attributes are actually custom fields. On the General Options -> Sources panel select the ones which begin with the prefix “attribute_”: https://i.imgur.com/v2CtY6h.png

    Alternatively you can turn on the “Search all custom fields” option: https://i.imgur.com/cuAg7V0.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #10036
    luizfernando4
    luizfernando4
    Participant

    Hi,

    I turned on the “Search all custom fields” option but they don’t are visible on frontend search…

    All I can see are the default options “Exact terms only”, “Search by title” and “Search on content”.

    Attachments:
    You must be logged in to view attached files.
    #10038
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi again,

    “I already know that is possible filter by attrbutes, but what I want is to search not just by titles but also by product specifications.”

    I thought you meant searching the product attributes content, not using options on front-end.

    If you want to make a dropdown/checkbox/radio etc.. visible filters for product attributes, then you need to create custom field filters: https://goo.gl/6dKjaP

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.