Post by panaceacache » Fri Sep 27, 2013 12:21 am

My current store front URL is http://www.panaceacache.com/upload. When I click on my about button it brings me to this URL: http://www.panaceacache.com/upload/inde ... ry&path=61 I've been trying to figure out how to route the about button to my information page. This is the URL that I would like it to re-direct to: http://www.panaceacache.com/upload/inde ... ation_id=4 Any help is greatly appreciated!! ****Just realized this should probably be in general support rather than discussion, my apologies. If a mod sees this please move it to the correct area (Don't want to make two separate posts)

Newbie

Posts

Joined
Thu Sep 05, 2013 10:48 pm

Post by panaceacache » Sat Sep 28, 2013 8:39 am

bump

Newbie

Posts

Joined
Thu Sep 05, 2013 10:48 pm

Post by dolrichfortich » Sat Sep 28, 2013 11:22 am

On your
catalog/controller/common/header.php

Find this.

Code: Select all

'href'     => $this->url->link('product/category', 'path=' . $category['category_id'])
Replace with this.

Code: Select all

'href'     => ($category['category_id'] == 61 ? $this->url->link('information/information', 'information_id=4') : $this->url->link('product/category', 'path=' . $category['category_id']))

Opencart Options Pro, Reward Points For Review, DISQUS Comment Form,
Dolrich Fortich - Freelance web developer

Image


User avatar
New member

Posts

Joined
Thu Aug 05, 2010 8:09 pm
Location - Philippines
Who is online

Users browsing this forum: Amazon [Bot] and 50 guests