Post by alexmath » Wed Dec 27, 2017 4:27 am

hi all, which modules am access and modification rights do I have to give to a user group to let them send emails to customers in opencart 3.0.2.0?
I checked

Code: Select all

extension/shipping/royal_mail
mail/affiliate
mail/customer
mail/forgotten
mail/reward
mail/return
mail/transaction
in both access and modification fields but still when i try to send an emai, i get the "you dont have permission to send email" error. Is there something else I am missing?

New member

Posts

Joined
Sat Sep 23, 2017 7:35 am

Post by straightlight » Wed Dec 27, 2017 4:33 am

in both access and modification fields but still when i try to send an emai, i get the "you dont have permission to send email" error. Is there something else I am missing?
Incomplete steps posted. What are the exact steps you did and from which location on the platform?

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

Post by alexmath » Wed Dec 27, 2017 5:03 am

oh ok. from the admin dashboard. As the default admin I created a second user group. then I clicked edit. From the Access Permission, I checked the checkboxes next to the above listed options, I did the same in the modify permission field.
Then logged as a user with under the user group I created. Went to Marketing -> Mail and tried to send an email to all customers.

New member

Posts

Joined
Sat Sep 23, 2017 7:35 am

Post by straightlight » Wed Dec 27, 2017 5:05 am

Went to Marketing -> Mail and tried to send an email to all customers.
Ok so what happens afterwards? What are the exact results you notice? Please, post all the details so to ease a proper solution to the reported issue.

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

Post by alexmath » Wed Dec 27, 2017 5:10 am

That's when I got this warning:

Code: Select all

 Warning: You do not have permission to send E-Mails!

New member

Posts

Joined
Sat Sep 23, 2017 7:35 am

Post by straightlight » Wed Dec 27, 2017 5:15 am

In your user groups, do you see the marketing/contact route checked on both list in the page? Also, is your logged in user defined from the admin users page for this user group you are granting access to?

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

Post by alexmath » Wed Dec 27, 2017 5:24 am

Thank you very much. it was the last route you mentioned that was not checked in the modify permissions area that cause the problem :). Basically, I want this user group to be able to do everything ranging from customer handling to order handling, marketing and all that but not mess with the products. If it is not a big bother, which modules should I give them permission to? If you feel this is way off. feel free to ignore. My main problem has already been addressed :). again, thanks.

New member

Posts

Joined
Sat Sep 23, 2017 7:35 am

Post by alexmath » Wed Dec 27, 2017 5:31 am

by the way, I just noticed something, why, in the success message, does it say that

Code: Select all

Success: Your message has been sent to [b]0[/b] out of 5 customers
.
Isnt it supposed to be 5 out of 5?

New member

Posts

Joined
Sat Sep 23, 2017 7:35 am

Post by straightlight » Wed Dec 27, 2017 8:17 am

alexmath wrote:
Wed Dec 27, 2017 5:24 am
Thank you very much. it was the last route you mentioned that was not checked in the modify permissions area that cause the problem :). Basically, I want this user group to be able to do everything ranging from customer handling to order handling, marketing and all that but not mess with the products. If it is not a big bother, which modules should I give them permission to? If you feel this is way off. feel free to ignore. My main problem has already been addressed :). again, thanks.
Assign permissions to customer/customer, sale/order, marketing/contact but no permissions assigned to the catalog route.

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

Post by straightlight » Wed Dec 27, 2017 8:18 am

alexmath wrote:
Wed Dec 27, 2017 5:31 am
by the way, I just noticed something, why, in the success message, does it say that

Code: Select all

Success: Your message has been sent to [b]0[/b] out of 5 customers
.
Isnt it supposed to be 5 out of 5?
See if this solution resolves the issue: viewtopic.php?f=202&t=199022&p=703106#p703106

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

Post by alexmath » Thu Dec 28, 2017 5:37 pm

Hello. sorry for the rather tardy reply, but in my corresponding

Code: Select all

admin/controller/marketing/contact.php
I have this:

Code: Select all

$json['success'] = sprintf($this->language->get('text_sent'), $start, $email_total);

New member

Posts

Joined
Sat Sep 23, 2017 7:35 am

Post by straightlight » Thu Dec 28, 2017 9:44 pm

Then, you did not followed the instructions from the indicated post above. It is instructed to replace the entire line which means despite of the content you may have entirely from that line, it needs to be replaced.

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

Post by alexmath » Thu Dec 28, 2017 10:03 pm

ok, understood. will do it right away

New member

Posts

Joined
Sat Sep 23, 2017 7:35 am
Who is online

Users browsing this forum: NicNie and 372 guests