0

I'd like to add a comment to some checkout fields on Magento 2.1.10 without using tooltips (that i need to remove). So I edited the checkout_index_index.xml and in shipping-address-fieldset section i've added the following:

<item name="shipping-address-fieldset" xsi:type="array">
     <item name="children" xsi:type="array">
        <item name="telephone" xsi:type="array">
            <item name="config" xsi:type="array">
                <item name="tooltip" xsi:type="boolean">false</item>
            </item>
        </item>
        <item name="company" xsi:type="array">
            <item name="config" xsi:type="array">
                <item name="notice" xsi:type="string">My notice</item>
            </item>
        </item>
    </item>
</item>

Tooltip is hidden but no notice appears.

Any help would be very appreciated

0

To do this, you can add a custom template for a specific form field. This is perfectly explained in the Magento 2 devdocs. Take a look here: http://devdocs.magento.com/guides/v2.2/howdoi/checkout/checkout_edit_form.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.