valantic-spryker / product-abstract-sitemap-connector
Provides product abstract urls for valantic-spriker/sitemap module
dev-main
2024-02-21 10:30 UTC
Requires
- php: >=7.4
- valantic-spryker/sitemap: ^4.0.4
Requires (Dev)
This package is auto-updated.
Last update: 2025-01-03 16:35:51 UTC
README
Description
This module is used alongside valantic-spryker/sitemap
Sitemap module to extend the sitemap with abstract product URLs.
Usage
composer require valantic-spryker/product-abstract-sitemap-connector
- Since this is under ValanticSpryker namespace, make sure that in config_default:
$config[KernelConstants::CORE_NAMESPACES]
has the namespace$config[KernelConstants::PROJECT_NAMESPACES]
has the namespace
- Add
ProductAbstractSitemapCreatorPlugin
to\ValanticSpryker\Zed\Sitemap\SitemapDependencyProvider::getSitemapCreatorPluginStack
- Add
\ValanticSpryker\Shared\ProductAbstractSitemapConnector\ProductAbstractSitemapConnectorConstants::RESOURCE_TYPE
to\ValanticSpryker\Yves\Sitemap\SitemapDependencyProvider::getAvailableSitemapRouteResources
- Now the Sitemap will include published URLs of abstract products.