【问题标题】:How to update Customer Information messages in Drupal :: Ubercart如何在 Drupal 中更新客户信息消息 :: Ubercart
【发布时间】:2011-04-06 13:26:45
【问题描述】:

我最近安装了 Ubercart 模块并设法配置了大部分购物车。我遇到的问题之一是找到更新客户信息消息的地方

为此订单输入一个有效的电子邮件地址或单击此处使用现有帐户登录并返回结帐。

随心所欲。无法弄清楚我在哪里可以找到这段文字,以便我可以更新它。此消息出现在/cart/checkout 页面上:

http://<<site>>/cart/checkout

非常感谢任何帮助。

【问题讨论】:

    标签: drupal-6 ubercart


    【解决方案1】:

    Oooold 问题,我知道,但我用以下方法做到了:

    在自定义模块中,可以添加到_form_alter,即

    function mymodule_form_alter((&$form, $form_state, $form_id) {
         $form['panes']['customer']['primary_email']['#description'] = 
              t('Your custom message goes here.');     
    }
    

    【讨论】:

      猜你喜欢
      • 2014-05-23
      • 2012-03-09
      • 2022-06-16
      • 2014-02-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-28
      • 1970-01-01
      相关资源
      最近更新 更多