Model
NewProducts
Magento\Catalog\Model\Rss\Product\NewProducts
What it does
This class retrieves a collection of new products for RSS feed generation in Magento 2.
Developers use it to fetch products marked as 'new' based on their news_from_date and news_to_date attributes, filtered for a specific store and visible in the catalog.
It's primarily used by the RSS module to generate product feed updates for customers subscribing to new product announcements.
Public Methods
- getProductsCollection()