jasyn Posted November 3, 2012 Posted November 3, 2012 I'm trying to modify my contact us page so that it sends a e-mail to the customer saying that we will get back to them within 24 hours. Going through the contact_us.php I figure I could add another tep_mail code to send the message, but how? tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address); The fields there are already in place.
tgely Posted November 4, 2012 Posted November 4, 2012 tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, 'we will get back to them within 24 hours', $name, $email_address); osCommerce based shop owner with minimal design and focused on background works. When the less is more.Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.
jasyn Posted November 6, 2012 Author Posted November 6, 2012 tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, 'we will get back to them within 24 hours', $name, $email_address); yah but that sends to the store owner. i need it to send to the person who's using the contact us page. so i need to send it to the e-mail that was provided in the e-mail field.
Jack_mcs Posted November 6, 2012 Posted November 6, 2012 The first two entries are the persons name and email address so it would be something like tep_mail('John Smith', 'jsmith@[member='aol'].com', EMAIL_SUBJECT, 'we will get back to them within 24 hours', $name, $email_address); Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
tgely Posted November 6, 2012 Posted November 6, 2012 yah but that sends to the store owner. i need it to send to the person who's using the contact us page. so i need to send it to the e-mail that was provided in the e-mail field. Sorry, tep_mail($name, $email_address, EMAIL_SUBJECT, 'we will get back to them within 24 hours', STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); osCommerce based shop owner with minimal design and focused on background works. When the less is more.Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.
jasyn Posted November 14, 2012 Author Posted November 14, 2012 The first two entries are the persons name and email address so it would be something like tep_mail('John Smith', 'jsmith@[member='aol'].com', EMAIL_SUBJECT, 'we will get back to them within 24 hours', $name, $email_address); well seeing as it's coming from the contact us page .. i'd like to pull the fields .. how do i do that? you've inserted the name & e-mail manually?
ErikMM Posted November 14, 2012 Posted November 14, 2012 Is an email needed? There is a message telling them that their message was sent successfully. "Your enquiry has been successfully sent." You can change it to read "24 hours", add a picture, or whatever here: /includes/languages/english/contact_us.php personally I'd rather not get an email other than the one actually replying to my enquiry as I already know when I hit send it told me it was sent further, if by chance you don't get back in 24 hours, who's gonna look bad? a-how-to-road-map 2.3.x road-map-for-the-newbies design basics how to make a horrible osC site ssl-how to updated-security-thread Web Developer, Firebug, and Notepad++ are powerful free tools for web design.
♥14steve14 Posted November 14, 2012 Posted November 14, 2012 @@ErikMM I agree, why try to do something that has already been done. REMEMBER BACKUP, BACKUP AND BACKUP
Recommended Posts
Archived
This topic is now archived and is closed to further replies.