Results 1 to 2 of 2

cPath

This is a discussion on cPath within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Could someone elighten me as to what cPath is. I'm trying to figure out how http://localhost/catalog/default.php?cPath=3 http://localhost/catalog/default.php?cPath=3_11 http://localhost/catalog/default.php?cPath=3_11_36 differs. ie ...

      
  1. #1
    Lurker
    Join Date
    Feb 2003
    Posts
    2
    Rep Power
    0


    Default cPath

    Could someone elighten me as to what cPath is.

    I'm trying to figure out how

    http://localhost/catalog/default.php?cPath=3
    http://localhost/catalog/default.php?cPath=3_11
    http://localhost/catalog/default.php?cPath=3_11_36

    differs.

    ie what is 3 and 11 and 36 with regards to the database

    Thanks

  2. #2
    New Member
    Join Date
    Nov 2002
    Location
    UK
    Posts
    21
    Rep Power
    0


    Default

    cPath stands for category Path so,

    the #3 relates to category_id #3 in the database,
    the #3_11 relates to category_id #3 and subcategory #11,
    and the # 3_11_36 relates to category_id #3 , subcategory_id #11 and products_id #36

    hope this helps

Similar Threads

  1. index.php?cPath=21 modification to price column
    By timbuck2 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 05-17-2005, 12:05 PM
  2. Change "Product Listing" header in CPATH to image.
    By ritalcnyc in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-22-2003, 02:38 PM
  3. cPath problems!
    By Hornet in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 11-07-2003, 10:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •