Hello, the simplest way is to hide it with css directly in the file which shows them - the basket tax is rendered in /components/com_onepage/themes/YOUR THEME/overrides/basket.html.php and the bottom one is rendered in
/components/com_onepage/themes/YOUR THEME/onepage.logged (and unlogged).tpl.php
We recommend to wrap these lines (in onepage.logged...)
- Code: Select all
<div id="tt_tax_total_0_div"><span id="tt_tax_total_0_txt" class="bottom_totals_txt"></span><span id="tt_tax_total_0" class="bottom_totals"></span><br class="op_clear"/></div>
<div id="tt_tax_total_1_div"><span id="tt_tax_total_1_txt" class="bottom_totals_txt"></span><span id="tt_tax_total_1" class="bottom_totals"></span><br class="op_clear"/></div>
<div id="tt_tax_total_2_div"><span id="tt_tax_total_2_txt" class="bottom_totals_txt"></span><span id="tt_tax_total_2" class="bottom_totals"></span><br class="op_clear"/></div>
<div id="tt_tax_total_3_div"><span id="tt_tax_total_3_txt" class="bottom_totals_txt"></span><span id="tt_tax_total_3" class="bottom_totals"></span><br class="op_clear"/></div>
<div id="tt_tax_total_4_div"><span id="tt_tax_total_4_txt" class="bottom_totals_txt"></span><span id="tt_tax_total_4" class="bottom_totals"></span><br class="op_clear"/></div>
We recommend to hide them this way:
- Code: Select all
<div style="display: none;">
<div id="tt_tax_total_0_div"><span id="tt_tax_total_0_txt" class="bottom_totals_txt"></span><span id="tt_tax_total_0" class="bottom_totals"></span><br class="op_clear"/></div>
<div id="tt_tax_total_1_div"><span id="tt_tax_total_1_txt" class="bottom_totals_txt"></span><span id="tt_tax_total_1" class="bottom_totals"></span><br class="op_clear"/></div>
<div id="tt_tax_total_2_div"><span id="tt_tax_total_2_txt" class="bottom_totals_txt"></span><span id="tt_tax_total_2" class="bottom_totals"></span><br class="op_clear"/></div>
<div id="tt_tax_total_3_div"><span id="tt_tax_total_3_txt" class="bottom_totals_txt"></span><span id="tt_tax_total_3" class="bottom_totals"></span><br class="op_clear"/></div>
<div id="tt_tax_total_4_div"><span id="tt_tax_total_4_txt" class="bottom_totals_txt"></span><span id="tt_tax_total_4" class="bottom_totals"></span><br class="op_clear"/></div>
</div>
If you simply delete them, the onepage javascript will break and therefore we recommend them to hide with the CSS.
The same for the basket.html.php (this is form the three column template) original:
- Code: Select all
<div class="op_basket_row totals" id="tt_tax_total_0_div_basket" style="display:none;" >
<div class="op_col1_4" align="right" id="tt_tax_total_0_txt_basket"><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?>: </div>
<div class="op_col5_3" align="right" id="tt_tax_total_0_basket"><?php echo $tax_display ?></div>
</div>
<div class="op_basket_row totals" id="tt_tax_total_1_div_basket" style="display:none;" >
<div class="op_col1_4" align="right" id="tt_tax_total_1_txt_basket"><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?>: </div>
<div class="op_col5_3" align="right" id="tt_tax_total_1_basket"><?php echo $tax_display ?></div>
</div>
<div class="op_basket_row totals" id="tt_tax_total_2_div_basket" style="display:none;" >
<div class="op_col1_4" align="right" id="tt_tax_total_2_txt_basket"><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?>: </div>
<div class="op_col5_3" align="right" id="tt_tax_total_2_basket"><?php echo $tax_display ?></div>
</div>
<div class="op_basket_row totals" id="tt_tax_total_3_div_basket" style="display:none;" >
<div class="op_col1_4" align="right" id="tt_tax_total_3_txt_basket"><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?>: </div>
<div class="op_col5_3" align="right" id="tt_tax_total_3_basket"><?php echo $tax_display ?></div>
</div>
<div class="op_basket_row totals" id="tt_tax_total_4_div_basket" style="display:none;" >
<div class="op_col1_4" align="right" id="tt_tax_total_4_txt_basket"><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?>: </div>
<div class="op_col5_3" align="right" id="tt_tax_total_4_basket"><?php echo $tax_display ?></div>
</div>
</div>
Again, we wrapped it with inline display: none and also removed the align attribute which was not valid.
- Code: Select all
<div style="display: none;">
<div class="op_basket_row totals" id="tt_tax_total_0_div_basket" style="display:none;" >
<div class="op_col1_4" id="tt_tax_total_0_txt_basket"><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?>: </div>
<div class="op_col5_3" id="tt_tax_total_0_basket"><?php echo $tax_display ?></div>
</div>
<div class="op_basket_row totals" id="tt_tax_total_1_div_basket" style="display:none;" >
<div class="op_col1_4" id="tt_tax_total_1_txt_basket"><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?>: </div>
<div class="op_col5_3" id="tt_tax_total_1_basket"><?php echo $tax_display ?></div>
</div>
<div class="op_basket_row totals" id="tt_tax_total_2_div_basket" style="display:none;" >
<div class="op_col1_4" align="right" id="tt_tax_total_2_txt_basket"><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?>: </div>
<div class="op_col5_3" align="right" id="tt_tax_total_2_basket"><?php echo $tax_display ?></div>
</div>
<div class="op_basket_row totals" id="tt_tax_total_3_div_basket" style="display:none;" >
<div class="op_col1_4" id="tt_tax_total_3_txt_basket"><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?>: </div>
<div class="op_col5_3" id="tt_tax_total_3_basket"><?php echo $tax_display ?></div>
</div>
<div class="op_basket_row totals" id="tt_tax_total_4_div_basket" style="display:none;" >
<div class="op_col1_4" id="tt_tax_total_4_txt_basket"><?php echo $VM_LANG->_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?>: </div>
<div class="op_col5_3"id="tt_tax_total_4_basket"><?php echo $tax_display ?></div>
</div>