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 8 years ago.
- AuthorPosts
- September 9, 2016 at 6:03 am #10029
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!
September 9, 2016 at 11:25 am #10035Hi,
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 :)
September 9, 2016 at 1:20 pm #10036Hi,
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.September 9, 2016 at 1:33 pm #10038Hi 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 :)
- AuthorPosts
You must be logged in to reply to this topic.