protected function _removeProductSuggestions( $productId, $listTypeId,
		MShop_Common_Manager_Interface $productListManager )
	{
		$search = $productListManager->createSearch();
		$expr = array(
			$search->compare( '==', 'product.list.parentid', $productId ),
			$search->compare( '==', 'product.list.type.id', $listTypeId )
		);

		$search->setConditions( $search->combine( '&&', $expr ) );
		$listItems = $productListManager->searchItems( $search );

		$productListManager->deleteItems( array_keys( $listItems ) );
	}
protected function _removeProductSuggestions( $productId, $listTypeId,
		MShop_Common_Manager_Interface $productListManager )
	{
		$search = $productListManager->createSearch();
		$expr = array(
			$search->compare( '==', 'product.list.parentid', $productId ),
			$search->compare( '==', 'product.list.type.id', $listTypeId )
		);

		$search->setConditions( $search->combine( '&&', $expr ) );
		$listItems = $productListManager->searchItems( $search );

		$productListManager->deleteItems( array_keys( $listItems ) );
	}
protected function _removeProductSuggestions ( $ productId , $ listTypeId , MShop_Common_Manager_Interface $ productListManager ) { $ search = $ productListManager -> createSearch ( ) ; $ expr = array ( $ search -> compare ( '==' , 'product.list.parentid' , $ productId ) , $ search -> compare ( '==' , 'product.list.type.id' , $ listTypeId ) ) ; $ search -> setConditions ( $ search -> combine ( '&&' , $ expr ) ) ; $ listItems = $ productListManager -> searchItems ( $ search ) ; $ productListManager -> deleteItems ( array_keys ( $ listItems ) ) ; }
Optionally first remove all suggested products from product list.

@param int $productId Product id
@param int $listTypeId Product list type id
@param MShop_Common_Manager_Interface $productListManager Manager for list types of product domain
Optionally first remove all suggested products from product list .