HEX
Server: Apache
System: Linux srv13.cpanelhost.cl 3.10.0-962.3.2.lve1.5.38.el7.x86_64 #1 SMP Thu Jun 18 05:28:41 EDT 2020 x86_64
User: cca63905 (4205)
PHP: 7.3.20
Disabled: NONE
Upload Files
File: //proc/self/root/proc/self/cwd/nueva/modules/corewhatsapp/views/templates/front/corewhatsapp.tpl
{*
* The module helps to add whats app chat support on online store and turn visitors into customers.This helps to build relationship with customers,provide personalized service and increase in sales.
*
* NOTICE OF LICENSE
* 
* Each copy of the software must be used for only one production website, it may be used on additional
* test servers. You are not permitted to make copies of the software without first purchasing the
* appropriate additional licenses. This license does not grant any reseller privileges.
* 
* @author    CORECREATIVO
* @copyright 2007-2023 Corecreativo
* @license   Prestashop Commercial Module License
*}

<style>
div.fixed {
    position: fixed;
	right:10px !important;
	left: auto;
    width: 50px;
    bottom: 15px;
	display: block !important;
	z-index: 9999;
} 
</style>

{if $PS7_FLAG==""}
    
{if $CORENUMBER != ''}

<div class="fixed">

    <a href="https://{$DEVICE}.whatsapp.com/send?l=en&phone={$CORENUMBER}&text={$COREMESSAGE}" target="_blank">
        <img src="{$COREIMAGEPATH}" alt="Whatsapp">
    </a>

</div>

{/if}

{else}
    
{if $CORENUMBER != ''}

<div class="fixed">

    <a href="https://{$DEVICE|escape nofilter}.whatsapp.com/send?l=en&phone={$CORENUMBER|escape nofilter}&text={$COREMESSAGE|escape nofilter}" target="_blank">
         <img src="{$COREIMAGEPATH|escape nofilter}" alt="Whatsapp">
    </a>

</div>

{/if}

{/if}