Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Displaying Message Dependent On Sub-Category


Drew

Recommended Posts

Hi All,

 

I have a guy who sells various things through his osC site, including CDs. The CDs are in a sub-category (number 34) one level down from a main category (which in this case is category 24).

 

He would like to be able to have the first 10 CDs listed highlighted as "Featured Artists", and we've sorted out how to get the correct ones always listed as the first 10.

 

What I need to be able to determine is when page 1 of category 34 (the CDs category) is being listed.

 

The address is displayed as /index.php?cPath=24_34&sort=2a&page=1, and I've tried using cPath to determine what is being displayed, but to no avail.

 

So, basically what I need is:

 

If page 1 of category 34 is being displayed, echo "Featured Artists"

 

Sorry if I've not explained things very well, but I'd really appreciate some help on this one.

 

Thanks very much,

 

Andrew

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...