$final_display_price is built from the components below:
Code:
$final_display_price = 'Retail: ' . $show_normal_price . '<br />Today: ' . $show_special_price . $show_sale_price . $show_sale_discount;
But if there wasn't a $show_normal_price then why say it:
Code:
($show_normal_price ? 'Retail: ' . $show_normal_price : '')
If there wasn't a $show_special_price then why say it:
Code:
($show_special_price ? '<br />Today: ' . $show_special_price : '')
If there wasn't a Sale Price why say it:
Code:
($show_sale_price ? $show_sale_price : '')
If there wasn't a Discount why say it:
Code:
($show_sale_discount ? $show_sale_discount : '')
So ... put it all together and see if all of the pricing combos look right for:
Products no special no sale no discount
Products special no sale discount
Products no special sale discount
Products special sale discount
Code:
$final_display_price = ($show_normal_price ? 'Retail: ' . $show_normal_price : '') . ($show_special_price ? '<br />Today: ' . $show_special_price : '') . ($show_sale_price ? $show_sale_price : '') . ($show_sale_discount ? $show_sale_discount : '');