Hi esteemed colleagues! Forum and Google searches completed with no luck.
Standard install of 1.5.1.x with small changes (all documented in a change log).
Have enabled the specials module to show my special offers etc. I now want to add a new category to the top level menu bar that is always present (default template) that will link to a page showing the specials. i.e. Equivalent to selecting the specials link from the 'Extras' section on the homepage. http://www.yoursite/index.php?route=product/special
Any help appreciated. Happy to hack some files, but prefer not to use addon modules or make major code changes if it can be avoided.
Thanks in advance.
Standard install of 1.5.1.x with small changes (all documented in a change log).
Have enabled the specials module to show my special offers etc. I now want to add a new category to the top level menu bar that is always present (default template) that will link to a page showing the specials. i.e. Equivalent to selecting the specials link from the 'Extras' section on the homepage. http://www.yoursite/index.php?route=product/special
Any help appreciated. Happy to hack some files, but prefer not to use addon modules or make major code changes if it can be avoided.
Thanks in advance.
Last edited by twpe on Sat Sep 24, 2011 2:32 am, edited 1 time in total.
One small code change
edit: catalog/view/theme/default/template/common/header.tpl
find
add before
edit: catalog/view/theme/default/template/common/header.tpl
find
Code: Select all
</ul>
</div>
<?php } ?>
<div id="notification"></div>
Code: Select all
<li><a href="index.php?route=product/special">Specials</a></li>
Marvellous my old chap :-)
Worked like a charm. I also utilised your other post to add the Specials to the side menu too!
Many Thanks!
Worked like a charm. I also utilised your other post to add the Specials to the side menu too!
Many Thanks!
Hi,
You mentioned that you'd "also utilised your other post to add the Specials to the side menu too!". How did you achieve this?
Cheers, Johnny
You mentioned that you'd "also utilised your other post to add the Specials to the side menu too!". How did you achieve this?
Cheers, Johnny
Very similar change but in catalog/view/theme/default/template/module/category.tpl
find
add before
find
Code: Select all
</ul>
</div>
</div>
</div>
Code: Select all
<li><a href="index.php?route=product/special">Specials</a></li>
To add the specials link to the side bar menu.
File Edited
category.tpl
File Location
yoursite.com/catalog/view/theme/default/template/module
Edits Made
before the closing </ul>
add the folowing
<li><a href="index.php?route=product/special">Specials </a></li>
Credit for this goes to uksitebuilder
File Edited
category.tpl
File Location
yoursite.com/catalog/view/theme/default/template/module
Edits Made
before the closing </ul>
add the folowing
<li><a href="index.php?route=product/special">Specials </a></li>
Credit for this goes to uksitebuilder
Thanks for your prompt response (and also to uksitebuilder). Great help. Works perfectly. Cheers!!
Hi UKSITEBUILDERuksitebuilder wrote:One small code change
edit: catalog/view/theme/default/template/common/header.tpl
findadd beforeCode: Select all
</ul> </div> <?php } ?> <div id="notification"></div>
Code: Select all
<li><a href="index.php?route=product/special">Specials</a></li>
How do the code change, if you put language code in it instead of "Specials"
Br Jamp
Hi, i have the same problem, and thanks to all the guys, i'm getting 50% problem solved.
This Special offer page doesn't have multi-pages of product, (page1, page2), i have more than 25 products in this page, and only the first 25 is showing, and i don't see "page2". I have to click show100 to see the rest. This is very inconvenient.
Is there a solution please ?
This Special offer page doesn't have multi-pages of product, (page1, page2), i have more than 25 products in this page, and only the first 25 is showing, and i don't see "page2". I have to click show100 to see the rest. This is very inconvenient.
Is there a solution please ?
Try this one:sqwireless wrote:Hi, i have the same problem, and thanks to all the guys, i'm getting 50% problem solved.
This Special offer page doesn't have multi-pages of product, (page1, page2), i have more than 25 products in this page, and only the first 25 is showing, and i don't see "page2". I have to click show100 to see the rest. This is very inconvenient.
Is there a solution please ?
http://forum.opencart.com/viewtopic.php?f=20&t=125582
It worked like a charm for me
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 157 guests