Jump to content

Show HTML_<P> only if currency is USD


Recommended Posts

Hi!

      I have a simple question.

 

I need in module banwire: bankwire/views/templates/hook/payment.tpl to show a line only if selected currency is USD (dollar)

 

example:

 

<div class="row">
<div class="col-xs-12 col-md-6">
        <p class="payment_module">
            <a 
            class="bankwire" 
            href="{$link->getModuleLink('bankwire', 'payment')|escape:'html':'UTF-8'}" 
            title="{l s='Pay by bank wire' mod='bankwire'}">
             {l s='Pay by bank wire' mod='bankwire'} <span>{l s='(order processing will be longer)' mod='bankwire'}</span>
            </a>
        </p>
 
if current_currency = USD {
<p>Listen! You have selected American USD money</p>
}
 
 
    </div>
</div>
 
Is there a way to do that?

Thanks!

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...