<?xml version="1.0"?>
<group name="main_fields" position="inside">
                <group name="ecommerce_main_fields">
                    <field name="visibility" string="eCommerce Filter" widget="radio" options="{'horizontal': True}"/>
                    <field name="preview_variants" widget="radio" options="{'horizontal': True}" readonly="create_variant != 'always' or display_type == 'multi'" force_save="1"/>
                    <field name="is_thumbnail_visible" widget="boolean_toggle" readonly="create_variant != 'always' or display_type == 'multi'" invisible="preview_variants == 'hidden'" force_save="1"/>
                </group>
            </group>
        