src/Sulu/Bundle/Sales/CoreBundle/Item/ItemManager.php
protected function setItemSupplier($item, $product)
    {
        // get products supplier
        if ($product->getSupplier()) {
            $item->setSupplier($product->getSupplier());
            $item->setSupplierName($product->getSupplier()->getName());
        } else {
            $item->setSupplier(null);
            $item->setSupplierName('');
        }
    }
protected function setItemSupplier($item, $product)
    {
        // get products supplier
        if ($product->getSupplier()) {
            $item->setSupplier($product->getSupplier());
            $item->setSupplierName($product->getSupplier()->getName());
        } else {
            $item->setSupplier(null);
            $item->setSupplierName('');
        }
    }
protected function setItemSupplier ( $ item , $ product ) { // get products supplier if ( $ product -> getSupplier ( ) ) { $ item -> setSupplier ( $ product -> getSupplier ( ) ) ; $ item -> setSupplierName ( $ product -> getSupplier ( ) -> getName ( ) ) ; } else { $ item -> setSupplier ( null ) ; $ item -> setSupplierName ( '' ) ; } }
Set supplier of an item

@param $item
@param $product
Set supplier of an item