【发布时间】:2019-04-17 13:38:53
【问题描述】:
我想在 magento 2 结帐页面上的街道地址字段中添加工具提示。 我尝试将其添加到:vendor\magento\module-checkout\view\frontend\layout\checkout_index_index.xml
<item name="street" xsi:type="array">
<item name="config" xsi:type="array">
<item name="tooltip" xsi:type="array">
<item name="description" xsi:type="string" translate="true">For delivery address verification.</item>
</item>
</item>
</item>
【问题讨论】:
-
嗨,Arsalan Ul Haq,您已经尝试过什么?你能提供一些代码吗?请花同样的时间查看stackoverflow.com/help/how-to-ask部分。
-
我尝试了一些疯狂的猜测并浏览了网络,但没有成功。我只想在街道地址字段后的 magento 2 结帐页面上添加一个工具提示(帮助图标)。我也尝试像这样添加: