Page 2 of 2

Re: Billing Address -> how to REMOVE the VAT-Line

Posted: 15 Dec 2023, 20:58
by Nidzo
There is 5 results for vat_1 in order.php starting from line 433

Image

Find

Code: Select all

if ($v['vat_1'] != '') { $ob[] = '<br />'.Text::_('COM_PHOCACART_VAT_1_LABEL').': '. $v['vat_1'].'<br />';}
in
// -----------
// SHIPPING
// -----------
and
// -----------
// BILLING
// -----------
and comment it so it look like this:

Code: Select all

/*if ($v['vat_1'] != '') { $ob[] = '<br />'.Text::_('COM_PHOCACART_VAT_1_LABEL').': '. $v['vat_1'].'<br />';}*/

Re: Billing Address -> VAT-Line removed -> RESOLVED

Posted: 15 Dec 2023, 21:22
by CRM-Hero
Hi Nidzo,

thanks a lot; so helpfull.
While you posted the info I gave it a last try and found the right order.php (there are 2) and uncommented line 433+434.
  • Great it works
vat_1 form field:
  • Deactivating in the "Form Fields" is no option, because then customers could not fill-in the required info.
    Because it would not show when registering or altering later.
Since this is in: ".../app/components/com_phocacart/layouts" I will try to make an override later.

Thanks again
Roland
Nidzo wrote: 15 Dec 2023, 20:58 There is 5 results for vat_1 in order.php starting from line 433
How your vat_1 form field looks?

Re: Billing Address -> how to REMOVE the VAT-Line

Posted: 16 Dec 2023, 14:24
by Nidzo
You're welcome!