Zen Cart Logo
Forums / General Questions / Contact Us Information

Contact Us Information

Locked

Views: 1,494

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
22 May 2008, 2:58 PM
#1
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

Contact Us Information

Hi,

We have created a custom contact us page and do not want the physical address listed on that page. How can I remove the physical address from that page.

includes/languages/english/html_includes/custom_directory/define_contact_us.php

Thanks

Rick

22 May 2008, 3:07 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Contact Us Information

Depending upon your reasoning - You can change or elininate the physical address at
admin > config > my store > Store Address and Phone > enter other than physical details or leave blank

This will keep the physical address from appearing any where.

If only the contact us form - then in a copy of includes/templates/template_default/templates/tpl_contact_us_default.php you can alter code to not display store address

<?php if (CONTACT_US_STORE_NAME_ADDRESS== '1') { ?>

<address><?php echo nl2br(STORE_NAME_ADDRESS); ?></address>

<?php } ?>
22 May 2008, 3:08 PM
#3
stevesh avatar

stevesh

Black Belt

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

Re: Contact Us Information

Looks like lines 19-21 in:

includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php

22 May 2008, 3:22 PM
#4
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

Re: Contact Us Information

Thanks guys!

That was the solution I was looking for.

Rick

22 May 2008, 10:06 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Contact Us Information

Or you could just go to Admin->Configuration->Email Options->Contact Us - Show Store Name and Address ... and turn it off.

22 May 2008, 11:21 PM
#6
kobra avatar

kobra

Black Belt

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

Re: Contact Us Information

DrByte:

Or you could just go to Admin->Configuration->Email Options->Contact Us - Show Store Name and Address ... and turn it off.
I couldn't recall where it was!!!

3 Jul 2008, 7:13 AM
#7
ccembd avatar

ccembd

New Zenner

Join Date:
Apr 2008
Location:
Calif
Posts:
86
Plugin Contributions:
0

Re: Contact Us Information

Thank you! This was very helpful, and exactly what I was looking for. :D