GrayHunter Posted September 9, 2014 Share Posted September 9, 2014 In the viewinvoice.tpl file I have <form method="post" action="{$smarty.server.PHP_SELF}?id={$invoiceid}">{$gatewaydropdown}</form> But I do need to show my gateways as a list but not as a drop down... I try to use smth like {foreach key=num item=gateway from=$paymentmodule} But this doesn't work... Help me pls. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted September 10, 2014 Share Posted September 10, 2014 Note: when changing the gateway option from invoice the selected gateway will be the default in client account. this tag {$gatewaydropdown} return complete HTML code, and the $paymentmodule contain current gateway module (only one) so {foreach} is not needed here. 0 Quote Link to comment Share on other sites More sharing options...
GrayHunter Posted September 10, 2014 Author Share Posted September 10, 2014 Thank you. Yes, but I need all the available gateways to list them like this: - First gateway - Second gateway - Third gateway How can I get it at/in viewinvoice.tpl? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.