{*
* 2007-2015 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-2015 PrestaShop SA
*  @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}

<h1 class="page-heading" style="margin-bottom:0px;">{l s='Order confirmation'}</h1>

{assign var='current_step' value='payment'}
{include file="$tpl_dir./order-steps.tpl"}

{include file="$tpl_dir./errors.tpl"}

{$HOOK_ORDER_CONFIRMATION}
<!--{$HOOK_PAYMENT_RETURN}-->
{if $is_guest}
<p style="font-size: 24px;line-height: 44px;color: #444;">THANK YOU FOR YOUR ORDER!</p>
<p style="font-size: 19px;line-height: 25px;color: #444;">Please mail in your parts to:</p>
<p style="font-size: 19px;line-height: 25px;color: #444; font-weight:bold;">SAFETY RESTORE<br />
40 MAIN ST.<br />
WESTFIELD, MA 01085<br />
</p>
<p style="font-size: 19px;line-height: 25px;color: #444;">INCLUDE YOUR ORDER ID OR THE RECEIPT IN THE BOX:</p>
<p style="font-size: 19px;line-height: 25px;color: #444;"><b>ORDER REFERENCE:</b> {$reference_order|urlencode} </p>
	<!--<p>{l s='Your order ID is:'} <span class="bold">{$id_order_formatted}</span> . {l s='Your order ID has been sent via email.'}</p>-->    
    <p class="cart_navigation exclusive">
	<a class="button-exclusive btn btn-default" href="{$link->getPageLink('guest-tracking', true, NULL, "id_order={$reference_order|urlencode}&email={$email|urlencode}")|escape:'html':'UTF-8'}" title="{l s='Follow my order'}"><i class="icon-chevron-left"></i>{l s='Follow your order'}</a>
    </p>
{else}
<p style="font-size: 24px;line-height: 44px;color: #444;">THANK YOU FOR YOUR ORDER!</p>
<p style="font-size: 19px;line-height: 25px;color: #444;">Please mail in your parts to:</p>
<p style="font-size: 19px;line-height: 25px;color: #444; font-weight:bold;">SAFETY RESTORE<br />
40 MAIN ST.<br />
WESTFIELD, MA 01085<br />
</p>
<p style="font-size: 19px;line-height: 25px;color: #444;">INCLUDE YOUR ORDER ID OR THE RECEIPT IN THE BOX:</p>
<p style="font-size: 19px;line-height: 25px;color: #444;"><b>ORDER REFERENCE:</b> {$reference_order|urlencode}</p>
<p class="cart_navigation exclusive">
	<a class="button-exclusive btn btn-default" href="{$link->getPageLink('history', true)|escape:'html':'UTF-8'}" title="{l s='Go to your order history page'}"><i class="icon-chevron-left"></i>{l s='View your order invoice'}</a>
</p>
{/if}
{literal}
<!-- Google Code for Order Conversion Page -->
<script>
/* <![CDATA[ */
var google_conversion_id = 987809132;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "49r7CKWd-WkQ7IqD1wM";
var google_conversion_value = 65.00;
var google_conversion_currency = "USD";
var google_remarketing_only = false;
/* ]]> */
</script>
<script src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/987809132/?value=65.00&amp;currency_code=USD&amp;label=49r7CKWd-WkQ7IqD1wM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
<!-- Bing Ads Tracking Code Start -->
<script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"5665572"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script><noscript><img src="//bat.bing.com/action/0?ti=5665572&Ver=2" height="0" width="0" style="display:none; visibility: hidden;" /></noscript>
<!-- Bing Ads Tracking Code End -->
{/literal}

