first commit
This commit is contained in:
125
themes/at_movic/templates/checkout/order-confirmation.tpl
Normal file
125
themes/at_movic/templates/checkout/order-confirmation.tpl
Normal file
@@ -0,0 +1,125 @@
|
||||
{*
|
||||
* @Module Name: AP Page Builder
|
||||
* @Website: apollotheme.com - prestashop template provider
|
||||
* @author Apollotheme <apollotheme@gmail.com>
|
||||
* @copyright Apollotheme
|
||||
* @description: ApPageBuilder is module help you can build content for your shop
|
||||
*}
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_content_container' prepend}
|
||||
<section id="content-hook_order_confirmation" class="card">
|
||||
<div class="card-block">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
{block name='order_confirmation_header'}
|
||||
<img src="/themes/at_movic/assets/img/icons/thank-you.svg" alt="">
|
||||
<h3 class="h1 card-title">
|
||||
{l s='Thank you for buying' d='Shop.Theme.Checkout'}
|
||||
{* {l s='Your order is confirmed' d='Shop.Theme.Checkout'} *}
|
||||
</h3>
|
||||
{/block}
|
||||
|
||||
<p>
|
||||
{l s='Thank you for buying text' d='Shop.Theme.Checkout'}<br />
|
||||
{l s='Thank you for buying state' d='Shop.Theme.Checkout'}
|
||||
{* {l s='An email has been sent to your mail address %email%.' d='Shop.Theme.Checkout' sprintf=['%email%' => $customer.email]} *}
|
||||
{* {if $order.details.invoice_url}
|
||||
{l
|
||||
s='You can also [1]download your invoice[/1]'
|
||||
d='Shop.Theme.Checkout'
|
||||
sprintf=[
|
||||
'[1]' => "<a href='{$order.details.invoice_url}'>",
|
||||
'[/1]' => "</a>"
|
||||
]
|
||||
}
|
||||
{/if} *}
|
||||
</p>
|
||||
|
||||
<div class="card-block-buttons">
|
||||
<a class="btn btn1" href="/">Strona główna</a>
|
||||
<a class="btn btn2" href="/moje-konto">moje konto</a>
|
||||
</div>
|
||||
|
||||
{* {block name='hook_order_confirmation'}
|
||||
{$HOOK_ORDER_CONFIRMATION nofilter}
|
||||
{/block} *}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/block}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-content page-order-confirmation card">
|
||||
<div class="card-block">
|
||||
<div class="row">
|
||||
|
||||
{block name='order_confirmation_table'}
|
||||
{include
|
||||
file='checkout/_partials/order-confirmation-table.tpl'
|
||||
products=$order.products
|
||||
subtotals=$order.subtotals
|
||||
totals=$order.totals
|
||||
labels=$order.labels
|
||||
add_product_link=false
|
||||
}
|
||||
{/block}
|
||||
|
||||
{block name='order_details'}
|
||||
<div id="order-details" class="col-md-4">
|
||||
<h3 class="h3 card-title">{l s='Order details' d='Shop.Theme.Checkout'}:</h3>
|
||||
<ul>
|
||||
<li>{l s='Order reference: %reference%' d='Shop.Theme.Checkout' sprintf=['%reference%' => $order.details.reference]}</li>
|
||||
<li>{l s='Payment method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.details.payment]}</li>
|
||||
{if !$order.details.is_virtual}
|
||||
<li>
|
||||
{l s='Shipping method: %method%' d='Shop.Theme.Checkout' sprintf=['%method%' => $order.carrier.name]}<br>
|
||||
<em>{$order.carrier.delay}</em>
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{block name='hook_payment_return'}
|
||||
{if ! empty($HOOK_PAYMENT_RETURN)}
|
||||
<section id="content-hook_payment_return" class="card definition-list">
|
||||
<div class="card-block">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{$HOOK_PAYMENT_RETURN nofilter}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='customer_registration_form'}
|
||||
{if $customer.is_guest}
|
||||
<div id="registration-form" class="card">
|
||||
<div class="card-block">
|
||||
<h4 class="h4">{l s='Save time on your next order, sign up now' d='Shop.Theme.Checkout'}</h4>
|
||||
{render file='customer/_partials/customer-form.tpl' ui=$register_form}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='hook_order_confirmation_1'}
|
||||
{hook h='displayOrderConfirmation1'}
|
||||
{/block}
|
||||
|
||||
{block name='hook_order_confirmation_2'}
|
||||
<section id="content-hook-order-confirmation-footer">
|
||||
{hook h='displayOrderConfirmation2'}
|
||||
</section>
|
||||
{/block}
|
||||
{/block}
|
||||
Reference in New Issue
Block a user