Jump to content

Prestashop 1.7 actionCustomerAccountAdd hook not firing

Recommended Posts


I am creating a custom module where I want the user details when they make register on the store. So to achieve that I am using actionCustomerAccountAdd hook. This hook is firing on Prestashop 1.6 but not firing in Prestashop 1.7

Here is my sample code for the custom plugin


if (!defined('_PS_VERSION_')) {

class Hellouser extends Module
    protected $config_form = false;

    public function __construct()
        $this->name = 'hellouser';
        $this->tab = 'other';
        $this->version = '1.0.0';
        $this->author = 'test';
        $this->need_instance = 0;
        $this->module_key = '';

        $this->bootstrap = 'true';
        $this->displayName = $this->l('Hello User');
        $this->description = $this->l('Sample Plugin');
        $this->confirmUninstall = $this->l('Are you sure you want to uninstall this?');
        $this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);

        $this->js_path = $this->_path.'views/js/';
        $this->css_path = $this->_path.'views/css/';
        $this->img_path = $this->_path.'views/img/';
        $this->logo_path = $this->_path.'logo.png';
        $this->module_path = $this->_path;

    public function install()
        if (!parent::install() || 
            return false;

    public function uninstall()
        return parent::uninstall();

    public function hookActionCustomerAccountAdd($params) {

So can someone please tell me whats the issue here?

Edited by prestashop_newuser (see edit history)

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More