Jump to content

v.1.7-5.2 problem with contact information module


Recommended Posts

I've done a web migration of my shop online. Then, web visibility is rigth but, the contact information part is softly unconfigured. I'm on modules&services -> contact information (información de contacto) but, i can't edit it, the message says: " Display email address--  Sí / No -- Your theme needs to be compatible with this feature". First Shop online version is 1.7.2 and the next shop online on the new server is 1.7.5. I don't know if it's possible that is the problema but, the rest of my shop is correct. So, I've tried to upgrade and configurate the module buti s imposible.

Thank you !!

Link to comment
Share on other sites

Hi, this is a theme issue certainly. Check in yout themes/themename/modules/ps_contactinfo/ps_contactinfo.tpl if you have the following code :

    {if $contact_infos.email && $display_email}
      <br>
      {* First tag [1][/1] is for a HTML tag. *}
      {l
        s='Email: [1]%email%[/1]'
        sprintf=[
          '%email%' => $contact_infos.email,
          '[1]' => '<a href="mailto:'|cat:$contact_infos.email|cat:'">',
          '[/1]' => '</a>'
        ]
        d='Modules.Contactinfo.Shop'
      }
    {/if}

 

Link to comment
Share on other sites

On 10/25/2019 at 11:20 AM, Prestashop Addict said:

Hi, this is a theme issue certainly. Check in yout themes/themename/modules/ps_contactinfo/ps_contactinfo.tpl if you have the following code :


    {if $contact_infos.email && $display_email}
      <br>
      {* First tag [1][/1] is for a HTML tag. *}
      {l
        s='Email: [1]%email%[/1]'
        sprintf=[
          '%email%' => $contact_infos.email,
          '[1]' => '<a href="mailto:'|cat:$contact_infos.email|cat:'">',
          '[/1]' => '</a>'
        ]
        d='Modules.Contactinfo.Shop'
      }
    {/if}

 

Yes,  the code is correct 😕

Link to comment
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...