It looks like it would be a relatively simple change to (a core file, so make sure that you have a backup) /includes/functions/functions_prices.php's zen_get_products_display_price function. For v1.5.1, this code fragment starts at line 261:
Code:
if ($display_normal_price == 0) {
// don't show the $0.00
$final_display_price = $show_special_price . $show_sale_price . $show_sale_discount;
} else {
$final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
}
You'd want to change it to the following (I think) to effect your desired display:
Code:
if ($display_normal_price == 0) {
// don't show the $0.00
$final_display_price = $show_special_price . $show_sale_discount . $show_sale_price; // Swapped sale_discount and sale_price
} else {
$final_display_price = $show_normal_price . $show_special_price . $show_sale_discount . $show_sale_price; // Swapped sale_discount and sale_price
}
Bookmarks