Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to display products as in 'new_products' on all pages?


Recommended Posts



I've been trying to work out how to always display the products as they do in new_products.php, in other words, so that they are lined up horizontally (several columns) instead of in one huge column

as in products_listing.php. I want the products to always display like this http://www.doftochsmink.se/index.php?cPath=50_54 (when there's one more step until u reach the leaf category)

instead of like this http://www.doftochsmink.se/index.php?cPath=50_54_51 (leaf category).


I've looked around in the code but I haven't found any way to do this yet. Does anyone have any suggestions on how to do this? I greatly appreciate any help I can get on this.




Best regards,


Link to comment
Share on other sites

I could add that, as I see it, there's two ways to go about this:


1: Edit the code to call "new_products.php" instead of for instance products_listing.php, and edit new_products.php to be able to parse the info given when the latter is called (as well as modifying the SQL queries to give the correct search results)


2: modify each file where the display is different (like in products_listing.php) to display the products differently, like they do in new_products.php.


I think 1) is easier, but I still don't know what to modify exactly.


Again, I greatly appreciate any help I can get on this.



Link to comment
Share on other sites



I finally found an addon which approximately does what I wanted to achieve: http://addons.oscommerce.com/info/7159


Now, this addon doesn't have the exact same looks as I have in my new_products.php, but it's close enough so that I can modify

the rest to look the way I want it to.


Hope this helps if anyone else was wondering the same thing.



Link to comment
Share on other sites


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

  • Create New...