News:

Support the VirtueMart project and become a member

Main Menu

Email Address in Bill To

Started by gcarne, May 26, 2014, 10:58:32 AM

Previous topic - Next topic

gcarne

In FE as well as in invoices the first line of the Bill To address is the email address. How/where can this line be removed?

gcarne

Many reads, no reply. Moderator?

GJC Web Design

in e.g components/com_virtuemart/views/invoice/tmpl/invoice_order.php

it loops thru the fields  so you will have to know a bit of php to skip it

foreach ($this->userfields['fields'] as $field) {
if (!empty($field['value'])) {
    echo '<tr><td class="key">' . $field['title'] . '</td>'
    . '<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

gcarne

This is something that appears in several different places, but the coding is pretty much the same. My main issue was actually with the email order confirmation where it did not look good. I found the file and with the help of my best friend Mr. Google even a novice like me could do some php. Being stubborn helps  8)

Thanks for showing me in the right direction.