I have created three instances of the featured module for my home page layout. I want their names (their headings displayed on the front-end) to be different. Preferably each featured module would have a heading that's the same as the name I've given to the module from the admin panel.
My OpenCart version is 2.0.3.1.
Yes it can be done.
Edit file /catalog/controller/module/featured.php
Now, search for
$data['heading_title'] = $this->language->get('heading_title');
and replace it with
$data['heading_title'] = $setting['name'];
That's it
Note: When you create an instance of the Featured products from admin panel, you give it a name in "Module Name" field. That name will be shown in front end now.
Feel free to contact us if you need any help.
Edit file /catalog/controller/module/featured.php
Now, search for
$data['heading_title'] = $this->language->get('heading_title');
and replace it with
$data['heading_title'] = $setting['name'];
That's it
Note: When you create an instance of the Featured products from admin panel, you give it a name in "Module Name" field. That name will be shown in front end now.
Feel free to contact us if you need any help.
Regards,
Knowband Team
Opencart Plugins: Knowband Store
Email: support@knowband.com
Hi knowband.plugins
is that modification works with opencart 2.3.0.2
I have tried but nothing has changed.
is that modification works with opencart 2.3.0.2
I have tried but nothing has changed.
Yes it works fine, please make sure that you have made the change correctly.
Regards,
Knowband Team
Opencart Plugins: Knowband Store
Email: support@knowband.com
OpenCart 2.3.0.2
''HTTP 500 error
That’s odd... the website can’t display this page''
Can somebody help us with the answer?
''HTTP 500 error
That’s odd... the website can’t display this page''
Can somebody help us with the answer?
Hi,
Please for OpenCart 2.3.0.2
Different names for each one of multiple featured modules ? It's posible?
Thank's
Please for OpenCart 2.3.0.2
Different names for each one of multiple featured modules ? It's posible?
Thank's
For 3.0.2.0 goto catalog/controller/extension/module/featured.php and find
Code: Select all
$this->load->language('extension/module/featured');
Code: Select all
$data['heading_title'] = $setting['name'];
Who is online
Users browsing this forum: No registered users and 131 guests