Alok Maheshwari
Spectator
Post count: 303
Been thanked: 0 times
#13477 |

Drop an email cookie named distributor_email containing the email address and then you can replace line 62 in contact.php from

$emailTo = $data['email_address'];

to

$emailTo = $_COOKIE['distributor_email']!='' ? $_COOKIE['distributor_email'] : $data['email_address'];