FeaturedProductRepositoryInterface
in
Interface FeaturedProductRepositoryInterface
Table of Contents
- getNewProducts() : FeaturedProductCollection
- get new products by given id.
- getOfferedProducts() : FeaturedProductCollection
- Get Offers by given product id.
- getProductsByCategoryId() : FeaturedProductCollection
- get products by category id.
- getTopProducts() : FeaturedProductCollection
- get top products by given product id.
- getUpcomingProducts() : FeaturedProductCollection
- get upcoming products by given id and date.
Methods
getNewProducts()
get new products by given id.
public
getNewProducts(FeaturedProductSettings $settings) : FeaturedProductCollection
Parameters
- $settings : FeaturedProductSettings
Return values
FeaturedProductCollection —getOfferedProducts()
Get Offers by given product id.
public
getOfferedProducts(FeaturedProductSettings $settings) : FeaturedProductCollection
Parameters
- $settings : FeaturedProductSettings
Return values
FeaturedProductCollection —getProductsByCategoryId()
get products by category id.
public
getProductsByCategoryId(FeaturedProductSettings $settings, IntType $categoryId) : FeaturedProductCollection
Parameters
- $settings : FeaturedProductSettings
- $categoryId : IntType
Return values
FeaturedProductCollection —getTopProducts()
get top products by given product id.
public
getTopProducts(FeaturedProductSettings $settings) : FeaturedProductCollection
Parameters
- $settings : FeaturedProductSettings
Return values
FeaturedProductCollection —getUpcomingProducts()
get upcoming products by given id and date.
public
getUpcomingProducts(FeaturedProductSettings $settings) : FeaturedProductCollection
Parameters
- $settings : FeaturedProductSettings