Add hooks actionSubmitIdentityBefore and displayCartRoomImageAfter
This commit is contained in:
@@ -49,6 +49,8 @@ class IdentityControllerCore extends FrontController
|
||||
$origin_newsletter = (bool)$this->customer->newsletter;
|
||||
|
||||
if (Tools::isSubmit('submitIdentity')) {
|
||||
Hook::exec('actionSubmitIdentityBefore');
|
||||
|
||||
$email = trim(Tools::getValue('email'));
|
||||
|
||||
if (Tools::getValue('months') != '' && Tools::getValue('days') != '' && Tools::getValue('years') != '') {
|
||||
|
||||
@@ -217,6 +217,12 @@
|
||||
<hook id="actionBeforeAuthentication" live_edit="0">
|
||||
<name>actionBeforeAuthentication</name><title>Before authentication</title><description>This hook is displayed before the customer's authentication</description>
|
||||
</hook>
|
||||
<hook id="actionSubmitIdentityBefore" live_edit="0">
|
||||
<name>actionSubmitIdentityBefore</name><title>Before identity modification</title><description>This hook is called before customer's identity modification</description>
|
||||
</hook>
|
||||
<hook id="displayCartRoomImageAfter" live_edit="0">
|
||||
<name>displayCartRoomImageAfter</name><title>After cart room image on checkout page</title><description>This hook is displayed after cart room image on checkout page</description>
|
||||
</hook>
|
||||
<hook id="displayPaymentTop" live_edit="0">
|
||||
<name>displayPaymentTop</name><title>Top of payment page</title><description>This hook is displayed at the top of the payment page</description>
|
||||
</hook>
|
||||
|
||||
@@ -92,6 +92,7 @@
|
||||
<p class="room_remove_block">
|
||||
<a href="{$rm_v['link']}"><i class="icon-trash"></i> {l s='Remove'}</a>
|
||||
</p>
|
||||
{hook h='displayCartRoomImageAfter' id_product=$data_v['id_product']}
|
||||
</div>
|
||||
<div class="col-sm-10">
|
||||
<div class="room-info-container">
|
||||
|
||||
Reference in New Issue
Block a user