Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Модифицируем заголовок модуля Рекомендуемые (Featured) в Opencart. Заголовок берется из настроек самого модуля
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>Featured module name replace</name>
<code>featuredmodulenamebyagatha65</code>
<version>1.0</version>
<author>agatha65.com</author>
<link>http://agatha65.com/services/opencart-extensions</link>
<file path="catalog/controller/extension/module/featured.php">
<operation>
<search><![CDATA[
$data['heading_title'] = $this->language->get('heading_title');
]]></search>
<add position="replace"><![CDATA[
$data['heading_title'] = $setting['name'];
]]></add>
</operation>
</file>
</modification>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.