SunshineBrandi Posted January 29, 2022 Share Posted January 29, 2022 Ok, i have searched for 2 hours trying to fix this and have come up with nothing. When you click on home in the category tree, it takes you to 2-home, I want it to go to the index page. Can someone point me in the right direction to accomplish this? Thanks Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 29, 2022 Share Posted January 29, 2022 59 minutes ago, SunshineBrandi said: Ok, i have searched for 2 hours trying to fix this and have come up with nothing. When you click on home in the category tree, it takes you to 2-home, I want it to go to the index page. Can someone point me in the right direction to accomplish this? Thanks Presta / PHP version? Link the url? Link to comment Share on other sites More sharing options...
SunshineBrandi Posted January 29, 2022 Author Share Posted January 29, 2022 Sorry, Prestashop 1.7.8.3. Sunshineproducts.info See the attached picture, I want to change the link for Home from 2-home to the index. Thanks Link to comment Share on other sites More sharing options...
SmartDataSoft Posted February 2, 2022 Share Posted February 2, 2022 On 1/29/2022 at 11:35 PM, SunshineBrandi said: Sorry, Prestashop 1.7.8.3. Sunshineproducts.info See the attached picture, I want to change the link for Home from 2-home to the index. Thanks Hello, You can disable to show the home category from https://prnt.sc/26n9g45 normally this is native system. If you need to force modify then you need to modify from theme template file Thank you Link to comment Share on other sites More sharing options...
mickeyboy1 Posted February 2, 2022 Share Posted February 2, 2022 Have you looked in breadcrumbs.tpl file ? Link to comment Share on other sites More sharing options...
El Patron Posted February 2, 2022 Share Posted February 2, 2022 this is issue with theme, 2-home is I believe one of the index templates you could choose. not positive how you would remove 2-home using your theme tools easiest fix would be to install a redirect into httaccess of 2-home to index until you sort underlying theme issue Link to comment Share on other sites More sharing options...
SunshineBrandi Posted February 3, 2022 Author Share Posted February 3, 2022 I appreciate all the replies, but none of these solutions worked. Has no one else had this problem? I'm using a child of the classic theme. Link to comment Share on other sites More sharing options...
SunshineBrandi Posted February 3, 2022 Author Share Posted February 3, 2022 FINALLY FOUND THE SOLUTION!!!!!! /theme/modules/ps_categorytree/views/template/hook/ps_categorytree.tpl On the bottom, changed: <div class="block-categories"> <ul class="category-top-menu"> <li><a class="text-uppercase h6" href="{$categories.link nofilter}">{$categories.name}</a></li> <li>{categories nodes=$categories.children}</li> </ul> </div> To: <div class="block-categories"> <ul class="category-top-menu"> <li><a class="text-uppercase h6" href="index.php">{$categories.name}</a></li> <li>{categories nodes=$categories.children}</li> </ul> </div> Prestashop Maniac, you were close and thanks, but it was in the theme modules instead of the site modules. Thanks again everyone!!!! 2 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