Forums / Templates, Stylesheets, Page Layout / Store address not showing in custom footer

Store address not showing in custom footer

Started by joey779 on 20 Jul 2011, 7:20 AM · Views: 612

Results 1 to 4 of 4
20 Jul 2011, 7:20 AM
#1
joey779 avatar

joey779

New Zenner

Join Date:
Mar 2011
Posts:
31
Plugin Contributions:
0

Store address not showing in custom footer

Below is a section of code from tpl_footer which should display the store address.

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

The address is also entered in admin>Store Address>Store Address and Phone. But still nothing.

Am I missing somthing??

20 Jul 2011, 8:02 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Store address not showing in custom footer

According to the code you quoted, Admin->Configuration->Email Options->Contact Us - Show Store Name and Address must be set to 1. If it's not, then nothing will show.

If it is set to 1 already, then you'll need to post the URL to your site. It's probably a CSS problem whereby you've opted to hide the content with your CSS styling.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2011, 8:04 AM
#3
joey779 avatar

joey779

New Zenner

Join Date:
Mar 2011
Posts:
31
Plugin Contributions:
0

Re: Store address not showing in custom footer

This is my site address

www . arrow storm . co . uk

(spaces removed)

20 Jul 2011, 8:11 AM
#4
joey779 avatar

joey779

New Zenner

Join Date:
Mar 2011
Posts:
31
Plugin Contributions:
0

Re: Store address not showing in custom footer

You were right, config>email>contact us was NOT set to 1!

Thanks