
asteiner274(@asteiner274)
1 Post
Customers
Quote from asteiner274 on January 22, 2021, 06:04
Hello, I am using a meta filter with text search, and I would like to be able to make changes to the resulting query. This meta text field is being used to enter a length value, and we want to allow the user to input their length measurement in mm or inches. I have radio buttons for the user to select their unit of measurement. Our database stores length values in mm, so when the 'inches' radio is checked, I want to be able to convert the user input back to mm, and use this value in filter query, rather than the value in the text field. As I've been sifting through the files, I haven't found the correct spot to make this intervention to modify the query. Thanks in advance.
Hello, I am using a meta filter with text search, and I would like to be able to make changes to the resulting query. This meta text field is being used to enter a length value, and we want to allow the user to input their length measurement in mm or inches. I have radio buttons for the user to select their unit of measurement. Our database stores length values in mm, so when the 'inches' radio is checked, I want to be able to convert the user input back to mm, and use this value in filter query, rather than the value in the text field. As I've been sifting through the files, I haven't found the correct spot to make this intervention to modify the query. Thanks in advance.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on January 22, 2021, 13:40
Hello
Please read this - https://products-filter.com/hook/woof_get_meta_query/
Hello
Please read this - https://products-filter.com/hook/woof_get_meta_query/