pldtm Posted November 24, 2002 Posted November 24, 2002 hello, i managed to change number of columns in new_products.php (only 4 products appear on screen). I managed to have complete description of a product on screen. But i don't know how to have 2 columns for each product. Itried with <TD> near : while ($new_products = tep_db_fetch_array($new_products_query)) { if (ALLOW_GUEST_TO_SEE_PRICES == 'true' || tep_session_is_registered('customer_id')) { $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="50%" 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><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] .'</a><br><br>' . $new_products['products_description'] . '</a><br><br>' . // discount // $currencies->format($new_products['products_price'])); $currencies->format($new_products['products_price'] - ($new_products['products_price']*$discountamount/100))); But nothing works well. If anyone knows???? PL DTM ----------------------------------------- Sur un malentendu, ... ?a pourrait marcher
Recommended Posts
Archived
This topic is now archived and is closed to further replies.