Billing Address -> how to REMOVE the VAT-Line

Phoca Cart - complex e-commerce extension
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 386
Joined: 07 Nov 2018, 14:55

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

Post 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 />';}*/

Tags:
User avatar
CRM-Hero
Phoca Member
Phoca Member
Posts: 31
Joined: 24 Sep 2023, 12:11

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

Post 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?
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 386
Joined: 07 Nov 2018, 14:55

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

Post by Nidzo »

You're welcome!
Post Reply