<?xml version="1.0"?>
<data><!-- add state field in header -->
            <span id="button_website" position="before">
                <field name="is_published" widget="website_redirect_button" invisible="not sale_ok"/>
            </span>
            <group name="upsell" position="attributes">
                <attribute name="invisible">0</attribute>
            </group>
            <group name="upsell" position="inside">
                <field name="accessory_product_ids" widget="many2many_tags" invisible="not sale_ok" placeholder="Suggested accessories in the eCommerce cart"/>
                <field name="alternative_product_ids" widget="many2many_tags" domain="[('id', '!=', id), '|', ('company_id', '=', company_id), ('company_id', '=', False)]" context="{'search_product_product': True}" invisible="not sale_ok" placeholder="Displayed in bottom of product pages"/>
                <field name="description_ecommerce" invisible="1"/>         <!-- Adding this field as we needed in product_barcodelookup module to store value in this field -->
            </group>
            <xpath expr="//page[@name='sales']/group[@name='sale']" position="inside">
                <group colspan="2" name="product_template_images" string="eCommerce Media" invisible="not sale_ok">
                    <field colspan="2" name="product_template_image_ids" class="o_website_sale_image_list" context="{'default_name': name}" mode="kanban" add-label="Add Media" nolabel="1" widget="x2_many_media_viewer" options="{'convert_to_webp': True}"/>
                </group>
            </xpath>
            <xpath expr="//page[@name='sales']//group[@name='description']" position="before">
                <group string="Ecommerce Description" name="ecom_description">
                   <field colspan="2" name="description_ecommerce" nolabel="1" placeholder="A detailed,formatted description to promote your product on                                      this page. Use '/' to discover more features."/>
                </group>
            </xpath>
            <group name="extra_info" position="inside">
                <field name="is_published"/>
                <field name="website_id" options="{'no_create': True}" groups="website.group_multi_website" placeholder="All"/>
                <field name="website_sequence" groups="base.group_no_one"/>
                <field name="public_categ_ids" widget="many2many_tags" string="Categories"/>
                <field name="website_ribbon_id" groups="base.group_no_one" options="{'no_quick_create': True}"/>
            </group>
            <group name="extra_info" position="attributes">
                <attribute name="string">Ecommerce Shop</attribute>
            </group>
        </data>