Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Random products


Recommended Posts

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!



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

Link to comment
Share on other sites

  • 1 month later...


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

  • Create New...