<?xml version="1.0"?>
<data inherit_id="website_sale.product" active="True" name="Show Extra Fields">
        <xpath expr="//div[@id='product_details']" position="inside">
            <t t-if="any([product[field.name] for field in website.shop_extra_field_ids])">
                <hr/>
                <p class="text-muted">
                    <t t-foreach="website.shop_extra_field_ids" t-as="field" t-if="product[field.name]">
                        <b><t t-esc="field.label"/>: </b>
                        <t t-if="field.field_id.ttype != &quot;binary&quot;">
                            <span t-esc="product[field.name]" t-options="{'widget': field.field_id.ttype}"/>
                        </t>
                        <t t-else="">
                            <a target="_blank" t-attf-href="/web/content/product.template/#{product.id}/#{field.name}?download=1">
                                <i class="fa fa-file"/>
                            </a>
                        </t>
                        <br/>
                    </t>
                </p>
            </t>
        </xpath>
    </data>

    