Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PLEASE HELP!!


sande

Recommended Posts

With this code it will take the pictures for my BestSellers box in /images but there the pictures are to BIG, I need to change this code for that read my pictures in /images/imagecache becouse there is the correct small images.

 

Can somebody check it this code and change it for me??

 

THANKS!!!

 

 

 

 

<!-- best_sellers //-->

<tr>

<td>

<?php

$info_box_contents = array();

$info_box_contents[] = array('align' => 'left',

'text' => BOX_HEADING_BESTSELLERS

);

new infoBoxHeading($info_box_contents, false, false);

 

$rows = 0;

$info_box_contents = array();

while ($best_sellers = tep_db_fetch_array($bestseller_products_query)) {

$rows++;

$info_box_contents[] = array('align' => 'center',

'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $best_sellers["products_id"], 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $best_sellers['products_image'], $best_sellers['products_name']) . '</a><br>' . ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $best_sellers['products_id'], 'NONSSL') . '">' . $best_sellers['products_name'] . '</a><b><br>' . /* $currencies->display_price($best_sellers['products_price'], tep_get_tax_rate($best_sellers['products_tax_class_id'] . */ '</b>');

}

new infoBox5($info_box_contents);

?>

</td>

</tr>

<!-- best_sellers_eof //-->

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...