protected function generateUniqueId()
    {
        ksort($this->options);

        return md5($this->id . serialize($this->options));
    }
protected function generateUniqueId()
    {
        ksort($this->options);

        return md5($this->id . serialize($this->options));
    }
protected function generateUniqueId ( ) { ksort ( $ this -> options ) ; return md5 ( $ this -> id . serialize ( $ this -> options ) ) ; }
Generate a unique id for the cart item.

@return string
Generate a unique id for the cart item .