Product
Magento\Sitemap\Model\ResourceModel\Catalog\Product
What it does
This class is responsible for retrieving product data for XML sitemap generation in Magento 2.
Developers interact with it indirectly through the sitemap generation process, where it collects enabled products with their URLs and images according to store-specific sitemap configuration settings.
The class handles product visibility filtering, attribute joins, and product image collection based on the configured image inclusion policy.
Public Methods
- getCollection()
- prepareSelectStatement()