Difference between revisions of "More options for Advance Order Search's Keyword part"
From AbleCommerce Wiki
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
BillToCity | BillToCity | ||
BillToProvince | BillToProvince | ||
+ | BillToCountryCode | ||
ShipToFirstName | ShipToFirstName | ||
ShipToLastName | ShipToLastName | ||
Line 17: | Line 18: | ||
ShipToCity | ShipToCity | ||
ShipToProvince | ShipToProvince | ||
+ | ShipToCountryCode | ||
OrderNotes | OrderNotes | ||
</pre> | </pre> | ||
Line 40: | Line 42: | ||
The above code shows the default options available in code. You can easily modify the code to add more options as bellow where i have added the '''ShipToFirstName'''. | The above code shows the default options available in code. You can easily modify the code to add more options as bellow where i have added the '''ShipToFirstName'''. | ||
− | |||
<code> | <code> |
Latest revision as of 07:32, 16 September 2008
You can easily incorporate some more options for the Keyword part of the Advance Order Search. Following is a list of the options available on the Keyword part of the Advance Order Search.
BillToFirstName BillToLastName BillToCompany BillToAddress1 BillToAddress2 BillToCity BillToProvince BillToCountryCode ShipToFirstName ShipToLastName ShipToCompany ShipToAddress1 ShipToAddress2 ShipToCity ShipToProvince ShipToCountryCode OrderNotes
For example Edit the Website/Admin/Orders/Default.aspx file and locate the following code
<asp:DropDownList ID="KeywordSearchField" runat="server"> <asp:ListItem Value="BillToLastName" Text="Bill To Last Name"></asp:ListItem> <asp:ListItem Value="BillToCompany" Text="Bill To Company"></asp:ListItem> <asp:ListItem Value="BillToAddress1" Text="Bill To Address"></asp:ListItem> <asp:ListItem Value="ShipToLastName" Text="Ship To Last Name"></asp:ListItem> <asp:ListItem Value="ShipToCompany" Text="Ship To Company"></asp:ListItem> <asp:ListItem Value="ShipToAddress1" Text="Ship To Address"></asp:ListItem> <asp:ListItem Value="OrderNotes" Text="Order Notes"></asp:ListItem> </asp:DropDownList>
The above code shows the default options available in code. You can easily modify the code to add more options as bellow where i have added the ShipToFirstName.
<asp:DropDownList ID="KeywordSearchField" runat="server"> <asp:ListItem Value="BillToLastName" Text="Bill To Last Name"></asp:ListItem> <asp:ListItem Value="BillToCompany" Text="Bill To Company"></asp:ListItem> <asp:ListItem Value="BillToAddress1" Text="Bill To Address"></asp:ListItem> <asp:ListItem Value="ShipToLastName" Text="Ship To Last Name"></asp:ListItem> <asp:ListItem Value="ShipToCompany" Text="Ship To Company"></asp:ListItem> <asp:ListItem Value="ShipToAddress1" Text="Ship To Address"></asp:ListItem> <asp:ListItem Value="OrderNotes" Text="Order Notes"></asp:ListItem> <asp:ListItem Value="ShipToFirstName" Text="Ship To First Name"></asp:ListItem> </asp:DropDownList>