Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3630 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 21
8668
1
thg 6 15
3198
2
thg 5 15
4765
0
thg 3 15
4831
4
thg 5 25
7485