<?xml version="1.0" encoding="UTF-8" ?>
<!--
    Copyright (C) 2022-Today GRAP (http://www.grap.coop)
    @author Sylvain LE GAL (https://twitter.com/legalsylvain)
    License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
-->
<templates id="template" xml:space="preserve">

    <t
        t-name="ProductItem"
        t-inherit="point_of_sale.ProductItem"
        t-inherit-mode="extension"
        owl="1"
    >
        <xpath expr="//span[hasclass('price-tag')]" position="inside">

            <i
                role="img"
                class="membership-forbidden-tag fa fa-ban"
                t-if="!membership_allowed"
                title="This product can not be sold because of membership rules"
            />
        </xpath>
    </t>

</templates>
