sreichel/magento-StackExchange_DisableAdvancedSearch

View on GitHub
src/app/code/community/StackExchange/DisableAdvancedSearch/etc/system.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<config>
    <sections>
        <catalog>
            <groups>
                <search>
                    <fields>
                        <enable_advanced_search translate="label">
                            <label>Enable Advanced Search</label>
                            <frontend_type>select</frontend_type>
                            <source_model>adminhtml/system_config_source_enabledisable</source_model>
                            <sort_order>999</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                        </enable_advanced_search>
                    </fields>
                </search>
            </groups>
        </catalog>
    </sections>
</config>