Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Random products


Guest

Recommended Posts

Posted

I am trying to display random product on my home page. I installed a contribution called random products. This required me to make two changes in the Index.php file. Basically, there are two instances of FILENAME_NEW_PRODUCTS which I was to change to FILENAME_RND_PRODUCTS. When I change the first instance it change the product diplayed when you click a category beautifully!. However, When I change the second instance here it pushes my home page out to full screen. It is as if it has put a big blank space between the left column and the new product box.

 

Anyone any ideas. Any help would be appreciated. Thanks!

 

 

</table></td>
<?php
 } else { // default page
?>
   <td width="100%" valign="top" style="padding-left:2px;"><table border="0" width="100%" cellspacing="0" cellpadding="0">  
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <?php include(DIR_WS_MODULES . [b]FILENAME_NEW_PRODUCTS); [/b]?>
<?php
   //include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);
?>
       </table></td>

  • 1 month later...
Posted

So do you want to just have random products show up on the homepage instead of the new products? If so let me know.

Archived

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

×
×
  • Create New...