{extends file='checkout/_partials/steps/checkout-step.tpl'} {block name='step_content'} {hook h='displayPaymentTop'} {* used by javascript to correctly handle cart updates when we are on payment step (eg vouchers added) *} {if !empty($display_transaction_updated_info)}

{l s='Transaction amount has been correctly updated' d='Shop.Theme.Checkout'}

{/if} {if $is_free}

{l s='No payment needed for this order' d='Shop.Theme.Checkout'}

{/if} {* MARK: Własne ustawienia opcje płatności *} {assign var='customPaymentOptions' value=[ 'paynow' => [ 'img' => '/modules/paynow/views/img/logo-paynow.png', 'label' => 'BLIK, karty, szybkie przelewy' ], 'ps_wirepayment' => [ 'label' => 'Przelew bankowy' ], 'caraty' => [ 'label' => 'Raty CA' ], 'santandercredit' => [ 'label' => 'Raty Santander' ], 'payment-option-4' => [ 'img' => '/modules/raty/alior.gif', 'label' => 'Raty Alior' ], 'ps_cashondelivery' => [ 'label' => 'Płatność przy odbiorze' ] ]}

Szybkie płatności

Metody finansowania

Płatność tradycyjna

{foreach from=$payment_options item="module_options"} {foreach from=$module_options item="option"}
{* This is the way an option should be selected when Javascript is enabled *} {* This is the way an option should be selected when Javascript is disabled *}
{if $option.id === $selected_payment_option} {l s='Selected' d='Shop.Theme.Checkout'} {else} {/if}
{assign var='key' value=$option.module_name|default:$option.id} {if isset($customPaymentOptions[$key])} {else} {/if} {* *}
{if $option.additionalInformation}
{$option.additionalInformation nofilter}
{/if}
{if $option.form} {$option.form nofilter} {else}
{foreach from=$option.inputs item=input} {/foreach}
{/if}
{/foreach} {foreachelse}

{l s='Unfortunately, there are no payment method available.' d='Shop.Theme.Checkout'}

{/foreach}
{if $conditions_to_approve|count}

{* At the moment, we're not showing the checkboxes when JS is disabled because it makes ensuring they were checked very tricky and overcomplicates the template. Might change later. *} {l s='By confirming the order, you certify that you have read and agree with all of the conditions below:' d='Shop.Theme.Checkout'}

{/if} {if $show_final_summary} {include file='checkout/_partials/order-final-summary.tpl'} {/if}
{if $show_final_summary} {/if}
{if $selected_payment_option and $all_conditions_approved} {/if}
{hook h='displayPaymentByBinaries'} {/block}