{% import "@SyliusAdmin/Common/Macro/money.html.twig" as money %}

<div class="ui segment">
    <div class="ui small header">
        {{ 'sylius.ui.pricing'|trans }}
    </div>
    <table class="ui very basic celled table">
        <tbody>
        <tr>
            <td class="gray text"><strong>{{ 'sylius.ui.channels'|trans }}</strong></td>
            <td class="gray text"><strong>{{ 'sylius.ui.price'|trans }}</strong></td>
            <td class="gray text"><strong>{{ 'sylius.ui.original_price'|trans }}</strong></td>
        </tr>
        {% set currencies = sylius_channels_currencies() %}
        {% for channelPricing in variant.channelPricings %}
            <tr class="pricing">
                <td class="five wide gray text">
                    <strong>{{ channelPricing.channelCode }}</strong>
                </td>
                {% set channelCode = channelPricing.channelCode %}
                <td>{{ money.format(channelPricing.price, currencies[channelCode]) }}</td>
                {% if channelPricing.originalPrice != null %}
                    <td>{{ money.format(channelPricing.originalPrice, currencies[channelCode]) }}</td>
                {% else %}
                    <td><span class="gray text">-</span></td>
                {% endif %}
            </tr>
        {% endfor %}
        </tbody>
    </table>
</div>

<div class="ui segment">
    <div class="ui small header">
        {{ 'sylius.ui.shipping'|trans }}
    </div>
    {% if variant.shippingCategory is same as(null) and variant.width is same as(null) and variant.height is same as(null) and variant.depth is same as(null) and variant.weight is same as(null) %}
        <div class="ui teal message">
            <p>{{ 'sylius.ui.no_shipping_data'|trans }}</p>
        </div>
    {% else %}
        <table class="ui very basic celled table">
            <tbody>
            <tr>
                <td class="five wide gray text"><strong>{{ 'sylius.ui.shipping_category'|trans }}</strong></td>
                <td>{{ variant.shippingCategory }}</td>
            </tr>
            <tr>
                <td class="five wide gray text"><strong>{{ 'sylius.ui.width'|trans }}</strong></td>
                <td>{{ variant.width }}</td>
            </tr>
            <tr>
                <td class="five wide gray text"><strong>{{ 'sylius.ui.height'|trans }}</strong></td>
                <td>{{ variant.height }}</td>
            </tr>
            <tr>
                <td class="five wide gray text"><strong>{{ 'sylius.ui.depth'|trans }}</strong></td>
                <td>{{ variant.depth }}</td>
            </tr>
            <tr>
                <td class="five wide gray text"><strong>{{ 'sylius.ui.weight'|trans }}</strong></td>
                <td>{{ variant.weight }}</td>
            </tr>
            </tbody>
        </table>
    {% endif %}
</div>

Fix displaying variants on product show page
[Admin][Product] Fix displaying variants on product show page
