|
';
} else {
$products_price_points = tep_display_points($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
}
$products_points = tep_calc_products_price_points($products_price_points);
$products_points_value = tep_calc_price_pvalue($products_points);
if (USE_POINTS_FOR_SPECIALS == 'true' || $new_price == false){
echo '' . sprintf(TEXT_PRODUCT_POINTS , number_format($products_points,POINTS_DECIMAL_PLACES), $currencies->format($products_points_value)) . ' ';
} else {
echo '' . TEXT_PRODUCT_NO_POINTS . ' ';
}
}
// Points/Rewards system V2.00 EOF
?>
0) {
?>
|
contents[$HTTP_GET_VARS['products_id']]['attributes_values'][$products_options_name['products_options_id']] .'"> ' . $products_options_name['products_options_comment'] ;
if ($products_attribs_array['options_values_price'] != '0') {
$tmp_html .= '(' . $products_attribs_array['price_prefix'] . $currencies->display_price($products_attribs_array['options_values_price'], $product_info_values['products_tax_class_id']) .')';
}
?>
|
|
' . $products_options_name['products_options_name'] . ': | ';
echo tep_draw_textarea_field('id[' . TEXT_PREFIX . $products_options_name['products_options_id'] . ']','virtual', '50','5');//see above...Not sure if you need last attribute
echo $products_options_name['products_options_comment'];
if ($products_attribs_array['options_values_price'] != '0') {
echo '(' . $products_attribs_array['price_prefix'] . $currencies->display_price($products_attribs_array['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';
}
echo ' | ';
break;
?>
|
|
';
$products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . $products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . $languages_id . "'");
$checked = true;
while ($products_options_array = tep_db_fetch_array($products_options_query)) {
$tmp_html .= '';
$tmp_html .= tep_draw_radio_field('id[' . $products_options_name['products_options_id'] . ']', $products_options_array['products_options_values_id'], $checked);
$checked = false;
$tmp_html .= $products_options_array['products_options_values_name'] ;
$tmp_html .=$products_options_name['products_options_comment'] ;
if ($products_options_array['options_values_price'] != '0') {
$tmp_html .= '(' . $products_options_array['price_prefix'] . $currencies->display_price($products_options_array['options_values_price'], $product_info_values['products_tax_class_id']) .') ';
}
$tmp_html .= ' | ';
}
$tmp_html .= ' ';
?>
|