Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Listing


rpbmh

Recommended Posts

hi, i'm trying to use the product listing module with a custom query

 

when i do an experiment to learn about it, eg:

<?php
 $listing_sql = "select p2c.categories_id, p.products_image, pd.products_name, p	 <snip>
 include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING);
?>

 

and the query in $listing_sql is copied from a functional search result, it displays the "Displaying 1 to 9 (of 9 products) Result Pages: 1" text before and after the listing, but the listing is just made up of a bunch of empty table rows & columns. Can anyone please help? Do I need to have another variable defined (ala $listing_sql) before i include FILENAME_PRODUCT_LISTING? Why is it showing the Page 1/2/3 sections but not the actual content of the product listing?

 

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...