venkatKesaboina Posted October 15, 2019 Share Posted October 15, 2019 want to hide Contact Us link on header, but not disable it. Link to comment Share on other sites More sharing options...
nadie Posted November 23, 2019 Share Posted November 23, 2019 (edited) En 15/10/2019 a las 3:28 PM, venkatKesaboina dijo: want to hide Contact Us link on header, but not disable it. Good night ) I guess after a month you have solved the problem. Otherwise, I'll tell you under Prestashop 1.7 with the default template to remove the link (Contact Us) only from the header You have several options Hide the link code in the tpl of the module File => /themes/your_template/modules/ps_contactinfo/nav.tpl Search for the following code: {if $contact_infos.phone} {* [1][/1] is for a HTML tag. *} {l s='Call us: [1]%phone%[/1]' sprintf=[ '[1]' => '<span>', '[/1]' => '</span>', '%phone%' => $contact_infos.phone ] d='Shop.Theme.Global' } {else} <a href="{$urls.pages.contact}">{l s='Contact us' d='Shop.Theme.Global'}</a> {/if} Leave the code like this: {if $contact_infos.phone} {* [1][/1] is for a HTML tag. *} {l s='Call us: [1]%phone%[/1]' sprintf=[ '[1]' => '<span>', '[/1]' => '</span>', '%phone%' => $contact_infos.phone ] d='Shop.Theme.Global' } {* {else} <a href="{$urls.pages.contact}">{l s='Contact us' d='Shop.Theme.Global'}</a> *} {/if} I use {* *} for comment to comment the code. Once the file has been saved clear the cache in Advanced Parameters => Performance By the way, If you add or configure the store phone in the panel, the link to the contact form in the header is not shown 2. Other choice => Remove module (ps_contactinfo) only from header Tab Design -> Positions => Hook displayNav1 => Unhook module (Contact information/ps_contactinfo) ************** Information tested in PS 1.7.6.1 under the default template I prefer option 1 ---- By the way.. Maybe you're wondering... ¿Why not simply uninstall the module? because the module shows information in the footer then if you uninstall the module the contact information in the footer will not be displayed Edited November 23, 2019 by nadie (see edit history) Link to comment Share on other sites More sharing options...
rayspages.xyz Posted June 21, 2021 Share Posted June 21, 2021 On 11/23/2019 at 12:47 AM, nadie said: Good night ) I guess after a month you have solved the problem. Otherwise, I'll tell you under Prestashop 1.7 with the default template to remove the link (Contact Us) only from the header You have several options Hide the link code in the tpl of the module File => /themes/your_template/modules/ps_contactinfo/nav.tpl Search for the following code: {if $contact_infos.phone} {* [1][/1] is for a HTML tag. *} {l s='Call us: [1]%phone%[/1]' sprintf=[ '[1]' => '<span>', '[/1]' => '</span>', '%phone%' => $contact_infos.phone ] d='Shop.Theme.Global' } {else} <a href="{$urls.pages.contact}">{l s='Contact us' d='Shop.Theme.Global'}</a> {/if} Leave the code like this: {if $contact_infos.phone} {* [1][/1] is for a HTML tag. *} {l s='Call us: [1]%phone%[/1]' sprintf=[ '[1]' => '<span>', '[/1]' => '</span>', '%phone%' => $contact_infos.phone ] d='Shop.Theme.Global' } {* {else} <a href="{$urls.pages.contact}">{l s='Contact us' d='Shop.Theme.Global'}</a> *} {/if} I use {* *} for comment to comment the code. Once the file has been saved clear the cache in Advanced Parameters => Performance By the way, If you add or configure the store phone in the panel, the link to the contact form in the header is not shown 2. Other choice => Remove module (ps_contactinfo) only from header Tab Design -> Positions => Hook displayNav1 => Unhook module (Contact information/ps_contactinfo) ************** Information tested in PS 1.7.6.1 under the default template I prefer option 1 ---- By the way.. Maybe you're wondering... ¿Why not simply uninstall the module? because the module shows information in the footer then if you uninstall the module the contact information in the footer will not be displayed Hi. I just came across this post while trying to figure out how to make the 'Call Us' feature NOT disappear. Contact us appears fine on the homepage ( https://rayspages.xyz ) but disappears on every other. Is there a way I can stop this happening so it's constantly on show? Cheers in advance to any responders :) Link to comment Share on other sites More sharing options...
capi151 Posted November 12, 2021 Share Posted November 12, 2021 hi there, i need urgent help please, i had same problem, and cant remember how i sorted out, but now seen contact info on footer disapeared, tried everything even uninstalling and installing again contactinfo module, i put it on footer hook but wont show... all files in ps_contactinfo folder in theme folder have no code in them...... Link to comment Share on other sites More sharing options...
ComGrafPL Posted November 13, 2021 Share Posted November 13, 2021 Maybe you did some changes in CSS, custom.css? Show link to your store. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now