Magento Certified Developer GuideCategory: 12. WidgetHow are admin-configurable parameters and their options specified
Manish Prakash Staff asked 1 year ago

In the widget.xml we can specify these options via the paramters tag

<parameters>
            <title translate="label">
                <visible>0</visible>
                <label>Anchor Custom Title</label>
                <type>text</type>
            </title>
            <template>
                <required>1</required>
                <visible>1</visible>
                <label>Template</label>
                <type>select</type>
                <value>sales/widget/guest/form.phtml</value>
                <values>
                    <default_template translate="label">
                        <label>Default Template</label>
                        <value>sales/widget/guest/form.phtml</value>
                    </default_template>
                </values>
            </template>
        </parameters>