X

E-Mail Message required Error Solution – Opencart 2.0


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.

commenter

About Varadharaj V

The founder of Kvcodes, Varadharaj V is an ERP Analyst and a Web developer specializing in WordPress(WP), WP Theme development, WP Plugin development, Frontaccounting(FA), Sales, Purchases, Inventory, Ledgers, Payroll & HRM, CRM, FA Core Customization, OpenCart Theme Development, PHP, HTML, CSS, jQuery, Bootstrap development and content SEO.

2 comments

  1. commenter

    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!

  2. commenter

    For OC v.2.2, by default, that would be:

    // function send(url) {
    // Summernot fix
    $(‘textarea[name=\’message\’]’).val($(‘#input-message’).summernote(‘code’));

Comment Below

Your email address will not be published. Required fields are marked *

*

Current ye@r *

Menu

Sidebar

Subscribe E-mail Updates

Subscribe to our email newsletter.

 

Advertisement

Category Posts