X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Contact us form - department emails (https://forum.x-cart.com/showthread.php?t=9520)

erit 09-23-2004 01:44 PM

Contact us form - department emails
 
Hi,

Does anyone know how to modify the contact us form so that the message is sent to different deparments (different emails) depending on what the user chose in the Department drop-down?

Example, if I choose "Sales" in the department drop-down, I want it to go to sales@mycompany.com.

Thanks,
eriT

willirl 09-24-2004 04:09 AM

these are tied to the email addresses for sales, support, etc.. you enter in the General Settings - Company settings (or was it email settings?)

erit 09-25-2004 06:33 AM

Thanks for the reply, but not really... the always go to the Support email.

I know what I have to change is in includes/help.php , but I don't know how to do it.

eriT

cotc2001 09-25-2004 06:38 AM

it helps if you put the version number you are using in your signature

erit 09-25-2004 06:55 AM

Thanks!

cotc2001 09-25-2004 07:46 AM

Ok running the same 4.0.3 as you but on linux, and yes you are right it doesnt matter what email address's you change in company options so it must be a bug in codeing.

I'm off to just check the 4.0.4 changelog and see if it's been fixed.

erit 09-27-2004 05:14 AM

This is from includes/help.php:

Code:

...
func_send_mail($config["Company"]["support_department"], "mail/help_contactus_subj.tpl", "mail/help_contactus.tpl", $contact["email"], true);
...


As you can see, it sends the email to "support_department" no matter what the user selects in the drop-down. :cry:

cotc2001 10-01-2004 03:35 AM

Ok you are all going to love this!!! x-cart have a touch of the Microsoft fever i.e it's not a bug its a feature.

Quote:

>It doesnt matter what email address's you change in company options if you submit
>a contact us entry and choose different departments to send it to it always goes to
>the same email address

Our Quality department informed me that it was default behaviour. The expected scenario
is:

1. customer submits 'Contact us' form
2. X-Cart sends the message to the Support department
3. Support department forwards the messages to the appropriate department

If that is the case what is the point of being able to change the email address's for departments if it can only goto one anyway???

It worked fine and as it should of done in 3.5.x versions but as you can see above x-cart don't think it should anymore

shan 10-01-2004 04:44 AM

Quote:

Originally Posted by cotc2001
Ok you are all going to love this!!! x-cart have a touch of the Microsoft fever i.e it's not a bug its a feature.

Quote:

>It doesnt matter what email address's you change in company options if you submit
>a contact us entry and choose different departments to send it to it always goes to
>the same email address

Our Quality department informed me that it was default behaviour. The expected scenario
is:

1. customer submits 'Contact us' form
2. X-Cart sends the message to the Support department
3. Support department forwards the messages to the appropriate department

If that is the case what is the point of being able to change the email address's for departments if it can only goto one anyway???

It worked fine and as it should of done in 3.5.x versions but as you can see above x-cart don't think it should anymore


classic

cotc2001 10-01-2004 05:08 AM

I am right in thinking that they are being daft aren't I??? (creeping doubt takes hold)


All times are GMT -8. The time now is 02:27 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.