bebeboutik/themes/site_mobile/order-confirmation.tpl

93 lines
3.7 KiB
Smarty
Raw Permalink Normal View History

2016-01-04 12:48:08 +01:00
{*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 <contact@prestashop.com>
* @copyright 2007-2011 PrestaShop SA
* @version Release: $Revision: 8088 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{capture name=path}{l s='Order confirmation'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
{assign var='current_step' value='payment'}
{include file="$tpl_dir./order-steps.tpl"}
2016-04-20 17:35:03 +02:00
<h1 class="title"><span>{l s='Order confirmation'}</span></h1>
2016-01-04 12:48:08 +01:00
{include file="$tpl_dir./errors.tpl"}
2016-04-20 17:35:03 +02:00
{if $order->valid}
<div id="order_conf_detail">
<div class="order_conf_left">
<p><strong>{l s='Hello'} {$customer->firstname},</strong></p>
<p>{l s='You just order on Bébé boutik and we thank you in'}</p>
<p>{l s='The tracking number will be emailed upon shipment of the package'}</p>
<p>{l s='You can download your invoice in your account, on'} <a href="{$link->getPageLink('history.php', true)}">"{l s='Order History'}"</a></p>
</div>
2017-06-22 16:53:29 +02:00
<div class="clearfix"></div>
2016-04-20 17:35:03 +02:00
<h3>{l s='Details of your order'}</h3>
<div id="order-detail-content" class="table_block">
{foreach from=$products item=details}
<h4 class="delay_cart">{$details.title}</h4>
{foreach $details.products as $product}
<div class="order_confirmation_detail">
<!-- <img src="{$link->getImageLink('product', $product.id_image, 'small')}"> -->
<p>{$product.product_name}</p>
2017-06-22 16:53:29 +02:00
<p>{l s='Quantity'} {$product.product_quantity}</p>
{assign var='total' value=$product.product_price_wt * $product.product_quantity}
2016-04-20 17:35:03 +02:00
<p>{displayPrice price=$total}</p>
</div>
{/foreach}
{/foreach}
<div class="order_confirmation_total">
<p><b>{l s='Total products'}</b> : {displayPrice price=$order->total_products_wt}</p>
<p><b>{l s='Total delivery'}</b> : {displayPrice price=$order->total_shipping}</p>
<p><b>{l s='Total '}</b> : {displayPrice price=$order->total_paid_real}</p>
</div>
</div>
</div>
{/if}
2016-01-04 12:48:08 +01:00
{$HOOK_ORDER_CONFIRMATION}
{$HOOK_PAYMENT_RETURN}
<br />
{if $is_guest}
<p>{l s='Your order ID is:'} <span class="bold">{$id_order_formatted}</span> . {l s='Your order ID has been sent to your e-mail.'}</p>
<p class="footer_links">
<a href="{$link->getPageLink('guest-tracking.php', true)}?id_order={$id_order}" title="{l s='Follow my order'}" class="button">{l s='Follow my order'}</a>
</p>
{else}
<p class="footer_links">
<a href="{$link->getPageLink('history.php', true)}" title="{l s='Back to orders'}" class="button_large"><img src="{$img_dir}reverse-arrow-submit.png" alt="{l s='Back to orders'}" /><span>{l s='Back to orders'}</span></a>
</p>
{/if}
{literal}
<div id="fb-root"></div>
<script src="http://www.facebook.com/assets.php/en_US/ads.js"></script>
<script>FB.Ads.track({ id : "6005452321437", value : 0.00 });</script>
<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/offsite_event.php?id=6005452321437&value=0" /></noscript>
{/literal}