Page 2 of 2

Re: "E-Mail Message required!" when I try to email newslette

Posted: Tue Aug 25, 2015 12:49 pm
by sobia.sheiikh
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!

Re: "E-Mail Message required!" when I try to email newslette

Posted: Wed Aug 26, 2015 8:29 pm
by straightlight

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.