Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving New Product box?


OUtlANDeR

Recommended Posts

I believe you can edit includes/modules/new_products.php

 

change

$col ++;

if ($col > 2) {

$col = 0;

$row ++;

to

$col ++;

if ($col > 0) {

$col = 0;

$row ++;

to have one column

 

You may also have to add <tr><td> at the begining of the page and </td></tr> at the end, like the other boxes.

 

then remove

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

twice on index.php and add

include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);

to the /includes/column_left.php where you want it to show up.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Hey,

That worked great.

I moved it from the middle to the left side, above my shopping cart box, however when i did this, it moved the shopping cart to the right side?

Id like both of the left side, and have the new products ontop.

Thanks

Link to comment
Share on other sites

Not sure what to tell you about the shopping cart moving to the right .

 

If you haven't tried it yet you may want to add the <tr><td> and </td></tr> to the new_products.php module and see if that solves the issue.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...