PHP Interface Sonata\Component\Product\ProductFinderInterface

Author: Hugo Briand ([email protected])
Datei anzeigen Open project: sonata-project/ecommerce

Public Methods

Method Description
getCrossSellingSimilarParentProducts ( Sonata\Component\Product\ProductInterface $product ) : Sonata\Component\Product\ProductInterface[] Gets similar parent products as $product in a cross selling fashion.
getCrossSellingSimilarProducts ( Sonata\Component\Product\ProductInterface $product ) : Sonata\Component\Product\ProductInterface[] Gets similar product as $product in a cross selling fashion.
getUpSellingSimilarProducts ( Sonata\Component\Product\ProductInterface $product ) : Sonata\Component\Product\ProductInterface[] Gets similar product as $product in an up selling fashion.

Method Details

getCrossSellingSimilarParentProducts() public method

Gets similar parent products as $product in a cross selling fashion.
public getCrossSellingSimilarParentProducts ( Sonata\Component\Product\ProductInterface $product ) : Sonata\Component\Product\ProductInterface[]
$product Sonata\Component\Product\ProductInterface
return Sonata\Component\Product\ProductInterface[]

getCrossSellingSimilarProducts() public method

Gets similar product as $product in a cross selling fashion.
public getCrossSellingSimilarProducts ( Sonata\Component\Product\ProductInterface $product ) : Sonata\Component\Product\ProductInterface[]
$product Sonata\Component\Product\ProductInterface
return Sonata\Component\Product\ProductInterface[]

getUpSellingSimilarProducts() public method

Gets similar product as $product in an up selling fashion.
public getUpSellingSimilarProducts ( Sonata\Component\Product\ProductInterface $product ) : Sonata\Component\Product\ProductInterface[]
$product Sonata\Component\Product\ProductInterface
return Sonata\Component\Product\ProductInterface[]