vigel Posted September 14, 2017 Share Posted September 14, 2017 Hello, please how to remove link Our Store from sitemap? prestashop 1.7.2.2 thankyou. Link to comment Share on other sites More sharing options...
vigel Posted September 14, 2017 Author Share Posted September 14, 2017 solution: /controllers/front/SitemapController.php function: protected function getPagesLinks() /* $links[] = array( 'id' => 'stores-page', 'label' => $this->trans('Our stores', array(), 'Shop.Theme.Global'), 'url' => $this->context->link->getPageLink('stores'), ); */ 1 Link to comment Share on other sites More sharing options...
selectshop.at Posted September 14, 2017 Share Posted September 14, 2017 Yeah, but you should make this via override. Otherwise, when you upgrade the software your solution will over written and the link again there. Better is to delete the link from template. So create an own template clone and remove it from there. Link to comment Share on other sites More sharing options...
newbie to web Posted September 23, 2017 Share Posted September 23, 2017 Once Stores is removed from Our Company block, it will be removed from Site Map. To remove Stores from Our Company block,Go to back office, Design > Link Widget, edit "Our Company", and then remove the "Stores" link from the "Our company" block. Link to comment Share on other sites More sharing options...
selectshop.at Posted September 23, 2017 Share Posted September 23, 2017 Once Stores is removed from Our Company block, it will be removed from Site Map. To remove Stores from Our Company block,Go to back office, Design > Link Widget, edit "Our Company", and then remove the "Stores" link from the "Our company" block. Are you sure this removes the link "our stores" from SITEMAP SITE ? Cannot see it is working after deletion of all stores and cache cleared. The are still as link there. The tip you are giving, is for how to remove them form "company block", but not from sitemap site. Link to comment Share on other sites More sharing options...
max Posted January 26, 2021 Share Posted January 26, 2021 On 9/14/2017 at 7:06 AM, selectshop.at said: Yeah, but you should make this via override. Otherwise, when you upgrade the software your solution will over written and the link again there. Better is to delete the link from template. So create an own template clone and remove it from there. How can i delete the link from template? 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