139 lines
4.4 KiB
Smarty
Executable File
139 lines
4.4 KiB
Smarty
Executable File
{*
|
|
* 2007-2013 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-2013 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 !$content_only}
|
|
</div>
|
|
|
|
<!-- Right -->
|
|
<div id="right_column" class="column grid_2 omega">
|
|
{$HOOK_RIGHT_COLUMN}
|
|
</div>
|
|
</div>
|
|
</div></div>
|
|
<!-- Footer -->
|
|
|
|
<div class="footer_wrapper">
|
|
<div id="footer" class=" clearfix">
|
|
<ul class="liens">
|
|
<li class="green"><a href="http://garancia-pharmaciens.com/"><img src="{$img_dir}footerPharmacie.png" alt="" height="15" /> {l s='ESPACE PHARMACIENS'}</a></li>
|
|
<li><a href="{$link->getPageLink('faq.php')}">{l s='FAQ'}</a></li>
|
|
<li><a href="{$link->getPageLink('contact.php')}">{l s='Contact'}</a></li>
|
|
{*
|
|
<li><a href="{$link->getPageLink('sitemap.php')}">{l s='Plan du site'}</a></li>
|
|
*}
|
|
<li><a href="{$link->getCMSLink(2)}">{l s='Mentions légales et CGU'}</a></li>
|
|
<li><a href="{$link->getCMSLink(3)}">{l s='CGV'}</a></li>
|
|
</ul>
|
|
{$HOOK_FOOTER}
|
|
{*if $PS_ALLOW_MOBILE_DEVICE}
|
|
<p class="center clearBoth"><a href="http://www.castoretpollux.com" target="_blank">{l s='Browse the mobile site'}</a></p>
|
|
{/if*}
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
<!-- Code Google de la balise de remarketing display -->
|
|
<script type="text/javascript">
|
|
<!--{literal}
|
|
var google_tag_params = {{/literal}
|
|
{if $page_name == 'index'}
|
|
ecomm_prodid: '',
|
|
ecomm_pagetype: 'home',
|
|
ecomm_totalvalue: ''
|
|
{else if $page_name == 'category'}
|
|
ecomm_prodid: '',
|
|
ecomm_pagetype: 'category',
|
|
ecomm_totalvalue: ''
|
|
{else if $page_name == 'product'}
|
|
ecomm_prodid: '{$product->id}',
|
|
ecomm_pagetype: 'product',
|
|
ecomm_totalvalue: '{$product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision)}'
|
|
{else if $page_name == 'order'}
|
|
ecomm_prodid: '',
|
|
ecomm_pagetype: 'cart',
|
|
ecomm_totalvalue: '{$cart->getOrderTotal(true, 3)}'
|
|
{else if $page_name == 'order-confirmation'}
|
|
ecomm_prodid: '',
|
|
ecomm_pagetype: 'purchase',
|
|
ecomm_totalvalue: '{if isset($order_total_paid)}{$order_total_paid}{/if}'
|
|
{else}
|
|
ecomm_prodid: '',
|
|
ecomm_pagetype: 'siteview',
|
|
ecomm_totalvalue: ''
|
|
{/if}
|
|
{literal}};
|
|
{/literal}-->
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var google_conversion_id = 960789444;
|
|
var google_custom_params = window.google_tag_params;
|
|
var google_remarketing_only = true;
|
|
/* ]]> */
|
|
</script>
|
|
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"></script>
|
|
<noscript>
|
|
<div style="display:inline;">
|
|
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/960789444/?value=0&guid=ON&script=0"/>
|
|
</div>
|
|
</noscript>
|
|
|
|
{if $page_name == 'order-confirmation'}
|
|
<script>
|
|
{literal}
|
|
fbq('track', 'Purchase', {value: "{/literal}{$total_to_pay}{literal}", currency: 'EUR'});
|
|
{/literal}
|
|
</script>
|
|
{/if}
|
|
|
|
{if $page_name == 'search'}
|
|
<script>
|
|
{literal}
|
|
fbq('track', 'Search');
|
|
{/literal}
|
|
</script>
|
|
{/if}
|
|
|
|
{if $page_name == 'product' || $page_name == 'category'}
|
|
<script>
|
|
{literal}
|
|
fbq('track', 'ViewContent');
|
|
{/literal}
|
|
</script>
|
|
{/if}
|
|
|
|
{if Tools::getValue('finish_registration', false)}
|
|
<script>
|
|
fbq('track', "CompleteRegistration");
|
|
</script>
|
|
{/if}
|
|
|
|
{if isset($orderStep) && $orderStep == 3}
|
|
{literal}<script>
|
|
fbq('track', "InitiateCheckout");
|
|
</script>{/literal}
|
|
{/if}
|
|
</body>
|
|
</html>
|