[-] FO : FixBug #PSCFV-9879 Email confirmation message not present
This commit is contained in:
1 parent
ef22b9d5d4
commit
541a4525b5
2 files changed
+7
No files matched your search
@@ -114,6 +114,8 @@ class OrderDetailControllerCore extends FrontController
|
|||||||
if (Tools::getValue('ajax') != 'true')
|
if (Tools::getValue('ajax') != 'true')
|
||||||
Tools::redirect('index.php?controller=order-detail&id_order='.(int)$idOrder);
|
Tools::redirect('index.php?controller=order-detail&id_order='.(int)$idOrder);
|
||||||
|
|
||||||
|
$this->context->smarty->assign('message_confirmation', true);
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$this->errors[] = Tools::displayError('Order not found');
|
$this->errors[] = Tools::displayError('Order not found');
|
||||||
|
|||||||
@@ -397,6 +397,11 @@
|
|||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/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">
|
<form action="{$link->getPageLink('order-detail', true)|escape:'html'}" method="post" class="std" id="sendOrderMessage">
|
||||||
<h3>{l s='Add a message'}</h3>
|
<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>
|
<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