This module is used alongside valantic-spryker/sitemap
Sitemap module to extend the sitemap with concrete product URLs.
composer config repositories.gitlab.nxs360.com/461 '{"type": "composer", "url": "https://gitlab.nxs360.com/api/v4/group/461/-/packages/composer/packages.json"}'
composer config gitlab-domains gitlab.nxs360.com
Go to Gitlab and create a personal access token. Then create an auth.json file:
composer config gitlab-token.gitlab.nxs360.com <personal_access_token>
composer require valantic-spryker/product-concrete-sitemap-connector
Add the ValanticSpryker
namespace in the following config keys:
$config[KernelConstants::CORE_NAMESPACES] = [
// [...]
'ValanticSpryker',
];
$config[KernelConstants::PROJECT_NAMESPACES] = [
// [...]
'ValanticSpryker',
];
Add ProductConcreteSitemapCreatorPlugin
in:
\Pyz\Zed\Sitemap\SitemapDependencyProvider::getSitemapCreatorPluginStack
Add ProductConcreteSitemapConnectorConstants::RESOURCE_TYPE
in:
\Pyz\Yves\Sitemap\SitemapDependencyProvider::getAvailableSitemapRouteResources