catalog/model/account/customer.php
Code: Select all
$sql = "SELECT *, CONCAT(c.firstname, ' ', c.lastname,' ',c.competition_rate,c) AS name, cg.name AS customer_group FROM " . DB_PREFIX . "customer c LEFT JOIN " . DB_PREFIX . "customer_group cg ON (c.customer_group_id = cg.customer_group_id) ";
Code: Select all
<?php echo $competition_rate; ?>
Code: Select all
$this->data['text_logged'] = sprintf($this->language->get('text_logged'), $this->url->link('account/account', '', 'SSL'), $this->customer->getFirstName(),$this->customer->getcompetition_rate(), $this->url->link('account/logout', '', 'SSL'));
Fatal error: Call to undefined method Customer::getcompetition_rate() in C:\xampp\htdocs\sport\catalog\controller\common\header.php on line 76
What am I missing? Please help!