Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Custom index page question


Recommended Posts

hello , i want to know how to customize my index page....this is what i want i want to place the new product name and price in a table thats all any pointers in editing the new_products.php page am stuck i know this is the code :


  $info_box_contents = array();
 while ($new_products = tep_db_fetch_array($new_products_query)) {
   $new_products['products_name'] = tep_get_products_name($new_products['products_id']);
   $info_box_contents[$row][$col] = array('align' => 'center',
                                          'params' => 'class="smallText" width="33%" valign="top"',
                                          'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])));


how do i insert the name of my product and its price in a small table ?


Any help is appreciate....

Link to comment
Share on other sites


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

  • Create New...