Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Display all category products in results page


Guest

Recommended Posts

Posted

How do i target all categories for results page?

 

Using STS templates

 

Using module product_listing.php

 

I want to call all products to output to results page

 

I am targeting /catalog/index.php

 

Question really is there a call to cPath to target ALL categories rather then just one.

 

Example:

 

<a href="http://www.mysite.com/catalog/index.php?cPath=xx_yy">

View all products</a>

 

Any know how to do this?

Posted

Yes... I can successfully display all products for one category using for example ?cPath=1

 

I have 7 categories.

 

if my product listing module can display products in rows and columns then i should be able to target all categories somehow. Something like ?cPath=1_7 or something similar. Just looking more for a database call then using a new template. I am using the product_listing.php module template.

 

 

 

 

 

 

what do you want to do? display an 'all-products-page'  ???

 

ther is contrib(s) for that

 

dahui

Archived

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

×
×
  • Create New...