Articlevoucher/src/Application/views/azure/tpl/checkout/checkout_basket_main_adderr...

13 lines
478 B
Smarty

[{if count($Errors)>0 && count($Errors.loginBoxErrors) > 0}]
[{foreach from=$Errors.loginBoxErrors item=oEr key=key }]
[{if $oEr->getErrorClassType() == 'oxVoucherException'}]
<div class="status error corners">
[{oxmultilang ident="COUPON_NOT_ACCEPTED" args=$oEr->getValue('voucherNr')}]
<br><strong>[{ oxmultilang ident="REASON" suffix="COLON"}]</strong>
[{$oEr->getOxMessage()}]
</div>
[{/if}]
[{/foreach}]
[{/if}]