bebeboutik/themes/site/order-confirmation.tpl

171 lines
5.8 KiB
Smarty
Raw 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"}
<h1>{l s='Order confirmation'}</h1>
{include file="$tpl_dir./errors.tpl"}
{if $order->valid}
<div id="order_conf_detail">
<div class="order_conf_left">
<p><strong>{l s='Hello'} {$customer->firstname},</strong></p> <br />
<p>{l s='You just order on Bébé boutik and we thank you in'}</p> <br />
2016-01-04 12:48:08 +01:00
<p>{l s='The tracking number will be emailed upon shipment of the package'}</p> <br />
<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>
<div class="order_conf_right">
<form method="POST" action="/modules/invite/invite-program.php">
<div class="int">
<h3>{l s='Sponsor & Win 10€'}</h3>
<input type="text" placeholder="{l s='Friends email'}" name="friendsEmail[]">
<input type="submit" value="ok">
<p>
<a href="/modules/invite/invite-program.php">{l s='Sponsor more friends'}</a>
</p>
</div>
</form>
2016-01-04 12:48:08 +01:00
</div>
<div class="clear"></div>
<h3>{l s='Details of your order'}</h3>
<div id="order-detail-content" class="table_block">
<table id="cart_summary" class="std">
<tbody>
{foreach from=$products item=details}
<tr style="height:10px;">
<td colspan="5" style="border:none"></td>
</tr>
<tr style="background:#e1e1e1; ">
<td colspan="5">
<h4>{$details.title}</h4>
</td>
</tr>
<tr style="height:10px;">
<td colspan="5" style="border:none"></td>
</tr>
{foreach $details.products as $product}
<tr>
<td><img src="{$link->getImageLink('product', $product.id_image, 'small')}"></td>
<td class="detail_product_name">{$product.product_name}</td>
<td class="detail_info">
{l s='Quantity'} {$product.product_quantity} <br />
{l s='Unit Price'} {displayPrice price=$product.product_price_wt}
</td>
<td class="detail_total_product">
{assign var='total' value=$product.product_price_wt * $product.product_quantity}
{displayPrice price=$total}
</td>
</tr>
{/foreach}
{/foreach}
</tbody>
<tfoot>
<tr>
<td colspan="2" align="right">{l s='Total products'}</td>
<td colspan="2" align="right">{displayPrice price=$order->total_products_wt}</td>
</tr>
{if $order->total_discounts != 0}
<tr>
<td colspan="2" align="right">{l s='Total discounts'}</td>
<td colspan="2" align="right">{displayPrice price=$order->total_discounts}</td>
2016-01-04 12:48:08 +01:00
</tr>
{/if}
<tr>
<td colspan="2" align="right">{l s='Total delivery'}</td>
<td colspan="2" align="right">{displayPrice price=$order->total_shipping}</td>
</tr>
<tr class="detail_total_order">
<td colspan="2" align="right">{l s='Total'}</td>
<td colspan="2" align="right">{displayPrice price=$order->total_paid_real}</td>
</tr>
</tfoot>
</table>
</div>
<!-- <h3>{l s='Delivery Info'}</h3> -->
<div class="detail_delivery">
<ul>
<li><span class="title">{l s='Delivery Address'}</span></li>
<li>{$address_delivery->lastname} {$address_delivery->firstname}</li>
<li>{$address_delivery->address1} <br />{$address_delivery->address2}</li>
<li>{if $address_delivery->postcode}{$address_delivery->postcode} {/if}{$address_delivery->city}</li>
<li>{$address_delivery->country}</li>
</ul>
</div>
<div class="detail_invoice">
<ul>
<li><span class="title">{l s='Invoice Address'}</span></li>
<li>{$address_invoice->lastname} {$address_invoice->firstname}</li>
<li>{$address_invoice->address1} <br />{$address_invoice->address2}</li>
<li>{if $address_invoice->postcode}{$address_invoice->postcode} {/if}{$address_invoice->city}</li>
<li>{$address_invoice->country}</li>
</ul>
2016-01-04 12:48:08 +01:00
</div>
<h3>{l s='Need help ?'}</h3>
<div class="detail_link_footer">
<div class="link link_left">
<a href="{$link->getCMSLink(14)}#ancre_9">{l s='How follow my order ?'}</a>
</div>
<div class="link link_right">
<a href="{$link->getCMSLink(14)}#ancre_10">{l s='How make a return ?'}</a>
</div>
2016-01-04 12:48:08 +01:00
</div>
2017-06-22 16:53:29 +02:00
<div class="clearfix"></div>
2016-01-04 12:48:08 +01:00
<div class="detail_info_footer">
<p>{l s='Une question ? Retrouvez notre aide en ligne'} <a href="{$base_dir_ssl}modules/ant_support/help.php">{l s='ici'}</a></p>
2016-01-04 12:48:08 +01:00
<p>{l s='Customer Service'} : {l s='05 67 80 15 60 9h - 12h et 14h - 18h, du lundi au vend.'}</p>
</div>
</div>
{/if}
{$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">{l s='Back to orders'}</a>
</p>
{/if}