|
|
|
number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>
| display_count(TEXT_DISPLAY_NUMBER_OF_SPECIALS); ?> |
display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?> |
|
|
sql_query);
while ($specials = tep_db_fetch_array($specials_query)) {
$row++;
//TotalB2B start
$specials['products_price'] = tep_xppp_getproductprice($specials['products_id']);
//TotalB2B end
//TotalB2B start
$specials['specials_new_products_price'] = tep_get_products_special_price($specials['products_id']);
$query_special_prices_hide = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " WHERE configuration_key = 'SPECIAL_PRICES_HIDE'");
$query_special_prices_hide_result = tep_db_fetch_array($query_special_prices_hide);
if ($query_special_prices_hide_result['configuration_value'] == 'true') {
echo ' ' . tep_image(DIR_WS_IMAGES . $specials['products_image'], $specials['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . ' ' . $specials['products_name'] . ' ' . $currencies->display_price_nodiscount($specials['specials_new_products_price'], tep_get_tax_rate($specials['products_tax_class_id'])) . ' | ' . "\n";
} else {
echo ' ' . tep_image(DIR_WS_IMAGES . $specials['products_image'], $specials['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . ' ' . $specials['products_name'] . '
' . $currencies->display_price($specials['products_id'], $specials['products_price'], tep_get_tax_rate($specials['products_tax_class_id'])) . ' ' . $currencies->display_price_nodiscount($specials['specials_new_products_price'], tep_get_tax_rate($specials['products_tax_class_id'])) . ' | ' . "\n";
}
//TotalB2B end
if ((($row / 3) == floor($row / 3))) {
?>
|
|
number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>
| display_count(TEXT_DISPLAY_NUMBER_OF_SPECIALS); ?> |
display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?> |
|
|
|