Copy the file:
/includes/modules/products_quantity_discounts.php
to your templates and overrides directory:
/includes/modules/your_template_dir/products_quantity_discounts.php
and change the code around line 98 to:
Code:
// percentage discount
case '1':
if ($products_discount_type_from == '0') {
// $quantityDiscounts[$columnCount]['discounted_price'] = $display_price - ($display_price * ($products_discounts_query->fields['discount_price']/100));
$quantityDiscounts[$columnCount]['discounted_price'] = ($products_discounts_query->fields['discount_price']/100);
} else {
if (!$display_specials_price) {
// $quantityDiscounts[$columnCount]['discounted_price'] = $display_price - ($display_price * ($products_discounts_query->fields['discount_price']/100));
$quantityDiscounts[$columnCount]['discounted_price'] = ($products_discounts_query->fields['discount_price']/100);
} else {
// $quantityDiscounts[$columnCount]['discounted_price'] = $display_specials_price - ($display_specials_price * ($products_discounts_query->fields['discount_price']/100));
$quantityDiscounts[$columnCount]['discounted_price'] = ($products_discounts_query->fields['discount_price']/100);
}
}
break;
then copy the file:
/includes/templates/template_default/templates/tpl_modules_products_quantity_discounts.php
to your templates and overrides directory:
/includes/templates/your_template_dir/templates/tpl_modules_products_quantity_discounts.php
and around line 55 change the code to:
Code:
<!-- <td align="center"><?php echo $quantityDiscount['show_qty'] . '<br />' . $currencies->display_price($quantityDiscount['discounted_price'], zen_get_tax_rate($products_tax_class_id)); ?></td> -->
<td align="center"><?php echo $quantityDiscount['show_qty'] . '<br />' . ($quantityDiscount['discounted_price'] * 100) . '%'; ?></td>
See if that is what you are looking to do ...
Bookmarks