Add hooks actionSubmitIdentityBefore and displayCartRoomImageAfter

This commit is contained in:
Abhishek Kumar
2022-06-01 16:26:36 +05:30
parent 0954235b04
commit 091b566fe5
3 changed files with 9 additions and 0 deletions

View File

@@ -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') != '') {