Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

$cPath and Firfox


sitehatchery.com

Recommended Posts

Posted

If you go to fashionablydressed.com and try to pull up a list of products in Internet Explorer, you sill see that the cPath is the page number, followed by a "_", followed by the number of products on the page. But, if you pull it up in Firefox, it only shows a number without a "_". This is a problem, because it doesn't know which products to display and therefore in Firefox, no products are displayed.

 

The area of concern is the $cPath variable. for some reason in Firefox it's not setting the $cPath right. I don't know how to fix this. Any fixes out there? Why would this happen?

Posted
If you go to fashionablydressed.com and try to pull up a list of products in Internet Explorer, you sill see that the cPath is the page number, followed by a "_", followed by the number of products on the page. But, if you pull it up in Firefox, it only shows a number without a "_". This is a problem, because it doesn't know which products to display and therefore in Firefox, no products are displayed.

 

The area of concern is the $cPath variable. for some reason in Firefox it's not setting the $cPath right. I don't know how to fix this. Any fixes out there? Why would this happen?

 

 

FYI, as far as I have derived thru looking at code, cPath does not indicate the number of products on the page (even after the "_"). It is a chain of categories to get to the current subdirectory in your product hierarchy. So cPath=24_53_62 would refer to category 24 (as it is indexed in the database), under which is sub-category 53, under which is sub-sub-category 62, then the selected product from there. This correlates to the breadcrumb trail.

 

Cheers

-Neil.

Archived

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

×
×
  • Create New...