[-] FO : FixBug #PSCFV-9879 Email confirmation message not present
This commit is contained in:
@@ -114,6 +114,8 @@ class OrderDetailControllerCore extends FrontController
|
||||
if (Tools::getValue('ajax') != 'true')
|
||||
Tools::redirect('index.php?controller=order-detail&id_order='.(int)$idOrder);
|
||||
|
||||
$this->context->smarty->assign('message_confirmation', true);
|
||||
|
||||
}
|
||||
else
|
||||
$this->errors[] = Tools::displayError('Order not found');
|
||||
|
||||
@@ -397,6 +397,11 @@
|
||||
</ol>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($message_confirmation) && $message_confirmation}
|
||||
<p class="success">
|
||||
{l s='Message successfully sent'}
|
||||
</p>
|
||||
{/if}
|
||||
<form action="{$link->getPageLink('order-detail', true)|escape:'html'}" method="post" class="std" id="sendOrderMessage">
|
||||
<h3>{l s='Add a message'}</h3>
|
||||
<p>{l s='If you would like to add a comment about your order, please write it in the field below.'}</p>
|
||||
|
||||
Reference in New Issue
Block a user