If u want customize the hikashop contact form, when it submitted, then also send email to user's email
First, u can go to below location
com_hikashop -> controllers -> product.php
Then search for 'dst_email'.
And u need build a code to retrieve user's email from the form
1. Used for retrieve the user's email from the form
=================================================
$userEmail = $formData['contact']['email'];
=================================================
2. Used to merge the userEmail as part of the recipient.
=================================================
if (!empty($userEmail)) {
$mail->dst_email = array_merge($mail->dst_email, explode(',', $userEmail));
}
=================================================
So now, when a user submits the form, their email will also be added as part of the recipient, and they will be able to receive the email.