E-Mail Message required Error Solution – Opencart 2.0
- Article
- Comment (2)
E-Mail Message required Error Solution – Opencart 2.0. Here is the solution for Opencart version 2.0. I am not yet tried this before, one of a commenter who find this solution and gave it here. His name is: Lester Canninga . I hope this will help someone else. its not tested by myself, so try it on your risk.
The following to file admin/view/template/marketing/contact.tpl on line 198
Change:
function send(url) { $.ajax({
To:
function send(url) { $(‘#content textarea’).val($(‘div.note-editable’).html()); $.ajax({
This will update the original textarea from the note editor.
If you still facing the issue, do comment below, so i can correct it in future.
Thanks a lot for enjoying this beauty article with me. I am apreciating it very much! Looking forward to another great article. Good luck to the author! all the best!
For OC v.2.2, by default, that would be:
// function send(url) {
// Summernot fix
$(‘textarea[name=\’message\’]’).val($(‘#input-message’).summernote(‘code’));