Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Contact us form - department emails

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-23-2004, 01:44 PM
 
erit erit is offline
 

Member
  
Join Date: Aug 2004
Posts: 23
 

Default 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
Reply With Quote
  #2  
Old 09-24-2004, 04:09 AM
 
willirl willirl is offline
 

eXpert
  
Join Date: Mar 2004
Location: OHIO
Posts: 271
 

Default

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

x-cart version 4.0.17
http://roguewavemarine.com
Reply With Quote
  #3  
Old 09-25-2004, 06:33 AM
 
erit erit is offline
 

Member
  
Join Date: Aug 2004
Posts: 23
 

Default

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
Reply With Quote
  #4  
Old 09-25-2004, 06:38 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

it helps if you put the version number you are using in your signature
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #5  
Old 09-25-2004, 06:55 AM
 
erit erit is offline
 

Member
  
Join Date: Aug 2004
Posts: 23
 

Default

Thanks!
__________________
--
Eric Rozon
http://www.shopdr.com
ShopDR.com - Fine Dominican Products
X-Cart version 4.0.11
Reply With Quote
  #6  
Old 09-25-2004, 07:46 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

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.
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #7  
Old 09-27-2004, 05:14 AM
 
erit erit is offline
 

Member
  
Join Date: Aug 2004
Posts: 23
 

Default

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.
__________________
--
Eric Rozon
http://www.shopdr.com
ShopDR.com - Fine Dominican Products
X-Cart version 4.0.11
Reply With Quote
  #8  
Old 10-01-2004, 03:35 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

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
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #9  
Old 10-01-2004, 04:44 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #10  
Old 10-01-2004, 05:08 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

I am right in thinking that they are being daft aren't I??? (creeping doubt takes hold)
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:31 PM.

   

 
X-Cart forums © 2001-2020