Hi there you specials.
I need the specials to be seen in menubar, how can I fix that.
I know you all busy and having other problems, but if you could put a little solution for me I would be
I use v 1.5...
Br
Jamppe
I need the specials to be seen in menubar, how can I fix that.
I know you all busy and having other problems, but if you could put a little solution for me I would be
I use v 1.5...
Br
Jamppe
Last edited by Jamppe on Thu Mar 15, 2012 2:43 am, edited 1 time in total.
Search for my post on customizing the menu bar. It's been discussed several times. You basically can add any links you want to the menu section in your template common > header.tpl
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Hi labeshops.labeshops wrote:Search for my post on customizing the menu bar. It's been discussed several times. You basically can add any links you want to the menu section in your template common > header.tpl
Well, tryed to find it, but maybe you took it away or..
But I did put a line in header.tpl
This line... 134
133 <?php } ?>
134 <li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>
This line take me to the homepage and thats ok
<li><a href=".."target="_blank"><?php echo $text_home; ?></a></li>
</ul>
</div>
...
The error is
Notice: Undefined variable: text_special in /homez.333/timetogo/www/shop/catalog/view/theme/TTG/template/common/header.tpl on line 134
Thank s again, sir
Br Jamppe
Just do it as a simple link..
<li><a href="/index.php?route=product/special">Specials</a></li>
or whatever page you want to link to and whatever name you want to give it.
<li><a href="/index.php?route=product/special">Specials</a></li>
or whatever page you want to link to and whatever name you want to give it.
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Thanks, but then I cant use the different language to the link?labeshops wrote:Just do it as a simple link..
<li><a href="/index.php?route=product/special">Specials</a></li>
or whatever page you want to link to and whatever name you want to give it.
Is there any solution for that?
Jamppe
For Multilanguage:Jamppe wrote: ↑Thu Mar 15, 2012 2:30 amThanks, but then I cant use the different language to the link?labeshops wrote:Just do it as a simple link..
<li><a href="/index.php?route=product/special">Specials</a></li>
or whatever page you want to link to and whatever name you want to give it.
Is there any solution for that?
Jamppe
<li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>
ALSO HAVE TO ADD IN CONTROLLER OF HEADER.PHP:
$data['text_special'] = $this->language->get('text_special');
$data['special'] = $this->url->link('product/special');
ALSO HAVE TO ADD IN CONTROLLER OF HEADER.PHP:
Code: Select all
$data['text_special'] = $this->language->get('text_special');
$data['special'] = $this->url->link('product/special');
Code: Select all
$this->data['text_special'] = $this->language->get('text_special');
$this->data['special'] = $this->url->link('product/special');
Code: Select all
$_['text_special'] = 'Product Specials';
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
SOLVED:
In Catalog->Category
Add a new category "SALES" and in SEO tab add the link: index.php?route=product/special .
Set it to be shown in Menu.
In Catalog->Category
Add a new category "SALES" and in SEO tab add the link: index.php?route=product/special .
Set it to be shown in Menu.
Who is online
Users browsing this forum: No registered users and 21 guests