Zen Cart Logo

Contact us form

Views: 3,218

Results 1 to 12 of 12
2 Nov 2012, 5:23 PM
#1
mistfirefly avatar

mistfirefly

New Zenner

Join Date:
Nov 2012
Location:
Salisbury
Posts:
4
Plugin Contributions:
0

Contact us form

Hi,

I am having a problem with the contact us forms on the zen cart website and I am trying to find where I could find them so I can check them out.
I am taking over from another person so I am new at this and still figuring where things are and how many changes were made.

At the moment even if the website shows fields as: Name, Email ,Address, Company, Tel, Message etc. The only information that get's through to the contact us email is: name and message which is not really enough. So something must go wrong with the code. Could someone point me in the right direction please?

Thanks

2 Nov 2012, 5:44 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Contact us form

The only information that get's through to the contact us email is: name and message
That is the default - So looks as though someone attempted to add additional information unsuccessfully

5 Nov 2012, 9:03 AM
#3
mistfirefly avatar

mistfirefly

New Zenner

Join Date:
Nov 2012
Location:
Salisbury
Posts:
4
Plugin Contributions:
0

Re: Contact us form

So on a website made for zencart you can't customise it to have different fields when people are trying to contact the company ?

My client told me it worked before, they were receiving the full message with the email, name and message. At this moment they only receive name and message and they would like to be able to see the email of the person so they can actually reply when someone contacts them from the website.

Please could you advice me on where to look so I can add this fields successfully so they are send with the default information.
Thank you

5 Nov 2012, 10:38 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Contact us form

You don't need to add anything. A stock Zencart Contact Us page sends the name, email address and message. Did your predecessor use the override system ? If so, I would switch to the Classic template temporarily and see if the problem continues. If not, replace any 'contact us'-related files in your custom template folders with fresh copies from the Classic folders.

5 Nov 2012, 12:15 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Contact us form

stevesh
OP stated that the info collected is
Name, Email ,Address, Company, Tel, Message etc.

5 Nov 2012, 12:17 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Contact us form

kobra:

stevesh
OP stated that the info collected is
Name, Email ,Address, Company, Tel, Message etc.

Right, but the OP also said that the only thing in the resulting email is name and message, so whoever modified the page did it incorrectly and replacing the files involved should at least return things to the Zencart default.

5 Nov 2012, 12:23 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Contact us form

stevesh

They are getting the default info

mistfirefly:

The only information that get's through to the contact us email is: name and message which is not really enough

5 Nov 2012, 1:14 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Contact us form

mistfirefly:

So on a website made for zencart you can't customise it to have different fields when people are trying to contact the company ?

At this moment they only receive name and message and they would like to be able to see the email of the person so they can actually reply when someone contacts them from the website.
Thank you

This is where I was confused, I guess, since a default Zencart installation does send the email address entered by the customer.

5 Nov 2012, 1:41 PM
#9
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Contact us form

@mistfirefly If even the default stuff (eg email) isn't getting through and the original site has customised fields in it, then not only will the template file have been changed but probably also the core file that does the sending. Switching templates won't affect that.
The core file that has probably been modified is includes/modules/pages/contact_us/header_php.php
Have a look at that and compare it to an unmodified one to see what changes were made by your predecessor.
Regards
David

6 Nov 2012, 1:59 PM
#10
mistfirefly avatar

mistfirefly

New Zenner

Join Date:
Nov 2012
Location:
Salisbury
Posts:
4
Plugin Contributions:
0

Re: Contact us form

Thank you David Allen that was what I was looking for.
It is nothing in the template it is clearly the functionality of the button/ form fields that has a problem. I just need to find a previous version of the contact_us header and hopefully figure what has gone wrong.
Thanks for all the help.

Is this the only place that could be a problem?
Is there any other place(maybe on the actual zen-cart control panel) that you could modify that? (I am just wondering how can this have gotten so messed up, thinking that maybe someone that has access there could have broken it)

6 Nov 2012, 2:18 PM
#11
mistfirefly avatar

mistfirefly

New Zenner

Join Date:
Nov 2012
Location:
Salisbury
Posts:
4
Plugin Contributions:
0

Re: Contact us form

Also not sure if this matters but the email has a template as well, with an image. So when it is sent to the contact email address it appears as from Name (from the field)
and then there is a template where the message is in. But no email address or any other info. Is there somewhere I can check this template?

6 Nov 2012, 3:01 PM
#12
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Contact us form

mistfirefly:

Also not sure if this matters but the email has a template as well, with an image. So when it is sent to the contact email address it appears as from Name (from the field)
and then there is a template where the message is in. But no email address or any other info. Is there somewhere I can check this template?

The email template is in /emails/email_template_contact_us.html That probably hasn't changed too much - the image is in the same folder. It is the header_php.php file that sets up the data that is slotted into the email template.