<?php
/**
 * Maho
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2006-2020 Magento, Inc. (https://magento.com)
 * @copyright   Copyright (c) 2021-2022 The OpenMage Contributors (https://openmage.org)
 * @copyright   Copyright (c) 2024 Maho (https://mahocommerce.com)
 * @license     https://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
?>
<?php if ($this->getQuote()->hasVirtualItems()): ?>
    <div class="col2-set">
        <h2 class="legend"><?= $this->__('Other Items in Your Order') ?></h2>
        <div class="col-1 col-narrow"></div>
        <div class="col-2 col-wide">
            <h3><?= $this->__('Items') ?> <span class="separator">|</span> <a href="<?= $this->getVirtualProductEditUrl() ?>"><?= $this->__('Edit Items') ?></a></h3>
            <table class="data-table" id="unavailable-shipping-table">
                <col />
                <col width="1" />
                <thead>
                    <tr>
                        <th><?= $this->__('Product Name') ?></th>
                        <th class="a-center"><?= $this->__('Qty') ?></th>
                    </tr>
                </thead>
                <tbody>
                <?php foreach ($this->getVirtualQuoteItems() as $_item): ?>
                    <tr>
                        <td><?= $this->getItemHtml($_item) ?></td>
                        <td class="a-center"><?= $_item->getQty() ?></td>
                    </tr>
                <?php endforeach ?>
                </tbody>
            </table>
        </div>
    </div>
<?php endif ?>
