Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to? Limit products displayed on index.php


michelew

Recommended Posts

Posted

The situation:

 

I've added...

 

in the database, a:

 

- field in the p2c table that contains an id (l_id)

 

on the pages, a:

 

- variable which catches the id when fields in a form are filled in ($l_id)

- "new category box" which only displays categories that have this id in the p2c table

 

Now when a (sub)category in the "new categories" box is clicked I need to see the products on the index page which correspond to the clicked (sub)category, these who contain the right l_id.

 

How do I do this?

 

Apparently I have to work with cpath. I took a look at it and...help! This seems so complicated

Is cpath the answer to my problem or should I do it another way?

 

Anybody willing to guide me through this?

 

Thank you for reading and eventually answering this message.

 

Mich?le

Archived

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

×
×
  • Create New...