Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近安装了 Ubercart 模块并设法配置了大部分购物车。我遇到的问题之一是找到更新客户信息消息的地方
"输入此订单的有效电子邮件地址或单击此处使用现有帐户登录并返回结帐。 "
随心所欲。无法弄清楚我在哪里可以找到这段文字,以便我可以更新它。此消息出现在/cart/checkout页面上:
/cart/checkout
http://<<site>>/cart/checkout
任何帮助将不胜感激。
Oooold 问题,我知道,但我用以下方法做到了:
在自定义模块中,您可以将其添加到_form_alter,即
_form_alter
function mymodule_form_alter((&$form, $form_state, $form_id) { $form['panes']['customer']['primary_email']['#description'] = t('Your custom message goes here.'); }