public function getItemId()
    {
        if ($this->getProductCustomOption()) {
            return $this->getItem()->getData('product_id')
                . '-' . $this->getProductCustomOption()->getProduct()->getId();
        }

        return parent::getItemId();
    }
public function getItemId()
    {
        if ($this->getProductCustomOption()) {
            return $this->getItem()->getData('product_id')
                . '-' . $this->getProductCustomOption()->getProduct()->getId();
        }

        return parent::getItemId();
    }
public function getItemId ( ) { if ( $ this -> getProductCustomOption ( ) ) { return $ this -> getItem ( ) -> getData ( 'product_id' ) . '-' . $ this -> getProductCustomOption ( ) -> getProduct ( ) -> getId ( ) ; } return parent :: getItemId ( ) ; }
Retrieve parent-child pairing

@inheritdoc
Retrieve parent - child pairing