In your template's tpl_header.php there is a section of code similar to this:
Code:
<?php if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
}
?>
You could change it to something like this:
Code:
<?php
$saleDetails = $db->Execute("select * from " . TABLE_SALEMAKER_SALES . " where sale_status=1 order by sale_date_end asc, sale_id asc");
if ($saleDetails->RecordCount()) {
$saleTitle = $saleDetails->fields['sale_name'];
$saleAmount = number_format($saleDetails->fields['sale_deduction_value'], 2); // might have to adjust depending on sale_deduction_type setting
$saleExpiry = $saleDetails->fields['sale_date_end']; // might have to adjust if you forget to set an expiry date
?>
<div id="tagline">Take advantage of our <?php echo $saleTitle;?> Sale and save <?php echo $saleAmount;?> through <?php echo $saleExpiry;?>!</div>
<?php
}
?>