public function removeItem($row)
    {
        $content = $this->getContent();

        // the cart contains this row - so remove it
        if ($content->has($row)) {
            $content->pull($row);
            $this->content = serialize($content);

            $this->save();
        }

        return $this;
    }
public function removeItem($row)
    {
        $content = $this->getContent();

        // the cart contains this row - so remove it
        if ($content->has($row)) {
            $content->pull($row);
            $this->content = serialize($content);

            $this->save();
        }

        return $this;
    }
public function removeItem ( $ row ) { $ content = $ this -> getContent ( ) ; // the cart contains this row - so remove it if ( $ content -> has ( $ row ) ) { $ content -> pull ( $ row ) ; $ this -> content = serialize ( $ content ) ; $ this -> save ( ) ; } return $ this ; }
Remove a specified row from the shoppingcart

@param $row

@return $this
Remove a specified row from the shoppingcart