remove country code in footer

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
numero7
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Jun 2010, 10:41

remove country code in footer

Post by numero7 »

Hello is there a way to remove the country code in the footer ? for some reason the country code is printed instead of the country name and I don't need it on the Bill but I need it in Virtuemart...

Could you please help me ?

many thanks and have a nice day.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: remove country code in footer

Post by Jan »

Hi, this needs to be customized in the code.

Jan
If you find Phoca extensions useful, please support the project
numero7
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Jun 2010, 10:41

Re: remove country code in footer

Post by numero7 »

Hello Jan, thanks for your answer, could you give me a way ? which file is to be modified ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: remove country code in footer

Post by Jan »

Hi, try to search this forum as there are lot of guides where are displayed the files which should be modified:

administrator/components/com_virtuemart/pdf/delivery.pdf.php
administrator/components/com_virtuemart/pdf/phoca.tcpdf.php

Jan
If you find Phoca extensions useful, please support the project
numero7
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 04 Jun 2010, 10:41

Re: remove country code in footer

Post by numero7 »

Ok phoca.tcpdf.php

comment or remove lines 78 to 81 (in my config)

Code: Select all

$this->Ln(4); 
		if($fD['vmVCountry'] != '') { 
			$this->Cell(0,4,$fD['vmVCountry'],0,0,'L');
		}
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: remove country code in footer

Post by Jan »

Ok, thanks for the info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply