for all having trouble showing points on checkout_confirmation.php register_globals=off could be the reason...
to fix this problem, simply change one thing:
in catalogincludesmodulesorder_totalot_redemptions.ph p search for:
// if customer is using points to pay
if ($customer_shopping_points_spending > 0){
$order->info['total'] = $order->info['total'] - (tep_calc_shopping_pvalue($customer_shopping_point s_spending));
$this->output[] = array('title' =>''. MODULE_ORDER_TOTAL_REDEMPTIONS_TEXT . ':',
'text' => '-'.$currencies->format(tep_calc_shopping_pvalue($customer_shoppin g_points_spending), true, $order->info['currency'], $order->info['currency_value'].''),
'value' => tep_calc_shopping_pvalue($customer_shopping_points _spending));
}
and replace with:
// if customer is using points to pay
if ($_POST['customer_shopping_points_spending'] > 0){
$order->info['total'] = $order->info['total'] - (tep_calc_shopping_pvalue($_POST['customer_shopping_points_spending']));
$this->output[] = array('title' =>''. MODULE_ORDER_TOTAL_REDEMPTIONS_TEXT . ':',
'text' => '-'.$currencies->format(tep_calc_shopping_pvalue($_POST['customer_shopping_points_spending']), true, $order->info['currency'], $order->info['currency_value'].''),
'value' => tep_calc_shopping_pvalue($_POST['customer_shopping_points_spending']));
}
------------------
second solution but not that safe is to overwrite existing ot_redemptions.php with that one I included...
Thx for this wonderful constribution goes to silver...
fix by www.artesanias.de
More...





LinkBack URL
About LinkBacks









Bookmarks