This OPC is just the thing EXCEPT!!
I dont want the price elements on the product listing - no problem doing that but the
" Total: £0.00" which is now appearing below is messy.
I just cant seem to get rid of it without killing the "Confirm order" link
So the code bit that is relevant in tpl_modules_opc_shopping_cart.php is
// end for loopthru all products
if (MODULE_ORDER_TOTAL_INSTALLED) {
$row_class = ($last_row_class == 'rowEven') ? 'rowOdd' : 'rowEven';
?>
<tr class="<?php echo $row_class; ?>" id="cartOrderTotals">
<td colspan="<?php echo (count ($order->info['tax_groups']) > 1) ? 4 : 3; ?>" id="orderTotalDivs"><?php $order_total_modules->process (); $order_total_modules->output (); ?></td>
</tr>
<?php
}
?>
</table>
</fieldset>
</div>
<div class="clearBoth"></div>
<!--eof shopping-cart block -->
[/I]
The above works fine apart from the unwanted line.
Then if I delete for instance " $order_total_modules->process (); "
then the "Total" line disappears BUT the Confirm Order link doesnt work
Am I looking in the wrong place or am I misunderstanding the logic ?


Reply With Quote
