Jump to content

Add a message to the order in default mobile theme


Recommended Posts

Hi,

 

PrestaShop 1.5.6.1

 

I want to add a standard message to the order in the default mobile theme. It exists in the default theme. But unfortunately I could not activate it in the mobile version.

 

At the moment I added the next code in order-opc-carrier.tpl. The field is visible but it does not add any message to the order.

 

<h3>{l s='Leave a message'}</h3>

<div>
<p>{l s='If you would like to add a comment about your order, please write it in the field below.'}</p>
<p><textarea cols="120" rows="3" name="message" id="message">{if isset($oldMessage)}{$oldMessage|escape:'htmlall':'UTF-8'}{/if}</textarea></p>
</div>

 

Can anybody suggest where oldMessage and message are defined? 

 

TIA

Edited by dwmadmin (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...