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') != '') {
|
||||
|
||||
Reference in New Issue
Block a user