News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

change layout delivery note

Started by sanderversteegh, July 27, 2018, 14:56:43 PM

Previous topic - Next topic

sanderversteegh

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

GJC Web Design

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>';
}
    }
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

sanderversteegh

#2
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.