This question has been flagged

I am created a custom field on product form , which is selection field (product for sale or rent ).

i want this in my website filter in dropdown menu .

what is the easiest way to create a custom filter n showing its result ?

i dont want to add this field in website product category.

Avatar
Discard
Best Answer

Hi Mahi,

You can use sale and rent as product attributes, then it will come automatically on the webshop. You can create your own search view, similar to the existing website search box. On the button to run a select query where the new field is the text given in the search box. So people will search for sale or rent products. As placeholder you can write 'sale' or 'rent'. Result will be products for sale or for rent or no products if the text is not sale or rent.

Avatar
Discard