Skip to content

Restore config setting #404

Closed
Closed
@tzyganu

Description

@tzyganu

A "Restore to default" button or checkbox would be useful for the fields in System->Configuration that would just delete the value in the table core_config_data thus making Magento use the value declared in config.xml, or an empty value if that does not exist.
If not all fields should be allowed to be "restored to default" maybe this can be managed from system.xml with a new attribute on the <field> tag. Example

<field id="list_mode" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="0"><!-- or canRestore="1" --> <label>List Mode</label> <source_model>Magento\Catalog\Model\Config\Source\ListMode</source_model> </field>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentimprovement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions