How to remove tax total in my cart and confirmation email in virtuemart 1.1.x
The tutorial explain on how to remove the tax total that appear in chekout process and confirmation email in virtuemart.
It include editing some virtuemart files so we need back up them and also database.
System :
Virtuemart 1.1.x
Joomla 1.5.x
E-mail template
/components/com_virtuemart/themes/default/templates/order_emails/confirmation_email.tpl.php
replace:
<td colspan=4 align=right><?php echo $VM_LANG->_(’PHPSHOP_ORDER_PRINT_TOTAL_TAX’) ?> :</td>
<td><?php echo $order_tax ?></td>
with…
<!– EDIT - remove tax line
<td colspan=4 align=right><?php echo $VM_LANG->_(’PHPSHOP_ORDER_PRINT_TOTAL_TAX’) ?> :</td>
<td><?php echo $order_tax ?></td>
–>
Cart template
/components/com_virtuemart/themes/default/templates/basket/basket_b2c.html.php
replace:
<?php if ( $tax ) { ?>
<tr class="sectiontableentry1">
<td colspan="4" align="right" valign="top"><?php echo $VM_LANG->_(’PHPSHOP_ORDER_PRINT_TOTAL_TAX’) ?>: </td>
<td align="right"><?php echo $tax_display ?></td>
</tr>
<?php }
?>
with…
<!– EDIT - remove tax line
<?php if ( $tax ) { ?>
<tr class="sectiontableentry1">
<td colspan="4" align="right" valign="top"><?php echo $VM_LANG->_(’PHPSHOP_ORDER_PRINT_TOTAL_TAX’) ?>: </td>
<td align="right"><?php echo $tax_display ?></td>
</tr>
<?php }
?>
–>
Contact me at arni[at]virtuosomaster.com if you need my help.

Ratings:
Posted in:
Joomla, Virtuemart — admin|
|
|



















