- Posts: 97
- Thank you received: 0
Contact from product page, on which e-mail adress?
12 years 1 month ago #168473
by shpuser
Contact from product page, on which e-mail adress? was created by shpuser
-- HikaShop version -- : 2.2.3
Where can i set e-mail adress who will receive email-s from product page request form?
Where can i set e-mail adress who will receive email-s from product page request form?
Please Log in or Create an account to join the conversation.
12 years 1 month ago #168483
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Contact from product page, on which e-mail adress?
Hi,
The "product page request form" use the email "contact_request".
The email address used for the recipient is the HikaShop option "From Address" (Main> Emails).
If you want to override the recipient address, there are several possibilities.
- Using an HikaShop plugin with the trigger "onBeforeMailSend"
- Using the "contact_request - preload" email to sent the reciepient. But it require to modify the HikaShop core.
To modify the HikaShop core, you have to edit the controller product ("components/com_hikashop/controllers/product.php") and replace
So it will allow you to edit the "$mail->dst_email" in the preload.
Regards,
The "product page request form" use the email "contact_request".
The email address used for the recipient is the HikaShop option "From Address" (Main> Emails).
If you want to override the recipient address, there are several possibilities.
- Using an HikaShop plugin with the trigger "onBeforeMailSend"
- Using the "contact_request - preload" email to sent the reciepient. But it require to modify the HikaShop core.
To modify the HikaShop core, you have to edit the controller product ("components/com_hikashop/controllers/product.php") and replace
Code:
$mail->reply_email = $element->email;
$mail->dst_email = array($config->get('from_email'));
[code]By[code]
$mail->reply_email = $element->email;
if(empty($mail->dst_email))
$mail->dst_email = array($config->get('from_email'));
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.166 seconds