如何在 Drupal 中更新客户信息消息 :: Ubercart

发布于 2024-09-16 23:32:05 字数 290 浏览 1 评论 0原文

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

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

到任何内容我想。无法弄清楚在哪里可以找到这段文字以便我可以更新它。此消息出现在 /cart/checkout 页面上:

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

非常感谢任何帮助。

i recently installed Ubercart module and manged to configure most of the shopping cart. One of the issues i am having is finding a place to update the Customer Information message

"Enter a valid email address for this order or click here to login with an existing account and return to checkout."

to whatver i want. Could not figure out where i can find this piece of text so that i can update it. This message is appearing on /cart/checkout page:

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

Any help would be very much appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

仅此而已 2024-09-23 23:32:05

Oooold 问题,我知道,但我是通过以下方式做到的:

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

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

Oooold question, I know, but I did it with the following:

In a custom module, you can add it to _form_alter, i.e.

function mymodule_form_alter((&$form, $form_state, $form_id) {
     $form['panes']['customer']['primary_email']['#description'] = 
          t('Your custom message goes here.');     
}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文