News:

Looking for documentation? Take a look on our wiki

Main Menu

I cannot change the order email no matter what I change!

Started by samlf3rd, May 22, 2013, 05:54:52 AM

Previous topic - Next topic

samlf3rd

Someone please help, I have read 20 forums about this, yet I cannot get my email confirmation to change. All I want to do is comment out the "Tax" and "Discount" column, but something is not going right.

I am in: /root/components/com_virtuemart//views/invoice/tmpl
I have tried commenting lines in this file: invoice_items.php and nothing happens.
<tr align="left" class="sectiontableheader">
<td align="left" width="5%"><strong><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_SKU'?></strong></td>
<td align="left" colspan="2" width="38%" ><strong><?php echo JText::_('COM_VIRTUEMART_PRODUCT_NAME_TITLE'?></strong></td>
<td align="center" width="10%"><strong><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_PRODUCT_STATUS'?></strong></td>
<td align="right" width="10%" ><strong><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_PRICE'?></strong></td>
<td align="right" width="6%"><strong><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_QTY'?></strong></td>
<?php if ( VmConfig::get('show_tax')) { ?>
<td align="right" width="10%" ><strong><?php //echo JText::_('COM_VIRTUEMART_ORDER_PRINT_PRODUCT_TAX') 
?>
</strong></td>
  <?php ?>
<td align="right" width="11%"><strong><?php //echo JText::_('COM_VIRTUEMART_ORDER_PRINT_SUBTOTAL_DISCOUNT_AMOUNT') 
?>
</strong></td>
<td align="right" width="11%"><strong><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_TOTAL'?></strong></td>
</tr>

Peter Pillen

Maybe you have a template override set for the invoice?

Have a look in the folder templates\*your template*\html\com_virtuemart\invoice

samlf3rd

Quote from: P2 Peter on May 22, 2013, 09:04:15 AM
Maybe you have a template override set for the invoice?

Have a look in the folder templates\*your template*\html\com_virtuemart\invoice

Nope I have no overrides at all.

samlf3rd

Anyone? What else could could be overriding my email template? I can't figure this out.

All I want to do is remove the Tax and DIscount Column. I have tried in components/com_virtuemart/views/invoice/tmpl/invoice_items.php, and  I also tried orders/tmpl/details_items.php

Nothing changes! Same invoice in my email with no changes.???

[attachment cleanup by admin]

samlf3rd

Okay, I was wrong. We have Virtuemart Email Manager Pro installed, even thought the code offers no customization it overrides the invoice_items file...
Thank you for your help.

Solved.