Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cPath question


Guest

Recommended Posts

Posted

Hi everyone,

 

I have noted that when I look at a category or sub-category it's showing the following on the browser address bar:

 

/index.php/cPath/55 (just an example)

 

I have identified that the "55" is the category ID listed as categories_id in the MySQL database. "55" is a category called "Accessories".

 

I have identified that cPath is mentioned in the following files on different lines:

 

admin\categories.php

admin\includes\application_top.php

admin\includes\functions\general.php

includes\application_top.php

includes\boxes\categories.php

includes\classes\navigation_history.php

includes\functions\cache.php

includes\ functions\general.php

includes\modules\product_listing.php

 

Instead of that 55 I mentioned I would like to list the category as in the browser address bar:

 

/index.php/cPath/accessories

 

and if there was a sub-category, it would list as:

 

/index.php/cPath/accessories/widgets

 

In my example I am using the categories_name from the MySQL database instead of the categories_id.

 

Now my question is... what do I need to change in each of the above files to make this change work??

 

Thanks in advance... B)

 

Nathalie

Posted

Still haven't figured this out... and now I'm getting desparate...

 

Plea for help from a desparate lady...

Archived

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

×
×
  • Create New...