caromax Posted November 2, 2012 Share Posted November 2, 2012 (edited) Hi, I created a tracking-order.tpl page to allow customers to check the statut an order. The customer comes to the page tracking-order.php and entering his order number and his email address and must to click on submit button to search the history of this order. After clicking this button, the result is displayed. But i don't how to code the page tracking-order.php. Someone can help me please ? This is my tracking-order.tpl {capture name=path} {l s='Tracking Order'} {/capture} {include file=$tpl_dir./breadcrumb.tpl} {include file=$tpl_dir./errors.tpl} <h2> {l s='Tracking My Order'} </h2> <form action="{$base_dir_ssl}tracking-order.php" method="post" id="tracking" class="std4"> <fieldset> <h3> {l s='Tracking This Order'} </h3> <p class="text"> <label for="id_order"> {l s='ID Order :'} </label> <span> <input type="text" id="id_order" name="id_order" value="{if isset($smarty.post.id_order)}{$smarty.post.id_order|escape:'htmlall'|stripslashes}{/if}" class="account_input input_id_order" /> </span> </p> <p class="text"> <label for="email"> {l s='E-mail address :'} </label> <span> <input type="text" style="text-transform: lowercase;" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall'|stripslashes}{/if}" class="account_input input_email_login" /> </span> </p> <p class="submit"> {if isset($back)} <input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" /> {/if} <input type="submit" name="submitTrackingOrder" class="button" value="{l s='Search this order'}" /> </p> </fieldset> </form> Edited December 16, 2012 by caromax (see edit history) Link to comment Share on other sites More sharing options...
caromax Posted December 16, 2012 Author Share Posted December 16, 2012 Solved for me Link to comment Share on other sites More sharing options...
ciptanegara Posted December 20, 2012 Share Posted December 20, 2012 Solved for me I would like to know the code..can you explain ?? thank you Link to comment Share on other sites More sharing options...
jwzumwalt Posted December 22, 2012 Share Posted December 22, 2012 Please provide the entire code so that the rest of us can learn from it - thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now