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

How can I duplicate the searchbar? I'm trying it like this with a new modul

I want to have a second way to filter the (product attributes from variant products in the sale.order)

It should be simply and not with to much clicks or too much time waste to select a filter for example: attributes.

So I think to make a second searchbar would be the best way, so that this one has only 1 filter attribute , so I can filter the product variants easly....


I'm searching for a way to make a simple search field with 1 filter="attributes" for all products variants.


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

What is your usecase ? 

If you are tring to duplicate the search bar to have 2 input, it is probably not the best solution :)

Maybe that we could help you if we have more details on what you are trying to do...


EDIT


That exists by default... (just checked in V8)

 

Ảnh đại diện
Huỷ bỏ
Tác giả

I want to make a searching field for product-attributes only, so the search to a variant product with attribute is simply and easy. Not with too much clicks or to much time waste.

Tác giả

The problem is when you have alot of attributes in product variants. You can't filter for example attribut: height, width, weight. it makes you allways an "OR" instant of an "AND"

Câu trả lời hay nhất

Go to Setting > Technical > User Interface > Views. Find out your search view and just duplicate it. 

Ảnh đại diện
Huỷ bỏ
Tác giả

When I do this, I see only 1 searchbar, I need to see 2 of them

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 10 23
1754
5
thg 3 22
15504
0
thg 11 16
2890
1
thg 9 15
5455
2
thg 3 15
8349