Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2011
    Posts
    31
    Plugin Contributions
    0

    Default 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??

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Store address not showing

    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.

  3. #3
    Join Date
    Mar 2011
    Posts
    31
    Plugin Contributions
    0

    Default Re: Store address not showing in custom footer

    This is my site address

    www . arrow storm . co . uk

    (spaces removed)

  4. #4
    Join Date
    Mar 2011
    Posts
    31
    Plugin Contributions
    0

    Default Re: Store address not showing in custom footer

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

    Thanks

 

 

Similar Threads

  1. Footer Not Showing
    By blackwolf in forum General Questions
    Replies: 0
    Last Post: 11 Nov 2009, 02:26 PM
  2. I.P Address Showing in Footer
    By Tingo123 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Nov 2008, 11:39 PM
  3. Have pickup show store address not customers address
    By jchaters in forum Built-in Shipping and Payment Modules
    Replies: 16
    Last Post: 22 Aug 2008, 01:38 PM
  4. Footer not showing
    By musicalwholesale in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Aug 2008, 04:12 PM
  5. Text email not displaying custom payment footer
    By dbrewster in forum General Questions
    Replies: 10
    Last Post: 4 Jun 2007, 02:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg