public function product($orderLineHandle, $product)
    {
        $products = new Product($this->client_raw);
        $productHandle = $products->getHandle($product);

        $this->client
            ->OrderLine_SetProduct(
                array(
                    'orderLineHandle' => $orderLineHandle,
                    'valueHandle' => $productHandle
                )
            );

        return true;
    }
public function product($orderLineHandle, $product)
    {
        $products = new Product($this->client_raw);
        $productHandle = $products->getHandle($product);

        $this->client
            ->OrderLine_SetProduct(
                array(
                    'orderLineHandle' => $orderLineHandle,
                    'valueHandle' => $productHandle
                )
            );

        return true;
    }
public function product ( $ orderLineHandle , $ product ) { $ products = new Product ( $ this -> client_raw ) ; $ productHandle = $ products -> getHandle ( $ product ) ; $ this -> client -> OrderLine_SetProduct ( array ( 'orderLineHandle' => $ orderLineHandle , 'valueHandle' => $ productHandle ) ) ; return true ; }
Set Order Line product
by product number
@param  mixed $orderLineHandle
@param  string $product
@return boolean
Set Order Line product by product number