Template source: listing/_shipping_details_tags.html

{% load currency %}
{% load captureas %}
{% load i18n %}

{% if listing.is_buy_now_eligible or show_shipping %}
    {% if listing.activelistingshipping.shipping_type == 'flat' %}
        <tr>
            <td>{% trans "Shipping (Optional)" %}</td>
            <td id="item_shipping_cost">{{ listing.activelistingshipping.price|currency }}</td>
        </tr>
        {% if listing.activelistingshipping.bundled_price %}
            <tr>
                <td>{% trans "Shipping (Bundled)" %}</td>
                <td id="item_shipping_cost">{{ listing.activelistingshipping.bundled_price|currency }}</td>
            </tr>
        {% endif %}
    {% elif listing.activelistingshipping.shipping_type == 'free' %}
        <tr>
            <td>{% trans "Shipping (Optional)" %}</td>
            <td id="item_shipping_cost">{% trans 'Free' %}</td>
        </tr>
    {% elif listing.activelistingshipping.shipping_type == 'adaptive'%}
        <tr>
            <td>{% trans "Shipping (Optional)" %}</td>
            <td id="item_shipping_cost">{% trans "Calculated at Checkout" %}</td>
        </tr>
    {% else %}
        <tr>
            <td>{% trans "Shipping" %}</td>
            <td id="item_shipping_cost">{% trans "Not Available" %}</td>
        </tr>
    {% endif %}
{% endif %}