<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/** @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Info $block */

/** @var \Magento\Wishlist\Model\Item $item */
$item = $block->getItem();
$product = $item->getProduct();
$url = $block->getProductUrl($item);
if($url != '' && strpos($url,'?qty=') !== false) {
    $arUrls = explode('?qty=',$url);
    $offerId = $item->getId();
    $url = $arUrls[0].'?offer_id='.$offerId;
}

?>
<strong class="product-item-name">
    <a href="<?= $block->escapeUrl($url) ?>" title="<?= $block->escapeHtmlAttr($product->getName()) ?>" class="product-item-link">
        <?= $block->escapeHtml($product->getName()) ?>
    </a>
</strong>
