Hi. I´d like to change the client fields in the order layout, the pdf when you click on the print icon in the orders menu.
I dont use the "ship to" fields, so i erased them to save space on paper, but its useless unless i move some fields on the "bill to" to the right, as you can see in the image.
If anyone could help me and give some information about how can i do this i will be grateful.
(http://www.milinanda.pt/images/apagar/order.JPG)
Thanks
Layout is set in backend Shop/Invoice tab in combination with the template file, components/com_virtuemart/views/invoice/tmpl/invoice.php
In you edit invoice.php be sure to use the edited file as a template override.
Hi. Thanks for your help, but the changes i need to do cannot be done in backend Shop/Invoice tab nor in the invoice.php
I want to put some of the fields to the right, not all, but in the invoice.php it appears like this:
<?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_BILL_TO_LBL') ?></strong> <br/>
<table border="0"><?php
foreach ($this->userfields['fields'] as $field) {
if (!empty($field['value'])) {
echo '<tr><td class="key">' . $field['title'] . '</td>'
. '<td>' . $field['value'] . '</td></tr>';
}
}
?></table>
</td>
<td valign="top" ><strong>
Where can i "edit" the user fields?
Thanks again