Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Alternate Pdouct Display


Guest

Recommended Posts

Posted

We just started using oScommerce and we need to change the way products display. Right now it displays products like:

 

product 1 price buy now

product 2 price buy now

product 3 price buy now

product 4 price buy now

product 5 price buy now

product 6 price buy now

product 7 price buy now

product 8 price buy now

 

How can I make it display like

 

product 1 product 2 product 3 product 4

price price price price

buy now buy now buy now boy now

 

product 5 product 6 product 7 product 8

price price price price

buy now buy now buy now boy now

 

 

 

Thanks in advance!

 

 

Regards,

Ben

Posted

We all wish it is as easy as drag&drop, unfortunately that is not the case here. :)

 

The codes you are looking for is in catalog\includes\modules\product_listing.php directory.

 

You'll need to rearrange the codes within <table></table> tags. You don't really need to know PHP for this mod, just HTML.

 

Have fun! :thumbsup:

Posted

BTW, I personally use Dreamweaver which allow me to see the structure of the tables straight away. If you are familiar with modifying tables Dreamweaver, it should be easy enough. :thumbsup:

Posted

Sorry, ignore what I said above. I was thinking of a completely different project.

 

Anyways, you need to have some knowledge of PHP to edit the catalog\includes\modules\product_listing.php file.

 

The $list_box_contents array has to be changed before passing it as a parameter to productListingBox class.

Posted

there is a contribution. Product_listing_col.

works fine, you can tell it how many collumns you'd like to show

Archived

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

×
×
  • Create New...