Если модуль или контроллер не работают, то нужно отключить кеширование для этого блока.
В настройках модуля или на уровне шаблона.
Спасибо за Ваш ответ. Я написал в службу поддержки модуля, мне ответили, чтобы я проверил на стандартной теме. Включил тему - все работает как нужно, ничего не пропадает. И на этот случай мне написали:
The only recommandation that I could do for you without seeing your code, is to switch to the default PrestaShop defaut theme for a test.
If there no problems with the default theme, I thing your theme use HTML comments into your template around the breadcrumb inclusion: <!-- xxx --> instead of Smarty comments: {* xxx *}
If I'm right, you have to remove these HTML comments.
Подскажите пожалуйста, что мне нужно убрать в коде, а то я не силен в РНР.
Нашел в корневой папке шаблона файл Breadcrumb1.tpl (есть и просто файл breadcrumb.tpl, но он не содержит никакого кода, только то, что есть в { } в начала файла Breadcrumb1.tpl (общую информацию), поэтому дублировать оба файла не буду. Ниже код из файла:
{*
* 2007-2012 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-2012 PrestaShop SA
* @version Release: $Revision: 6594 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<!-- Breadcrumb -->
{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if}
<div class="breadcrumb">
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <a href="{$base_dir}" title="{l s='return to Home'}" itemprop="url"><span itemprop="title">{l s='Home'}</span></a></div>
{if isset($path) AND $path}
<span class="navigation-pipe" {if isset($category) && $category->id_category == 1}style="display:none;"{/if}>{$navigationPipe|escape:html:'UTF-8'}</span>
{if !$path|strpos:'span'}
<span class="navigation_page">{$path}</span>
{else}
{$path}
{/if}
{/if}
</div>
<!-- /Breadcrumb -->
Что мне нужно подправить, подскажите пожалуйста.