ml. Posted June 17, 2014 Share Posted June 17, 2014 (edited) Hi everyone! I enabled order comments in one page checkout in order-address.tpl by removing {if !$opc}, {/if}. {if !$opc} <div id="ordermsg" class="form-group"> <label>{l s='If you would like to add a comment about your order, please write it in the field below.'}</label> <textarea class="form-control" cols="60" rows="6" name="message">{if isset($oldMessage)}{$oldMessage}{/if}</textarea> </div> {/if} It is working... Message field is displayed, but after confirming order NO MESSAGE is saved and/or transported to an order page and order mail as well. Can anyone help with this? I use Presta 1.6.0.6 BR, Mirek Liminowicz Edited June 17, 2014 by ml. (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted June 17, 2014 Share Posted June 17, 2014 Its a bug in the theme code, the textarea element is missing the id attribute, so the javascript function that sends the message to the server never gets invoked. Change From <textarea class="form-control" cols="60" rows="6" name="message">{if isset($oldMessage)}{$oldMessage}{/if}</textarea> Change To <textarea class="form-control" cols="60" rows="6" name="message" id="message">{if isset($oldMessage)}{$oldMessage}{/if}</textarea> 4 Link to comment Share on other sites More sharing options...
ml. Posted June 17, 2014 Author Share Posted June 17, 2014 You're GREAT!!! Thanks. It works. Marked it Solved. Link to comment Share on other sites More sharing options...
bellini13 Posted June 17, 2014 Share Posted June 17, 2014 edit your original post and add SOLVED to the subject line Link to comment Share on other sites More sharing options...
ArsalanAnsari Posted January 21, 2015 Share Posted January 21, 2015 YOU ARE THE MAN you saved my life bellini13 Thank you sooooooooooooooooo much. Link to comment Share on other sites More sharing options...
Patrick87 Posted February 23, 2016 Share Posted February 23, 2016 HI everyone I'm under Prestashop 1.6.1.4 but your fix doesn't work for me. Do you know if it's working with this version? I'm also not using the default boostrap. Thank's in advance Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now