Rhapsody Posted August 27, 2013 Share Posted August 27, 2013 Using PS 1.5.4.1 - whenever a customer submits a message through the contact form available at the bottom of the order history, the title in the email that the shop sends is [correct name of shop] Customer message from contact form [no_sync] What is causing the [no_sync] and how do I get rid of it? Link to comment Share on other sites More sharing options...
cmartin126 Posted November 29, 2013 Share Posted November 29, 2013 I also have 3 Prestashop sites running version; PrestaShop™ 1.5.4.1 and all three of them give me the same subject line [no_sync] at the end of the line. This is an obvious variable that needs to be updated as the begging of the subject is always populated with the company name of each site: [my correct company name] Message from contact form [no_sync] What is the other variable and where can it be set so that it does not look so amateur? Link to comment Share on other sites More sharing options...
cmartin126 Posted November 29, 2013 Share Posted November 29, 2013 After some more research, this person posted a work around,,, although it is in French; http://www.prestashop.com/forums/topic/253828-resoluobjets-de-mail-en-anglais/?gopid=1275965&do=findComment&comment=1275965 Link to comment Share on other sites More sharing options...
ilovekutchi.com Posted February 5, 2014 Share Posted February 5, 2014 (edited) If you want to remove the [no_sync] and the "#ct? #tc??????" in mail subjects, go to controllers/front/ContactController.php and remove those from lines 194, 197 and 200 (including the dot "."), and controllers/admin/AdminCustomerThreadsController.php line 423. Edited February 5, 2014 by ilovekutchi.com (see edit history) 1 Link to comment Share on other sites More sharing options...
sabio Posted June 4, 2014 Share Posted June 4, 2014 Why isnt there a proper fix to this? Does the Prestashop consult anyone that actually works with customer in their work? 2 Link to comment Share on other sites More sharing options...
Dh42 Posted June 5, 2014 Share Posted June 5, 2014 Is the issue not fixed in later versions? Link to comment Share on other sites More sharing options...
sabio Posted June 5, 2014 Share Posted June 5, 2014 Dunno about 1.6, but not in 1.5 Link to comment Share on other sites More sharing options...
odtherrien Posted June 17, 2014 Share Posted June 17, 2014 Still there in 1.6. Link to comment Share on other sites More sharing options...
sabio Posted June 17, 2014 Share Posted June 17, 2014 Haha, standard Prestashop. Working on a responsive back-end (which no one really benefits from), but doesn't fix the everyday features that don't work. 1 Link to comment Share on other sites More sharing options...
varadipeter Posted April 15, 2015 Share Posted April 15, 2015 In my opinion [no_sync] is not a problem - it's a feedback. It only means that the selected customer service contact's messages are not saved to the database. The real problem in my opinion is that when the contact is in fact set to save incoming messages from the contact form you still have [no_sync] in the title instead of #ct / #tc because (I believe) the email to CS contact's email is sent sooner than the database insertion actually happens. That said I'd still like to have an on / off switch for this feedback. Link to comment Share on other sites More sharing options...
varadipeter Posted April 15, 2015 Share Posted April 15, 2015 ... actually no, it was not sent _sooner_ rather than _without testing_ Prestashop 1.6.0.14 controllers/front/ContactController.php changing if (!Mail::Send($this->context->language->id, 'contact', Mail::l('Message from contact form').' [no_sync]', $var_list, $contact->email, $contact->name, $from, ($customer->id ? $customer->firstname.' '.$customer->lastname : ''), $file_attachment) to if (!Mail::Send($this->context->language->id, 'contact', ((isset($ct) && Validate::isLoadedObject($ct)) ? sprintf(Mail::l('Message from contact form').' #ct%1$s #tc%2$s', $ct->id, $ct->token) : Mail::l('Message from contact form').' [no_sync]'), $var_list, $contact->email, $contact->name, $from, ($customer->id ? $customer->firstname.' '.$customer->lastname : ''), $file_attachment) gives the expected result: if CS contact is set to "save messages: yes" email contains ct / tc reference otherwise you'll be warned of "[no_sync]". Having the referenco or not is a personal preference - I can argue both for and against it. So is the "[no_sync]" or the lack of it - for me the lack of ct / tc is the definition of not syncing, so I removed it from my copy of ContactController.php. Should you find this fix correct and useful feel free to contribute it to github source. 1 Link to comment Share on other sites More sharing options...
varadipeter Posted April 16, 2015 Share Posted April 16, 2015 Should you want to remove "[shop name]" from the subject line just comment out $subject = '['.Configuration::get('PS_SHOP_NAME', null, null, $id_shop).'] '.$subject; in classes/Mail.php Link to comment Share on other sites More sharing options...
motion2082 Posted June 20, 2015 Share Posted June 20, 2015 If you want to remove the [no_sync] and the "#ct? #tc??????" in mail subjects, go to controllers/front/ContactController.php and remove those from lines 194, 197 and 200 (including the dot "."), and controllers/admin/AdminCustomerThreadsController.php line 423. This worked for me in PS V1.6.0.14 but not sure what deleting these values will do to PS? Link to comment Share on other sites More sharing options...
CrossY Posted May 17, 2016 Share Posted May 17, 2016 Bug still here in PS 1.6.1.5 Link to comment Share on other sites More sharing options...
AndyCZ Posted May 29, 2016 Share Posted May 29, 2016 In PS 1.6.1.5 to remove [no_sync] just replace the line 189 \controllers\ContactController.php if (!Mail::Send($this->context->language->id, 'contact', Mail::l('Message from contact form').' [no_sync]', to if (!Mail::Send($this->context->language->id, 'contact', Mail::l('Message from contact form'), this worked for me. 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts