localoco Posted September 22, 2006 Posted September 22, 2006 hey, can someone tell me how i change the number of showing new products? on the site there are always 3 at the same line, how can i change it in 2 at the same line Thanks anyway for them who can help me
♥Monika in Germany Posted September 22, 2006 Posted September 22, 2006 your question is not very accurate ... you do not want to change the number of products, just the design - output formatting. The design separation into 3 columns is done in catalog/includes/modules/new_products.php Look for 33% and the value for new line set at $col ++; if ($col > 2) { $col = 0; $row ++; } There it would need to be > 1 to force a new line after 2 products :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
localoco Posted September 23, 2006 Author Posted September 23, 2006 your question is not very accurate ... you do not want to change the number of products, just the design - output formatting. The design separation into 3 columns is done in catalog/includes/modules/new_products.php Look for 33% and the value for new line set at $col ++; if ($col > 2) { $col = 0; $row ++; } There it would need to be > 1 to force a new line after 2 products :thumbsup: thanks and big kiss from me !!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.