Forums › Forums › Search & Filter Pro › Add discount filter?
Tagged: V3
- This topic has 5 replies, 2 voices, and was last updated 3 years, 10 months ago by Trevor.
-
Anonymous(Private) January 27, 2021 at 3:58 am #274150
Hello. This is a form I created: https://i.gyazo.com/93ce2889bf14a0244217789134c1c3eb.png
I would like to add a checkbox so only discounted products will show. Is it possible?
Trevor(Private) January 27, 2021 at 5:11 am #274161The image comes up as an error, sorry. However, if this is WordPress, my recollection is that WordPress has no field that simply designates a product as having a discounted price (if it did, or you added such a custom field, then it might be possible, but every product would need a value in that field, discounted or not discounted, which would mean you would have to bulk edit products). Instead, WordPress ‘knows’ a product is discounted by comparing the normal price to IF there is a different price, or a price at all, in the discounted price field. Against that criteria, this cannot be added as a selector field in the form, sorry.
We are changing the way fields can be made in V3 (due in a few months, depending on our development team workload), so this situation may change.
Trevor(Private) January 27, 2021 at 7:40 am #274188Unless, when you add a Post Meta field in our Form UI, and look at the list of meta keys available, that one is obviously to show if a product is discounted, then the answer is probably no.
Where does the datafeeder plugin/code get its data from, and do you do this regularly, as our post cache might not see them being imported, with some extra code? I wonder if what is imported could have an extra field added (for example, if you were importing from a spreadsheet, that would probably be easy to add.
Does the datafeeder plugin import only new products, all products, or just existing products with changes?
I do have code that allows the WP ALL Import plugin to update our cache, but I have not dealt with datafeeder before.
I will be back on this later today (starting in about 9 hours from now).
Anonymous(Private) January 27, 2021 at 7:54 am #274196Doesn’t seem like that. I’m using a plugin that allows me to search the product feed of the merchants. There is a way to import only discounted products so they probably get assigned something. I’ll try to figure it out & if not it’s not very important. Thanks for helping!
-
AuthorPosts