Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

The dumbest cPath question ever.


recyclepile

Recommended Posts

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...