Post by demuvi » Thu Nov 15, 2018 10:56 pm

Heya. :D
When logged in as customer and click to contact form, just the first name is auto-inserted.
Have also checked on the demo shop here and the same problem occurred.

I have fixed it with this line in
catalog/controller/information/
contact.php

Code: Select all

		if (isset($this->request->post['name'])) {
			$data['name'] = $this->request->post['name'];
			} else {
			$data['name'] = $this->customer->getFirstName().' '.$this->customer->getLastName();
			}
Just if you wondered how to solve that problem.
Cheers.

Newbie

Posts

Joined
Thu Nov 15, 2018 10:50 pm
Who is online

Users browsing this forum: No registered users and 7 guests