mhmb87 Posted January 23, 2012 Share Posted January 23, 2012 hi guys i install this module and i have a problem with it: in description of this module say if you not logged in this module show customer this block: and if customer in logged in show this block: if you see "order number" is <select>, BUT when i logged in this field dosent change and continue <input> i realised in source code if order number is more than 0 this field it should has been appeared, this part of source code is: <label for="id_order">{l s='Order number' mod='confirmpayment'}:</label> {if isset($id_orders)} {if count($id_orders) > 0} <select class="selorder" name="id_order"> <option value="">{l s='Plase select order id' mod='confirmpayment'}</option> {foreach from=$id_orders key=key item=order} <option value="{$key}" {if isset($smarty.post.id_order) && $smarty.post.id_order == $order}selected="true"{/if}> #{$order}</option> {/foreach} </select> <input type="text" name="id_order" value="" class="txtorder" style="display:none;" disabled="true" /><sup> * </sup> <a class="aselorder" style="margin-left:5px;cursor:pointer;" onclick="switchInput('order', true);">{l s='Not listed' mod='confirmpayment'}</a> <a class="atxtorder" style="margin-left:5px;cursor:pointer;display:none;" onclick="switchInput('order', false);">{l s='Back' mod='confirmpayment'}</a> {else} <input type="text" name="id_order" value="" /><sup> * </sup> {/if} {else} <input type="text" id="id_order" name="id_order" value="{if isset($smarty.post.id_order)}{$smarty.post.id_order|escape:'htmlall':'UTF-8'|stripslashes}{/if}" /> {/if} please help me to solve my problem thanks alot and sorry for my bad english confirmpayment.zip Link to comment Share on other sites More sharing options...
mhmb87 Posted January 24, 2012 Author Share Posted January 24, 2012 any help??? Link to comment Share on other sites More sharing options...
Recommended Posts