Guest Posted January 18, 2004 Share Posted January 18, 2004 Hi all, I think I speak for many people with this one. After searching through the forum archives for a few hours I've found many people ask similar questions but very few of them have recieved an answer. So here I will ask anyone in the know to PLEASE share their knowledge. My question is more specific than the others. Can someone please tell me what I need to modify and in what file, in order to change the layout and positioning of the elements in the product listings page? I.e. I'd like the price underneath the image, and the whole thing centered, with a horizontal rule unerneath each item and no table heading at the top saying 'products' etc. I can easily create the code for the html/table details but it's knowing which file to edit and what PHP to change in order to modify the way products are listed. If you need an example of what I mean, go to www.iwantoneofthose.com and check out their product layouts, that is the look I am trying to achieve! Any responses will be greatly appreciated, and as I said, there are quite a lot of people out there who probably want to know the same thing. So please help us! We can cover it once and for all in here. Thanks a lot, Ed Link to comment Share on other sites More sharing options...
Guest Posted January 18, 2004 Share Posted January 18, 2004 Please people, help me out :unsure: I will even post up any code changes I make so anyone else needing a similar layout can benefit from it too! Link to comment Share on other sites More sharing options...
TerryK Posted January 18, 2004 Share Posted January 18, 2004 Layout can be modified here: \catalog\product_listing.php There are mod's available in the contributions area (see link at top of forum pages) which offer alternative layout: column/list. HTH, Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. * Link to comment Share on other sites More sharing options...
Guest Posted January 18, 2004 Share Posted January 18, 2004 Thank you for the response Terry ^.. I've checked out the contribs section and found nothing suitable :( I think that product_listings.php uses a class for all boxes like product listings, defined in boxes.php, called tableBox, which sets things like rows, colspace etc. I need to use my own column and row settings but don't know how to go about incorporating it? I need to know how to go about passing the variables to my style of table, and using the php to generate a row for each product to be listed in my style of table? Hope I'm making sense :unsure: Anyone? Regards, Ed Link to comment Share on other sites More sharing options...
Guest Posted January 19, 2004 Share Posted January 19, 2004 Hi Did you find out how to do it? I am in the same situation Link to comment Share on other sites More sharing options...
TerryK Posted January 19, 2004 Share Posted January 19, 2004 Try this: http://www.oscommerce.com/community/contributions,1712 HTH, Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. * Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.