86 lines
3.2 KiB
Smarty
86 lines
3.2 KiB
Smarty
|
{*
|
||
|
* 2007-2014 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-2014 PrestaShop SA
|
||
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||
|
* International Registered Trademark & Property of PrestaShop SA
|
||
|
*}
|
||
|
|
||
|
{if $smarty.const._PS_VERSION_ < 1.5 && isset($use_mobile) && $use_mobile}
|
||
|
{include file="$tpl_dir./modules/paypal/views/templates/front/order-confirmation.tpl"}
|
||
|
{else}
|
||
|
{capture name=path}{l s='Order confirmation'}{/capture}
|
||
|
{if $smarty.const._PS_VERSION_ < 1.6}
|
||
|
{include file="$tpl_dir./breadcrumb.tpl"}
|
||
|
{/if}
|
||
|
<h1 style="background:#fff;">{l s='Order confirmation'}</h1>
|
||
|
|
||
|
{*
|
||
|
{assign var='current_step' value='payment'}
|
||
|
{include file="$tpl_dir./order-steps.tpl"}
|
||
|
*}
|
||
|
|
||
|
{include file="$tpl_dir./errors.tpl"}
|
||
|
|
||
|
<img src="http://bebeboutik.com/modules/paypal/paypal.gif" alt="Paypal" style="float:left; margin:20px;">
|
||
|
|
||
|
{$HOOK_ORDER_CONFIRMATION}
|
||
|
{$HOOK_PAYMENT_RETURN}
|
||
|
|
||
|
<br />
|
||
|
|
||
|
{if $order}
|
||
|
<p>{l s='Total de la transaction (TTC) :'} <span class="bold">{$price|escape:'htmlall':'UTF-8'}</span></p>
|
||
|
<p>{l s='Votre numéro de commande est :'}
|
||
|
<span class="bold">
|
||
|
{if $smarty.const._PS_VERSION_ >= 1.5}
|
||
|
{if isset($reference_order)}
|
||
|
{$reference_order|escape:'htmlall':'UTF-8'}
|
||
|
{else}
|
||
|
{$order.id_order|intval}
|
||
|
{/if}
|
||
|
{else}
|
||
|
{$order.id_order|intval}
|
||
|
{/if}
|
||
|
</span>
|
||
|
</p>
|
||
|
<p>{l s='Id de transaction PayPal :'} <span class="bold">{$order.id_transaction|escape:'htmlall':'UTF-8'}</span></p>
|
||
|
{/if}
|
||
|
<br />
|
||
|
|
||
|
{if $is_guest}
|
||
|
<a href="{$link->getPageLink('guest-tracking.php', true)}?id_order={$order_reference}" title="{l s='Follow my order' mod='paypal'}" data-ajax="false">
|
||
|
{if $smarty.const._PS_VERSION_ < 1.6}
|
||
|
<img src="{$img_dir}icon/order.gif" alt="{l s='Follow my order' mod='paypal'}" class="icon" />
|
||
|
{else}
|
||
|
<i class="icon-chevron-left"></i>
|
||
|
{/if}
|
||
|
</a>
|
||
|
<a href="{$link->getPageLink('guest-tracking.php', true)}?id_order={$order_reference}" title="{l s='Follow my order' mod='paypal'}" data-ajax="false">{l s='Follow my order' mod='paypal'}</a>
|
||
|
{else}
|
||
|
<a href="{$link->getPageLink('history.php', true)}" title="{l s='Back to orders' mod='paypal'}" data-ajax="false">{if $smarty.const._PS_VERSION_ < 1.6}
|
||
|
<img src="{$img_dir}icon/order.gif" alt="{l s='Follow my order' mod='paypal'}" class="icon" />
|
||
|
{else}
|
||
|
<i class="icon-chevron-left"></i>
|
||
|
{/if}</a>
|
||
|
<a href="{$link->getPageLink('history.php', true)}" title="{l s='Back to orders' mod='paypal'}" data-ajax="false">{l s='Back to orders'}</a>
|
||
|
{/if}
|
||
|
{/if}
|