{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}
{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}
{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} {hook h='displayCheckoutBeforeConfirmation'} {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}