Jump to content

Recommended Posts

Hi, I would like to add the email shop in hook DisplayNav1, after the Call us: phone. I did it editing nav.tpl 


with the code <spam>info@email.com<spam></spam> but I am working in a multistore PS and I need to show a diferent email in every shop, so I need to add a code with something like:

  <div id="contact-link">
    {if $contact_infos.phone}
      {* [1][/1] is for a HTML tag. *}
        s='Call us: [1]%phone%[/1]'
          '[1]' => '<span>',
          '[/1]' => '</span>',
          '%phone%' => $contact_infos.phone
      <a href="{$urls.pages.contact}">{l s='Contact us' d='Shop.Theme.Global'}</a>

but emai in place of %phone

any idea?



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More