Zen Cart Logo
Forums / General Questions / Passing variable to contact us for To field in store settings

Passing variable to contact us for To field in store settings

Locked

Views: 1,142

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Apr 2009, 7:07 PM
#1
maxbodine avatar

maxbodine

New Zenner

Join Date:
Apr 2009
Posts:
60
Plugin Contributions:
0

Passing variable to contact us for To field in store settings

I am a newbie to Zen Cart. I am taking on one that is already set up. The contact us page is set up in the store config. It has a drop down list with the different contacts. Is there a way I can pass the contact they want and it will polulate the form To: field?

Or Can I create seperate contact page for each department? The one in define page editor is not being use. Not sure how to use this section for a form?

All help is much appreciated!

THANKS!

28 Apr 2009, 7:47 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Passing variable to contact us for To field in store settings

MaxBodine:

The contact us page is set up in the store config. It has a drop down list with the different contacts. Is there a way I can pass the contact they want and it will polulate the form To: field?
Surely there's a "why" behind your question, which might help explain more about the particular problem you're trying to solve?

5 May 2009, 10:28 PM
#3
maxbodine avatar

maxbodine

New Zenner

Join Date:
Apr 2009
Posts:
60
Plugin Contributions:
0

Re: Passing variable to contact us for To field in store settings

How can I pass a department name to the contact us page to populate the TO: field instead of using the drop down list from the admin config?

I am a newbie and the site was already set up. In the email options there is the Email drop down already set up, my client would like to be able to pass the department name and populate that field from differnet links.

Thanks for any ideas!

6 May 2009, 3:04 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Passing variable to contact us for To field in store settings

I already responded to that same question a week ago (see above).

Moderator Note: I've combined your two almost-identical posts into one, so it doesn't leave disjointed discussions all over the forum.

6 May 2009, 8:19 AM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Passing variable to contact us for To field in store settings

Surely the dropdown system offers exactly what you want?

By populating the dropdown (in ADMIN>>>CONFIGURATION>>>EMAIL OPTIONS) as follows (for example):-

Customer Services <[email protected]>, Technical Help <[email protected]>, Sales <[email protected]>

... you get precisely the effect you desire...