Is it possible to add a search field to the Order Status page when using template formatting?
(2003/07/21) Yes, there are tokens available to add this functionality. All of these must appear between the %beginform% and %endform% tokens in the main template.
The token to add the search box to the template is:
%searchbox% (displays 20 chars long) OR
%searchbox|xxx|% (where xxx is the length)
The "search" button is displayed with:
%searchbutton%
You can add the ability to search by date (or date range) with:
%search_date% (displays a checkbox option that will apply the search to a particular date)
%search_month1% (lower end of range; selection list for month)
%search_month2% (upper end of range)
%search_year1% (selection list for year)
%search_years2%
%search_day1% (selection list for day of month)
%search_day2%
So to add a search box to the template and provide the ability to search by a particular date range(if both are set to the same date it will search just that date) you could add the following to the main template, right below the %beginform% token:
<table>
<tr><td>
%searchbox% %searchbutton%
</td></tr>
<tr><td>
%search_date% Search dates: from %search_month1%/%search_day1%/%search_year1% to
%search_month2%/%search_day2%/%search_year2%
</td></tr>
</table>
Last update: 2004-12-09 13:38
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
- Is there any way to look up a customer's ... (2008-08-06 18:04)
- I am looking for a module that will allow ... (2008-08-06 18:00)
Top 10 
- 2843 views:
Adding Tokens to Evaluate Expressions - 2779 views:
Is there a way to "Limit" the number of ... - 2724 views:
Why won't you call me for technical support? I ... - 2615 views:
Are license keys valid for more than one store? ... - 2509 views:
I'm trying to enter a license key and get ... - 2495 views:
How do I install a module? - 2346 views:
How do I check for a module upgrade? - 2313 views:
How can display and change the parameters of an ... - 2160 views:
The total on my checkout pages are not correct. ... - 1973 views:
I have select and radio type attributes in my ...
















