http://addons.oscommerce.com/info/7403
, that makes things easier still. The nonproduct images are separated out and put in a template folder with the stylesheet. You can switch out designs in the admin.
Edited by npn2531, 20 May 2010, 02:20.
Posted 20 May 2010, 02:19
Edited by npn2531, 20 May 2010, 02:20.
Posted 01 June 2010, 00:20
Posted 02 June 2010, 05:23
Edited by npn2531, 02 June 2010, 05:23.
Posted 02 June 2010, 10:21
Edited by piernas, 02 June 2010, 10:22.
Posted 03 June 2010, 22:44
Posted 04 June 2010, 02:27
Posted 04 June 2010, 02:37
Posted 04 June 2010, 10:30
Posted 19 June 2010, 21:36
piernas, on 04 June 2010, 10:30, said:
Posted 03 August 2010, 02:46
bavautoM3, on 19 June 2010, 21:36, said:
Quote
Posted 30 September 2010, 07:47
Posted 21 October 2010, 03:29
Posted 21 October 2010, 03:32
npn2531, on 27 January 2010, 21:34, said:
while ($new_products = tep_db_fetch_array($new_products_query)) {
$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'])));
$col ++;
if ($col > 2) {
$col = 0;
$row ++;
}
}
new contentBox($info_box_contents);
while ($new_products = tep_db_fetch_array($new_products_query)) {
echo '<div class="cssproduct_listing_item"><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']) . '"><br/>' . $new_products['products_name'] . '</a><br/><br/>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])).'</div>';
}
new csscontentBox($info_box_contents);
2) add the following code (new class definition) to includes/classes/boxes.php before the final ?>
class csscontentBox extends csstableBox {
function csscontentBox($contents) {
$this->csstableBox($info_box_contents, true);
}
}
that's itPosted 13 March 2011, 20:48