on 2017 Oct 03 12:08 PM
I have the requirement to add an attribute of other item type to the advance search config for Order. Can someone let me know any solutions for the same?
Hi sumit, here's the code sample of how this can be achieved through backoffice-config.xml files
<context merge-by="type" parent="GenericItem" type="Order" component="advanced-search" >
<advanced-search:field-list >
<!-- Add the custom field here -->
<advanced-search:field name="customerfield" />
</advanced-search:field-list>
</advanced-search:advanced-search>
</context>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhanunjay,
Thanks for the response, but the sample you have shared is to add the attribute of the same item type in advanced search, but in my case i need to add attribute of different item type . I have that itemtype added to my item type but not the attributes.
Like Order have Account Item type, and Account type is having the attribute ID. I want to use the ID attribute from account type to search my order.
Regards,
User | Count |
---|---|
11 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.