ps2k11 Posted August 18, 2018 Share Posted August 18, 2018 prestashop 1.7 how to modify top bar contents, cant find any place to do that Link to comment Share on other sites More sharing options...
ican Posted August 18, 2018 Share Posted August 18, 2018 26 minutes ago, ps2k11 said: prestashop 1.7 how to modify top bar contents, cant find any place to do that You can modify it from header.tpl and .tpl files of related module in header section. Link to comment Share on other sites More sharing options...
ps2k11 Posted August 18, 2018 Author Share Posted August 18, 2018 7 hours ago, ican said: You can modify it from header.tpl and .tpl files of related module in header section. I see quite a few header.tpl which one ? what is the related module ? As Prestashop come to the point of program it yourself ? why no option in back office ? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 18, 2018 Share Posted August 18, 2018 header.tpl file path in the default theme themes/classic/templates/_partials/header.tpl (Check the same according to your theme). I would suggest changing the same only if you have the coding/HTML/CSS knowledge. Link to comment Share on other sites More sharing options...
ps2k11 Posted August 18, 2018 Author Share Posted August 18, 2018 31 minutes ago, Knowband Plugins said: header.tpl file path in the default theme themes/classic/templates/_partials/header.tpl (Check the same according to your theme). I would suggest changing the same only if you have the coding/HTML/CSS knowledge. basically want to delete of the links above contact us that point to prestashop facebook and where it says free shipping, map store location when I do inspect element in firefox I see this div class =nav-shipping map div id = social block nav Link to comment Share on other sites More sharing options...
ican Posted August 18, 2018 Share Posted August 18, 2018 9 minutes ago, ps2k11 said: basically want to delete of the links above contact us that point to prestashop facebook and where it says free shipping, map store location when I do inspect element in firefox I see this div class =nav-shipping map div id = social block nav Remove it from hook in config/theme.yml file Link to comment Share on other sites More sharing options...
ps2k11 Posted August 18, 2018 Author Share Posted August 18, 2018 (edited) 9 minutes ago, ican said: Remove it from hook in config/theme.yml file I see a bunch of hooks in config/theme.yml file. so basically play around till you find the right ones ? All I see are these displayNav1: - ps_contactinfo displayNav2: - ps_languageselector - ps_currencyselector - ps_customersignin - ps_shoppingcart displayTop: - ps_mainmenu - ps_searchbar displayHome: - ps_imageslider - ps_featuredproducts - ps_banner - ps_customtext displayFooterBefore: - ps_emailsubscription - ps_socialfollow displayFooter: - ps_linklist - ps_customeraccountlinks - ps_contactinfo displayLeftColumn: - ps_categorytree - ps_facetedsearch displaySearch: - ps_searchbar displayProductAdditionalInfo: - ps_sharebuttons displayReassurance: - blockreassurance displayOrderConfirmation2: - ps_featuredproducts displayCrossSellingShoppingCart: - ps_featuredproducts Edited August 18, 2018 by ps2k11 more info (see edit history) Link to comment Share on other sites More sharing options...
ican Posted August 18, 2018 Share Posted August 18, 2018 Can you please share the hooks defined there? Link to comment Share on other sites More sharing options...
ps2k11 Posted August 18, 2018 Author Share Posted August 18, 2018 1 minute ago, ican said: Can you please share the hooks defined there? displayNav1: - ps_contactinfo displayNav2: - ps_languageselector - ps_currencyselector - ps_customersignin - ps_shoppingcart displayTop: - ps_mainmenu - ps_searchbar displayHome: - ps_imageslider - ps_featuredproducts - ps_banner - ps_customtext displayFooterBefore: - ps_emailsubscription - ps_socialfollow displayFooter: - ps_linklist - ps_customeraccountlinks - ps_contactinfo displayLeftColumn: - ps_categorytree - ps_facetedsearch displaySearch: - ps_searchbar displayProductAdditionalInfo: - ps_sharebuttons displayReassurance: - blockreassurance displayOrderConfirmation2: - ps_featuredproducts displayCrossSellingShoppingCart: - ps_featuredproducts Link to comment Share on other sites More sharing options...
ican Posted August 18, 2018 Share Posted August 18, 2018 2 minutes ago, ps2k11 said: displayNav1: - ps_contactinfo displayNav2: - ps_languageselector - ps_currencyselector - ps_customersignin - ps_shoppingcart displayTop: - ps_mainmenu - ps_searchbar displayHome: - ps_imageslider - ps_featuredproducts - ps_banner - ps_customtext displayFooterBefore: - ps_emailsubscription - ps_socialfollow displayFooter: - ps_linklist - ps_customeraccountlinks - ps_contactinfo displayLeftColumn: - ps_categorytree - ps_facetedsearch displaySearch: - ps_searchbar displayProductAdditionalInfo: - ps_sharebuttons displayReassurance: - blockreassurance displayOrderConfirmation2: - ps_featuredproducts displayCrossSellingShoppingCart: - ps_featuredproducts Remove - ps_contactinfo from displayNav1 and have you changed in any .tpl file ? Link to comment Share on other sites More sharing options...
ps2k11 Posted August 18, 2018 Author Share Posted August 18, 2018 (edited) 31 minutes ago, ican said: Remove - ps_contactinfo from displayNav1 and have you changed in any .tpl file ? no changes in .tpl, removing ps_contactinfo does nothing, still the same also trying to remove this pic where it say support or modify it Edited August 18, 2018 by ps2k11 more info (see edit history) Link to comment Share on other sites More sharing options...
ps2k11 Posted August 18, 2018 Author Share Posted August 18, 2018 (edited) 2 hours ago, ican said: Remove - ps_contactinfo from displayNav1 and have you changed in any .tpl file ? I give up on Prestashop 1.7 up wasted enough time on this Edited August 18, 2018 by ps2k11 mispell (see edit history) Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 18, 2018 Share Posted August 18, 2018 Kindly go to Admin -> Design -> Position. Search for displayNav1 & displayNav2 respectively & share the screenshot. Just need to check the hooks which are added on displayNav1 & displayNav2 position. Apart from that, I think Social links (Icons just above the contact us) can be removed by disabling the "Social media follow links" module. 2 Link to comment Share on other sites More sharing options...
ps2k11 Posted August 18, 2018 Author Share Posted August 18, 2018 1 hour ago, Knowband Plugins said: Kindly go to Admin -> Design -> Position. Search for displayNav1 & displayNav2 respectively & share the screenshot. Just need to check the hooks which are added on displayNav1 & displayNav2 position. Apart from that, I think Social links (Icons just above the contact us) can be removed by disabling the "Social media follow links" module. This is very strange. I found a free theme, installed it but was causing some problem, better looking than classic The free theme had the same problems for nav1 and nav2 when I put back the classic theme it fixed all the nav1 and nav2 problems, I suspect wtcustomhtmt that I see in new theme wtcustomhtml not there in nav1 and nav2 when I put back classic 1 Link to comment Share on other sites More sharing options...
ps2k11 Posted August 18, 2018 Author Share Posted August 18, 2018 I replaced the classic theme with the free one. all those links are in the wt custom html, it allows you to disabled them, classic theme they must be hidden and not accessible Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 19, 2018 Share Posted August 19, 2018 Seems your issue has been fixed. It's great Let us know if you are still facing any issue. Link to comment Share on other sites More sharing options...
tohauk18 Posted August 13, 2020 Share Posted August 13, 2020 On 8/18/2018 at 7:26 PM, Knowband Plugins said: Kindly go to Admin -> Design -> Position. Search for displayNav1 & displayNav2 respectively & share the screenshot. Just need to check the hooks which are added on displayNav1 & displayNav2 position. Apart from that, I think Social links (Icons just above the contact us) can be removed by disabling the "Social media follow links" module. Thank you!!!!! You have no idea how much you've helped me. 🥳 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