Good day.
I'm working on a little web shop on Joomla (3.8.10) and Virtualmart (3.2.14).
Now I'm trying to change the delivery note layout, I already found a way to make the invoice different from the delivery note. I also succeeded to change the location of the address to my liking by changing a few files in componets/com_virtualmart/views/invoice/tmpl.
Now I have 2 problems I can't solve.
If you look at my delivery note there is a big empty space between the logo and the Address, I want to make this smaller or remove it entirely so when I fold it I have the entire address on the front.
I also want to remove the text like Title:, Voornaam, Achternaam, ETC so you only get the
customer information.
Thank you for your help,
Greetings Sander
the logo gap is this margin setting
labels remove in
components\com_virtuemart\views\invoice\tmpl\invoice_order.php
foreach ($this->userfields['fields'] as $field) {
if (!empty($field['value'])) {
echo '<tr><td class="key">' . $field['title'] . '</td>'
. '<td>' . $field['value'] . '</td></tr>';
}
}
to
foreach ($this->userfields['fields'] as $field) {
if (!empty($field['value'])) {
echo '<tr><td>' . $field['value'] . '</td></tr>';
}
}
Thank you! You're my hero!
I managed to make so when someone choses an alternative package address It replaces the biling address. I have it now like i want it.