Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Product Page Layout


Recommended Posts

Hello Guys,


I am starting to make my own osCommerce store, but wanted to ask if anyone knows a contribution or a way of easily being able to adjust the product page.


As i need it to be like this, but am not sure what will be the file that will have the correct layout changes.




Thank you guys.

Have a good day.

Link to comment
Share on other sites

Well the file is catalog/product_info.php and you don't need a contribution to change the look. What you need is some html knowledge.


PS: No idea what you mean with those blue squares. You want that your product info show blue squares?

Link to comment
Share on other sites



Thank you for replying back and for the info.


THose boxes are to show you guys how i want the layout to be, for example


The one of the far left, is to have a picture, the top right to be info and the bottom 3 to be "Buy" "Tell a Friend" "Whatever". I was hoping that someone might have an example on that.


THank you :)

Link to comment
Share on other sites

All you need to do is to move the different "elements" you have in the html part of your product_info.php


Example: This here is the product name and price


        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
           <td class="pageHeading" valign="top"><?php echo $products_name; ?></td>
           <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td>

The real info is this here

<?php echo $products_name; ?>

You can "treat" this as if it would be number 100 in plain html


Other example, the description

<?php echo stripslashes($product_info['products_description']); ?>

You treat it like having a text


So, what you can do, is to cancel the existing html structure completely and create a new one, taking the info that is getting "echoed" and placing it into your new structure.


Obviously you can not echo something before the query, so you need to do this after

Link to comment
Share on other sites


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

  • Create New...