【问题标题】:Disable fields from Cs Cart Admin panel禁用 Cs 购物车管理面板中的字段
【发布时间】:2018-06-04 10:58:44
【问题描述】:

你好

有没有办法禁止编辑图像中显示的字段中的信息?

我尝试查看模板挂钩,但没有发现任何有用的东西。

仅供参考:信息必须显示但不可编辑

【问题讨论】:

    标签: php html cs-cart


    【解决方案1】:

    禁用电子邮件的示例转到 design/backend/templates/views/profiles/components/profiles_account.tpl

    <div class="control-group">
        <label for="email" class="control-label cm-required cm-email">{__("email")}:</label>
        <div class="controls">
            <input type="text" id="email" name="user_data[email]" class="input-large" size="32" maxlength="128" value="{$user_data.email}" disabled/>
        </div>
    </div>
    

    【讨论】:

    • 如果您希望禁用“帐单地址”字段,请使用以下路径:design/backend/templates/views/profiles/components/profile_fields.tpl
    • 或者,如果您希望禁用“用户帐户信息”字段 design/backend/templates/views/profiles/components/profiles_account.tpl
    • 我创建了自定义配置文件字段,必须禁用,如问题所示
    • 联系方式下方显示区块链地址
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-06-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多