Got this message when sending mail to customers from admin area admin/marketing/mail
Your message has been successfully sent to 0 of 0 recipients! should be 1 of 1 recipients when 1 customer is added to the list
Is this a bug in OC3?
Raptorheli
find:
Code: Select all
$json['success'] = sprintf($this->language->get('text_sent'), $start, $email_total);
Code: Select all
$json['success'] = sprintf($this->language->get('text_sent'), $start, sizeof($emails));
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
straightlight you are the expert :-)
Message is now correct (copy screen shot from admin)
Your message has been successfully sent to 0 of 1 recipients!
Thanks
Raptorheli
Code: Select all
$json['success'] = sprintf($this->language->get('text_sent'), sizeof($emails), sizeof($emails));
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
If this issue is still on-going on the master branch from Opencart Github, you could report it in their issues tab.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Sorry, but should not it be like this instead:straightlight wrote: ↑Mon Oct 30, 2017 3:36 amThen, the official fix should be this one:
Code: Select all
$json['success'] = sprintf($this->language->get('text_sent'), sizeof($emails), sizeof($emails));
Code: Select all
$json['success'] = sprintf($this->language->get('text_sent'), sizeof($emails),$email_total);
No. This issue has already been fixed on the master branch.vladimir.efimenko wrote: ↑Sun Feb 07, 2021 2:26 amSorry, but should not it be like this instead:straightlight wrote: ↑Mon Oct 30, 2017 3:36 amThen, the official fix should be this one:
Code: Select all
$json['success'] = sprintf($this->language->get('text_sent'), sizeof($emails), sizeof($emails));
Code: Select all
$json['success'] = sprintf($this->language->get('text_sent'), sizeof($emails),$email_total);
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 95 guests