Skip to content

Commit

Permalink
AM-132 - use adyen button for order submit button
Browse files Browse the repository at this point in the history
  • Loading branch information
nils.baczynski@fatchip.de authored and nils.baczynski@fatchip.de committed Sep 24, 2024
1 parent 58fb7af commit ea554d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
[{include file="modules/osc/adyen/payment/adyen_assets.tpl"}]

[{if $payment->isAdyenCreditCardPayment()}]
[{$smarty.block.parent}]
<div class="">
<button type="submit" class="adyen-checkout__button adyen-checkout__button--pay btn-lg pull-right largeButton">
<i class="fa fa-check"></i> [{oxmultilang ident="SUBMIT_ORDER"}]
</button>
</div>
[{/if}]

[{include file="modules/osc/adyen/payment/adyen_order_submit.tpl"}]
Expand Down
4 changes: 3 additions & 1 deletion views/frontend/tpl/payment/adyen_order_submit.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[{assign var="sPaymentID" value=$payment->getId()}]
[{assign var="containerId" value=$oViewConf->getTemplatePayButtonContainerId($payment)}]
<div class="pull-right submitButton nextStep">
[{oxmultilang ident="OSC_ADYEN_BUY_NOW_PAY_WITH"}]
[{if !$payment->isAdyenCreditCardPayment()}]
[{oxmultilang ident="OSC_ADYEN_BUY_NOW_PAY_WITH"}]
[{/if}]
<div id="[{$containerId}]"
data-paymentid="payment_[{$sPaymentID}]"
></div>
Expand Down

0 comments on commit ea554d8

Please sign in to comment.