Кто подскажет по модулю Product Labels Advanced v2.0
Установил, прописал по инструкции как в
Для просмотра ссылки Войди или Зарегистрируйся
Поскольку в
themes/your_theme_name/modules/homefeatured/homefeatured.tpl файл не имеет строки
Код:
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" />
Я пошел по пути
/modules/homefeatured/views/templates/hook/homefeatured.tpl и нашел подобную необходимой строчки, и вставил код как указано в инструкции (возможно и неправильно) в строке 41
Код:
<a href="{$product.link|escape:'html'}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html'}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" />{if isset($product.new) && $product.new == 1}<span class="new">{l s='New' mod='homefeatured'}</span>{/if}</a>{if file_exists($smarty.const._PS_MODULE_DIR_|cat:'advlabels/views/templates/front/ribbon.tpl')}{include file=$smarty.const._PS_MODULE_DIR_|cat:'advlabels/views/templates/front/ribbon.tpl' id_product=$product.id_product}{/if}
Проблема заключается в том что не отображается лейбл в карточке товара и в момент сортировки фильтром или переключения страницы на следующую.
Прикрепляю свои файлы, может кто увидит ошибку