Forums › Forums › Search & Filter Pro › Post Meta (Custom Fields) not working
Tagged: custom fields, post meta
- This topic has 14 replies, 3 voices, and was last updated 5 years, 11 months ago by
Ross.
-
Ross Moderator(Private) December 21, 2020 at 1:06 pm #270500
Hi Murtaza
Just to check if I follow you correctly – can you answer:
1) You want to be able to use the search input field, to search for a discount amount, like
20%? So you have combined that with Relevanssi to achieve this?2) Are you also trying to create filter (checkboxes) to show discount amounts that the user can select?
3) I don’t see discount field in your search form so its hard to test – am I ok to add it back in (or can you)?
Thanks
Anonymous(Private) December 21, 2020 at 1:28 pm #270508Hello Ross,
1. I had combined it with Relevanssi and I had included the field in the filter which appears in the search result page.
2. I was able to create the filter (Checkboxes) to show discount amounts so the user can select. The discount amounts showed perfectly, however by selecting any of the discount amounts, the search was not filtering.
3. I haven’t added the field in the search form because I don’t want it to be there. I just want it to appear in the filters. But for testing purposes if you wish to add it go ahead.
PS.
– field name is discount_postRoss Moderator(Private) December 21, 2020 at 2:49 pm #270536This reply has been marked as private.Ross Moderator(Private) December 23, 2020 at 4:30 pm #270959This reply has been marked as private. -
AuthorPosts