recyclepile Posted January 19, 2009 Share Posted January 19, 2009 I'm working with a template in my OSCommerce site, and in this template there are links to cPath2, cPath7 and so forth. I realize that cPath stands for Category Path; I realize that cPath is a variable; I realize that cPath2 corresponds to category id 2. Now, the stupid question... Where are the category id's listed? How do I set them? I see none in my admin panel; I have gone into each of the 8 categories I have set up and I see nowhere to set a value except for sort order. I've also attempted to change the coding to cPath1, cPath3, etc. to see if I could send the link to the category I want. No go. Thanks in advance for any assistance. Link to comment Share on other sites More sharing options...
pynchon Posted January 19, 2009 Share Posted January 19, 2009 I'm working with a template in my OSCommerce site, and in this template there are links to cPath2, cPath7 and so forth. I realize that cPath stands for Category Path; I realize that cPath is a variable; I realize that cPath2 corresponds to category id 2. Now, the stupid question... Where are the category id's listed? How do I set them? I see none in my admin panel; I have gone into each of the 8 categories I have set up and I see nowhere to set a value except for sort order. I've also attempted to change the coding to cPath1, cPath3, etc. to see if I could send the link to the category I want. No go. Thanks in advance for any assistance. I think the cPath ids are set in order of category creation ... the sort order will only affect the visual order and not the cPath number. Link to comment Share on other sites More sharing options...
recyclepile Posted January 19, 2009 Author Share Posted January 19, 2009 I think the cPath ids are set in order of category creation ... the sort order will only affect the visual order and not the cPath number. I thought that too, but then it didn't respond to making it cPath1. So I'm stymied. Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 19, 2009 Share Posted January 19, 2009 CPath1, 2 and so on don't exist in the standard code, as far as I know. If you are seeing those, then it is something specific to your shop. But for cPath itself, it is a variable that refers to the category ID. You may or may not see it in the url. If you go to admin->Catalog and click once on a category, you will see the category ID listed as cID. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
recyclepile Posted January 19, 2009 Author Share Posted January 19, 2009 CPath1, 2 and so on don't exist in the standard code, as far as I know. If you are seeing those, then it is something specific to your shop. But for cPath itself, it is a variable that refers to the category ID. You may or may not see it in the url. If you go to admin->Catalog and click once on a category, you will see the category ID listed as cID. Jack I know this will sound crazy, but I don't have that. I don't see cID anywhere. Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 20, 2009 Share Posted January 20, 2009 Try posting the url of such a link here. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.