Zen Cart Logo
Forums / General Questions / Contact Us Question

Contact Us Question

Locked

Views: 1,009

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
27 Jan 2009, 2:31 AM
#1
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Contact Us Question

Can anyone point me in the right direction on how to add a second location on my "contact us" page? I will be adding a second brick and mortar location by the middle of next week and I want that second location listed on the "contact us" page. I would like it positioned to the right of the address already there.

http://www.monumentsplus.com

29 Jan 2009, 2:39 AM
#2
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Re: Contact Us Question

I have customized my contact us page. Here is the file that you need to edit. You can add whatever you want and the form part stays the same.

store/includes/languages/english/html_includes/YOURTEMPLATE/define_contact_us.php

There is a default setting in the admin section that shows the address information on the contact page. this needs to be turned off but I cannot remember where it is.

Play with this setting. I have mine set to 1:
Admin/Configuration/Define Page Status/Define Contact Us Status

29 Jan 2009, 2:07 PM
#3
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Re: Contact Us Question

Actually, you can edit the Contact Us page here:

Admin / Tools / Define Pages Editor

From the drop down, select: define_contact_us.php and add your html or text or whatever you want. You can puat as many addresses or information with images here.

31 Jan 2009, 2:55 PM
#4
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: Contact Us Question

I am about three days away from acquiring my second brick and mortar location. I have searched and searched on here to try and figure out how to do this. I know I can simply input the new information into the define pages editor contact_us, but I want the address to be to the right hand side of my current location info. I then want to be able to add a map link just below the new location similar to how I have it for my current location. In the future I would like to give customers the option to select either store for "store pickup", but for now all I want is what I described above. Please help. I want to do this right. Thank you.

I am using zen-cart 1.3.7

If you need to look at my site, here is the link: http://monumentsplus.com

Greg

31 Jan 2009, 3:17 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Contact Us Question

In your tpl_contact_us.php -

comment out:

<?php if (CONTACT_US_STORE_NAME_ADDRESS== '1') { ?> <address><?php echo nl2br(STORE_NAME_ADDRESS); ?></address> <?php } ?>

Then use the define pages editor to add all of the information you need including the map image.

31 Jan 2009, 4:57 PM
#6
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Re: Contact Us Question

Here is the setting that you need to turn off. Then your define page editor will override this and you can edit the Contact us page any way you want. Just look at any of my zen site below to see what my contact page looks like:

admin -> configuration -> e-mail options -> Contact Us - Show Store Name and Address (just set to 0)

Now if I could just find a way to add additional customer input field such as address and city,ST Zip to the contact us page it would be awesome.

31 Jan 2009, 8:26 PM
#7
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: Contact Us Question

Thank you both so much. This has been tormenting me for a week now. I will give those things a try.

31 Jan 2009, 9:13 PM
#8
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: Contact Us Question

I changed the "admin -> configuration -> e-mail options -> Contact Us - Show Store Name and Address" to zero and that was a lot easier than commenting out the php. I set up an html table within the define pages editor and that did exactly what I wanted. I am ready to go! Thank you both.

Greg

1 Feb 2009, 2:07 PM
#9
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Re: Contact Us Question

Your welcome. Glad to help. I needed to do the same when I set up my site. It is really nice to have people in this forum that are willing to give their time to help us out. That is why I try to spend a few hours a week helping others.

I looked at your site and it looks great. The contact us page is much better.:D