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.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Furl
  • Reddit
  • Smarking
  • StumbleUpon
  • Technorati
  • TwitThis
  • YahooMyWeb
  • Simpy
  • Propeller
  • Fark
  • LinkedIn
  • Live
  • Mixx

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment