{** * 2007-2019 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2019 PrestaShop SA * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} {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} {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}