controller/common/src/Controller/Common/Product/Import/Csv/Processor/Stock/Standard.php
protected function getStockItems( $code )
	{
		$manager = \Aimeos\MShop::create( $this->getContext(), 'stock' );

		$search = $manager->createSearch();
		$search->setConditions( $search->compare( '==', 'stock.productcode', $code ) );

		return $manager->searchItems( $search );
	}
protected function getStockItems( $code )
	{
		$manager = \Aimeos\MShop::create( $this->getContext(), 'stock' );

		$search = $manager->createSearch();
		$search->setConditions( $search->compare( '==', 'stock.productcode', $code ) );

		return $manager->searchItems( $search );
	}
protected function getStockItems ( $ code ) { $ manager = \ Aimeos \ MShop :: create ( $ this -> getContext ( ) , 'stock' ) ; $ search = $ manager -> createSearch ( ) ; $ search -> setConditions ( $ search -> compare ( '==' , 'stock.productcode' , $ code ) ) ; return $ manager -> searchItems ( $ search ) ; }
Returns the stock items for the given product code

@param string $code Unique product code
@return \Aimeos\MShop\Stock\Item\Iface[] Associative list of stock items
Returns the stock items for the given product code