Zen Cart Logo
Forums / Basic Configuration / shop address removal from contact_us page

shop address removal from contact_us page

Locked

Views: 2,064

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Jan 2007, 3:06 PM
#1
meermajik avatar

meermajik

New Zenner

Join Date:
Jan 2007
Posts:
3
Plugin Contributions:
0

shop address removal from contact_us page

Due to insurance and other reasons we cant have members of the public come to where we are based. How do I remove the address lines from the 'Contact Us' page?

Email and phone can stay but we just cant have the address on that page. Everywhere else is fine, ie where to send cheques etc and ordersheet.

Thanks for any help

Simon

27 Jan 2007, 7:41 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: shop address removal from contact_us page

Make an override copy of templates/template_default/templates/tpl_contact_us_default.php and replace this section of code (line 20) with what you want to show:

<?php echo nl2br(STORE_NAME_ADDRESS); ?>
18 Feb 2007, 10:23 PM
#3
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: shop address removal from contact_us page

Couldn't you just leave those items out when configuring the store from within the Admin?

Configuration > My Store > Store Address and Phone Number

I believe, if you only include the information you want to show (phone number, email, Store Name, etc...) in this section then that is all that will show on the Contact Us page.

That is unless, you have defined custom information (using your address etc...) on the "contact us defines" html_include file. (Which shows at the top of the contact us page before the form).