Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
<!-- *********************************************************************************** -->
<!-- *** Part of OpenShop project: http://OpenShop.org.ua (c) MaxD *** -->
<!-- *********************************************************************************** -->
<!-- Redistribution in any form without written permission is prohibited. -->
<modification>
<id><![CDATA[Executes PHP code included into info pages, text blocks, products and categories descriptions]]></id>
<version><![CDATA[1.7]]></version>
<vqmver><![CDATA[]]></vqmver>
<author><![CDATA[MaxD http://OpenShop.org.ua]]></author>
<file name="catalog/view/theme/*/template/information/information.tpl">
<operation>
<search position="replace"><![CDATA[ echo $description ]]></search>
<add><![CDATA[ eval('?>'.$description.'<?php ') ]]></add>
</operation>
</file>
<file name="catalog/view/theme/*/template/product/product.tpl">
<operation>
<search position="replace"><![CDATA[ echo $description ]]></search>
<add><![CDATA[ eval('?>'.$description.'<?php ') ]]></add>
</operation>
</file>
<file name="catalog/view/theme/*/template/product/category.tpl">
<operation>
<search position="replace"><![CDATA[ echo $description ]]></search>
<add><![CDATA[ eval('?>'.$description.'<?php ') ]]></add>
</operation>
</file>
<file name="catalog/view/theme/*/template/module/welcome.tpl">
<operation>
<search position="replace"><![CDATA[ echo $message ]]></search>
<add><![CDATA[ eval('?>'.$message.'<?php ') ]]></add>
</operation>
</file>
</modification>
Я так например делал.Тогда наверное только в шаблон категорий /catalog/view/theme/ТЕМА/template/product/category.tpl в нужном месте выводить твой код. Ограничить категории можно по такой Для просмотра ссылки Войдиили Зарегистрируйся (см. последние посты)