Post by sobia.sheiikh » Tue Aug 25, 2015 12:49 pm

Hi,
i was also having same issue at open cart v2
i have taken fix ... there are changes in two files contact.php and contact.tpl
The Fix change Sale to customer in following line of code from contact.php
$this->load->model('customer/customer_group');
$data['customer_groups'] = $this->model_customer_customer_group->getCustomerGroups();

where as it was sale/customer_group in pre fix version of contact.php.

There is no Customer directory in admin/model
Other than contact.tpl and contact.php...is there fix in some other files and directories too?
Or i need to create directory customer and move existing customer_group there
kindly comment!

Newbie

Posts

Joined
Thu Aug 20, 2015 4:28 am

Post by straightlight » Wed Aug 26, 2015 8:29 pm

Code: Select all

$this->load->model('customer/customer_group');
$data['customer_groups'] = $this->model_customer_customer_group->getCustomerGroups();
I fail to see where you notice these lines. I'm using v2.0.3.1 as I don't notice these lines anywhere in OC. As to answering your latest question, no, you do not need to create additional folders inside the sale folder nor inside any folders by default.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 1 guest