e-mail if user has registered

  • Posts: 107
  • Thank you received: 0
11 years 10 months ago #81226

Hallo,

I want e-mail to become when a new user has registered in hikashop with shop-id, username and other data

How to?

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 10 months ago #81237

Hi,

I think that you can edit the class "user" in "administrator/components/com_hikashop/classes/user.php" in the function "Register" you can add some code to receive an email when a customer create a new account.
you will need something like:

$body   = "Your body string\nin double quotes if you want to parse the \nnewlines etc";
$mailer->setSubject('Your subject string');
$mailer->setBody($body);
$mailer->dst_email = 'youEmail@address.com';
$mailClass->sendMail($mailer);

Please Log in or Create an account to join the conversation.

  • Posts: 107
  • Thank you received: 0
11 years 9 months ago #86716

Hallo,

at what place schould I insert the code?
The function Register is big and I don't understand php.

Regards

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #86770

Please Log in or Create an account to join the conversation.

  • Posts: 107
  • Thank you received: 0
11 years 8 months ago #88428

I have modified the code of the "User account" mail.
It had no effect.
I have set "published" from "User account" mail to "off".
It had no effect again.
I think, the Hikashop does'nt send Register mail.
What Thing does send the Register mail?
Is it Joomla? or what another?
Where can I found and modify the code of this mail?

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
11 years 8 months ago #88692

The user account email is sent by hikaShop. It is only sent if the "registration" option of the HikaShop configuration is not set to "no registration".
Also, the joomla email configuration need to be setup according to your hosting provider recommendations.

The "user account" email can be edited via the menu System->Emails in the Business edition.

Please Log in or Create an account to join the conversation.

  • Posts: 107
  • Thank you received: 0
11 years 8 months ago #88729

The user account mail is not sent by Hikashop by me.

Joomla send this mail
How can I switch this mail von joomla to hikashop?

Regards

Please Log in or Create an account to join the conversation.

  • Posts: 107
  • Thank you received: 0
11 years 8 months ago #88759

It works

I have activated Redirect Joomla registration to HikaShop Plugin

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum