public function delete($product_id)
    {
        $result = null;
        $this->hook->attach('product.compare.delete.product.before', $product_id, $result, $this);

        if (!empty($result)) {
            return (array) $result;
        }

        if (!$this->compare->delete($product_id)) {
            return $this->getResultError();
        }

        $result = $this->getResultDeleted();
        $this->hook->attach('product.compare.delete.product.after', $product_id, $result, $this);
        return (array) $result;
    }