Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

about products-listing.php


step_25

Recommended Posts

Posted

Hello,

Just want to know if there is a simple way to change number of products / row in the file : include/modules/products_listng.php .

 

i use oscommerce 2.2 and default parameters .

 

thx a lot

 

stephane

Posted

Do you mean can you set the number of products to display per page? If so, you can set this in admin, configuration, maximum values, search results. The number entered here will be the number of products shown per page.

 

Jeremy

Posted
Do you mean can you set the number of products to display per page?  If so, you can set this in admin, configuration, maximum values, search results.  The number entered here will be the number of products shown per page.

 

sorry

i just want to change the number of products par row : not per page.

Posted

look for 'product listing in columns' in the contribution area

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Posted
look for 'product listing in columns' in the contribution area

 

 

thx ,

i'have installed this module, it looks promossing but i have a sql error :

 

/////////////

1064 - You have an error in your SQL syntax near 'select p.products_image, pd.products_name, p.products_id, p.manufacturers_id, p' at line 1

 

select count(select p.products_image, pd.products_name, p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = \'1\' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = \'4\' and p2c.categories_id = \'5\' order by pd.products_name) as total

 

[TEP STOP]

//////////

 

what's wrong ?

 

thx

 

stephane

Archived

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

×
×
  • Create New...