Forums / Templates, Stylesheets, Page Layout / Change the link of the catagory

Change the link of the catagory

Locked

Views: 778

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
14 Nov 2009, 2:19 PM
#1
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Change the link of the catagory

I have looked for an answer to this and can not find one.

I need to change the link of one of my catagories.

how can this be done?

14 Nov 2009, 3:05 PM
#2
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Re: Change the link of the catagory

I'm not sure what you mean. Do you mean rename the category?
That can easily be done by going to your admin panel and editing your products/categories.

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

14 Nov 2009, 3:42 PM
#3
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: Change the link of the catagory

I need to change the link of the catagory to go to my distributors site with my account so when customers click on it the destination is to their website where they can order and the orders will be credited to us

So in my site
www...stitchnframeonline....com/snfcart
in the right sidebox the catagory for
patterns hoffman
needs to link to
https://www.hofmandis.com/myaccount/.....

TIA any help with this is much so muchly appreciated!!

15 Nov 2009, 3:21 AM
#4
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Re: Change the link of the catagory

I see what you mean.
I don't think this can be done with the normal Zen Cart categories, however you could do it this way instead -

Place your categories on your 'define' main page, and link them from there. This way you bypass the whole Zen Cart system, which seems to be what you are wanting to achieve, I think?

I have done this with one product in my shop (a downloadable short story) so if you would like to see how it works you can look here.
http://www.my-bookcafe.com/shop/

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

15 Nov 2009, 2:43 PM
#5
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: Change the link of the catagory

Any ideas if this can be done in a subcatagory?

16 Nov 2009, 8:25 AM
#6
cafman avatar

cafman

New Zenner

Join Date:
Jul 2009
Location:
Melbourne, Australia
Posts:
80
Plugin Contributions:
0

Re: Change the link of the catagory

That's a tricky one.
Perhaps you could experiment using ezpages and chapters?

http://www.my-bookcafe.com
Note to self: whenever you so much as dot an i or cross a t in ZenCart, check how it looks in all browsers. Until then it is not safe to think all is well!!!!

18 Nov 2009, 4:43 PM
#7
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: Change the link of the catagory

looking at the html coding for the main page - It would seem that a change in href code would work???
HOWEVER would this also change some other workings of the cart and where are the html code located?

OR am just thinking a bit simplistic?

18 Nov 2009, 5:18 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Change the link of the catagory

You would have to add some custom code to tpl_categories.php to "trap" the output of that category and replace it with your link.

If you use Categories Dressing, you can add a "heading" in a particular location which will look like the rest of the categories and have a link to your distributor. All you will need to know is the HTML for the link.

15 Apr 2010, 8:21 PM
#9
astarkley avatar

astarkley

New Zenner

Join Date:
Nov 2006
Posts:
72
Plugin Contributions:
0

Re: Change the link of the catagory

When you create your category put this line of code in the description.
<meta http-equiv="REFRESH" content="0;url=http://www.The Site You WANT YO LINK TO"/>