We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18a7e29 + 7183bf2 commit 5c3cc1dCopy full SHA for 5c3cc1d
app/code/Magento/Sitemap/Model/Sitemap.php
@@ -646,7 +646,7 @@ protected function _finalizeSitemap($type = self::TYPE_URL)
646
*/
647
protected function _getCurrentSitemapFilename($index)
648
{
649
- return self::INDEX_FILE_PREFIX . '-' . $this->getStoreId() . '-' . $index . '.xml';
+ return str_replace('.xml', '', $this->getSitemapFilename()) . '-' . $this->getStoreId() . '-' . $index . '.xml';
650
}
651
652
/**
0 commit comments