Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › meta data search
This topic contains 11 replies, has 2 voices, and was last updated by Ernest Marcinko 7 years, 2 months ago.
- AuthorPosts
- June 19, 2017 at 9:22 am #13648
hi
thank you very much for this AMAZING plugin ?
I have a website with two option (I have this/I need this) when a user upload PRODUCT (choose one of two radio button) so all i want to do is make the user able to make a search box dedicated to only these option,
these option are mad by userpro plugin they told me it is a meta data but I don’t know how can I put these option in your search setting while I don’t know what the exactly class they are use it.
I already asked them but they didn’t answer me . so could please help me with that ?thank you and I’m appreciated ..
June 19, 2017 at 3:58 pm #13670Hi!
Thank you very much for your kind words, I really appreciate that!
Did they tell which fields store this information by any chance? I believe this could be possible with a custom filter code.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 20, 2017 at 12:22 pm #13708hi
they put these two options as action and they said “the meta for these two options was already added in the WooCommerce plugin ” they mean WC Fields Factory plugin .
these option were created when a user upload product choose one of them, but I don’t know where info will be storeJune 21, 2017 at 10:00 am #13733June 21, 2017 at 11:24 am #13736You cannot access this content.June 21, 2017 at 12:56 pm #13739Hi!
I think you have the filter correctly, the wccaf_type_of_product contains either ‘I have this’ or ‘I need this’ as a string.
If the override is not working, then it’s most likely because the theme search is hard coded and not possible to override. I will log in in a second via FTP to see if I can replace it manually.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 21, 2017 at 1:06 pm #13741Hi,
I have found that the search forms were printed by the block-header-menu.php file in the child theme directory.
I have disabled lines 35-59 (with HTML comments), and placed the search PHP shortcode there instead:
<php echo do_shortcode('[wd_asp id=1]'); ?>
I’ve also added this custom CSS rule to make the search float to the right as the original ones:
Best,.asp_main_container { float: right !important; }
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 21, 2017 at 1:27 pm #13744THANK YOU SO MUCH
I create other search and I want to put it with the same search tap so I can have two search box
how can I do that?thanks
June 21, 2017 at 1:29 pm #13745I want to mention I added two search code in theme header
June 21, 2017 at 4:44 pm #13751Hi,
I’ve placed both shortcodes into the block-header-menu.php file in the child theme directory for you, you can edit them on line 33 and 34.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 22, 2017 at 9:22 am #13758THANK YOU VERY MUCH
I appreciate your help
June 22, 2017 at 12:01 pm #13760You cannot access this content. 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.