Zen Cart Logo

Linking Categories

Locked

Views: 886

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
13 Oct 2009, 7:55 PM
#1
shereenk avatar

shereenk

New Zenner

Join Date:
Oct 2009
Posts:
2
Plugin Contributions:
0

Linking Categories

Hello,

I am new to this forum and have been looking for 5 days now and cannot find the answer I am looking for. I am sure at least one person has come across this and have resolved the issue.

I have two catgories, (Shop by Style and Shop By collection), each of which has a subcategory (French Style and French Influence). I need to link the French Influence to French Style. Which means, when they click on French Influence it goes to the French Style page.

I tried the Mutilple Categories Link Manager, but when I add a new product to the French Style, it does not automatically link that item to the other category. So, this wont work for me.

If anyone of you have any suggestions or can point me in the right direction I would appreciate this.

Thanks,

Shereen

13 Oct 2009, 8:41 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Linking Categories

Categories have a master_categories_id but there is the immediate categories_id used in navigating through the categories ...

Based on this, the access to the Product is sent to the "immediate" category that you are in -- or -- the master_categories_id with the "immediate" categories_id ruling over which is used ...

To change this, you would have to rewrite a lot of code to "ignore" the "immediate" categories_id, based on current navigation, and "only" use the master_categories_id of the Product ...

I think it would confuse me greatly if I am looking at one Category of Products but then taken to another Category of Products ...

NOTE: be sure that you have applied the Known Bug Fixes to your shop ...
http://www.zen-cart.com/forum/showthread.php?t=82619

and this is a good time to review and apply the Security Patches for your version of Zen Cart:
http://www.zen-cart.com/forum/showthread.php?t=131115

13 Oct 2009, 9:41 PM
#3
shereenk avatar

shereenk

New Zenner

Join Date:
Oct 2009
Posts:
2
Plugin Contributions:
0

Re: Linking Categories

Thank you for your prompt reply. I may not be making myself clear as I am new to the zencart world.

Both of the sub categories are the same, but fall under different main categories.

For example: Category Id 344 should link to Category ID 345 and Category Id 345 should link to Category Id 345.

There is already a category on our zencart site that works this way. Unfortunately, we are not in touch with that person who set that up. The only difference is that the sub categories are named the same.

So what happens is that when they click on the category the URL changes to point to the other category.

I do not see anything in the database that would cause this behavior.

I have ordered the zen cart manual, maybe that will help too.

Thanks again.

Shereen

13 Oct 2009, 10:54 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Linking Categories

There is nothing built into Zen Cart to have Product links ignore the current categories_id and go to another categories_id ...

You would have to customize the code for this ...

You can set Products as "Linked Products" to as many Categories as you want, but there is nothing built in to "over rule" the current categories_id and go to a different one ...