VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: optmax on January 14, 2013, 18:13:40 PM

Title: [SOLVED] Order [Edit] view repeats first_name in Name
Post by: optmax on January 14, 2013, 18:13:40 PM
VM 2.0.18a
On my development site, in the back end Orders page Name is shown as Company First_Name First_Name - see attached image.

Anyone else seen this?

Which file contains the code for this view?

[attachment cleanup by admin]
Title: [SOLVED] Order [Edit] view repeats first_name in Name
Post by: optmax on January 14, 2013, 18:48:53 PM
Found the problem:
Line 70 of
administrator\com_virtuemart \views\orders\tmpl\order.php has

         $username.=$this->orderbt->first_name." ".$this->orderbt->first_name." ";

which in an override I have changed to

         $username.=$this->orderbt->first_name." ".$this->orderbt->last_name." ";

What is the proper way to report this so it gets corrected?
Title: Re: [SOLVED] Order [Edit] view repeats first_name in Name
Post by: Milbo on January 14, 2013, 23:40:11 PM
Thank you, report verified and locally fixed.

if a report like this is maybe ignored, write a pm to me,...