I created a test account so I could see pricing in the discount tables, and see that they don't work correctly when prices display. For some reason,
PHP Code:
if ($zc_hidden_discounts_on) {
$qdt .= ' <table border="1" cellspacing="2" cellpadding="2">
<tr>
<td colspan="1" align="center">
' . TEXT_HEADER_DISCOUNTS_OFF . '
works perfectly to start the table, but the same opening code
PHP Code:
} else {
$qdt .= ' <table border="1" cellspacing="2" cellpadding="2">
<tr>
<td colspan="' . $columnCount+1 . '" align="center">
';
switch ($products_discount_type) {
case '1':
$qdt .= TEXT_HEADER_DISCOUNT_PRICES_PERCENTAGE;
loses all of the
Code:
' <table border="1" cellspacing="2" cellpadding="2">
<tr>
<td colspan="'
when outputting prices. Try changing this line
PHP Code:
<td colspan="' . $columnCount+1 . '" align="center">
to this
PHP Code:
<td colspan="' . ($columnCount+1) . '" align="center">
Bookmarks