magento - Magento更改管理员中选择字段的默认值

标签 magento configuration admin

我想在管理面板中更改字段的默认值。
app / code / core / mage / page / etc / config.xml的示例

<default>
 <design>
     <head translate="default_description" module="page">
         <default_title>Magento Commerce</default_title>
         <default_description>Default Description</default_description>
         <default_keywords>Magento, Varien, E-commerce</default_keywords>
         <default_robots>*</default_robots>
         <default_media_type>text/html</default_media_type>
         <default_charset>utf-8</default_charset>
         <default_demonotice>1</default_demonotice><!--for example change this default value-->
     </head>
     <header translate="welcome" module="page">
         <logo_src>images/logo.gif</logo_src>
         <logo_alt>Magento Commerce</logo_alt>
         <welcome>Default welcome msg!</welcome>
     </header>
     <footer translate="copyright" module="page">
         <copyright>&amp;copy; 2008 Magento Demo Store. All Rights Reserved.</copyright>
     </footer>
 </design>

请帮助!

最佳答案

在system.xml文件中查找路径

为了覆盖值做

<default>
    <module><set><field>some_value</field></set></module>
</default>

关于magento - Magento更改管理员中选择字段的默认值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8008851/

相关文章:

html - 网站加载速度 - 缓慢的 html 加载

c# - 无法在 ASP.NET Zero 中启用实体历史记录

database - 查询 Postgresql 管理员权限

php - 无法为我的博客设置 CMS 管理员

php - 如何在 Magento 搜索中重置 addAttributeToFilter

PHP -> SOAP -> Magento 网络服务 : get Cookies set by Magento

python - 使用 PasteDeploy 管道的 Pyramid 脚本不起作用

php - 如何使用 application.ini 和 user.ini 设置 Zend_Application

linux - tar:在 tarball 创建时指定目标路径

magento - 在 magento 的类别列表页面上显示自定义选项