Jump to content

How to get merchant email on registration


Recommended Posts

  • 2 weeks later...
Just use default PrestaShop hook createAccount and you can do whatever you want after the user successfully creates account.

I believe you get all the $_POST information by $params array, but you should check it to ensure.


can you please, give me some more information on how to do this?

I just want to receive email notification when a customer registers in my shop.
Link to comment
Share on other sites

  • 3 months later...

I would suggest to create a simple module for this which uses hook that I have mentioned earlier and using Send class sends you an email. If you do not know how to program, you might find a free module or ability for this.

 

Hi all,

 

the "V2.2 Mail Alerts" module already works for

 

New order:

Receive a notification if a new order is made

Out of stock:

Receive a notification if the quantity of a product is below the alert threshold

 

How can the function to receive a notification on a new registration be added?

 

Or is is easier to add some code to the authentiocation.tpl? At the end there's the Create account form HOOK:

 

{$HOOK_CREATE_ACCOUNT_FORM}

<p class="cart_navigation required submit">

<input type="hidden" name="email_create" value="1" />

<input type="hidden" name="is_new_customer" value="1" />

{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}

<input type="submit" name="submitAccount" id="submitAccount" value="{l s='Register'}" class="exclusive" />

<span><sup>*</sup>{l s='Required field'}</span>

</p>

 

Anyone?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...