need help to fix this lscp prestashop

#1
hello i got prestashop 1.7.3.3 i got it working so far with lscps module and warehouse template, but the gdpr module doesn't work proper, it comes every time when the first page is loaded, when you accept it, then go to other page and come back it comes back you have to accept it again: https://familiar.fashion
 
Last edited by a moderator:
#3
Thanks, plus one more thing could you also make possible for Example for a whole somewhere on the cms or home page or by a hook for Example I tried to do this in the warehouse theme footer-3.tpl
PHP:
{**
 * 2007-2017 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 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/osl-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-2017 PrestaShop SA
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 *}

{if $iqitTheme.f_newsletter_status == 1}
<div id="footer-container-first" class="footer-container footer-style-3">
  <div class="container">
    <div class="row align-items-center">


      <div class="col block-newsletter">
        <h5>{l s='Sign up to newsletter' d='Shop.Warehousetheme'}</h5>
        {widget name="ps_emailsubscription" hook='displayFooter'}
      </div>


    </div>
    <div class="row">
      {block name='hook_footer_before'}
        {hook h='displayFooterBefore'}
      {/block}
    </div>
  </div>
</div>
{/if}

<div id="footer-container-main" class="footer-container footer-style-3">
  <div class="container">
    <div class="row">
      {block name='hook_footer'} 
      {hook h="litespeedEsiBegin" m="gdprpro" field="widget"}
        {hook h='displayFooter'}
        {hook h="litespeedEsiEnd"}
      {/block}
    </div>
    <div class="row">
      {block name='hook_footer_after'}
        {hook h='displayFooterAfter'}
      {/block}
    </div>
  </div>
</div>
{include file='_partials/_variants/footer-copyrights-2.tpl'}
But it didn’t work because it caches the whole page home page and other pages.

So i tried to make a hole for the displayFooter hook, but didn’t work it shows the first page always with the pop up empty
 

Attachments

Lauren

LiteSpeed Staff
Staff member
#4
I'm not quite clear about your issue. Can you join our slack from footer invitation, and go to #prestashop_cache channel?
 
Top