Model
NewProducts
Magento\Catalog\Model\Rss\Product\NewProducts
What it does
This class retrieves a filtered collection of new products for RSS feed generation.
Developers use it to get products marked as 'new' based on their news_from_date and news_to_date attributes, filtering only products that are currently within their 'new' date range and visible in the catalog for a specific store.
Public Methods
- getProductsCollection()