Hi I have been trying to add simple text message in the highlighted section of attached screenshot . I am currently adding the custom text message in
I overrided below file from \vendor\magento\module-checkout\view\frontend\layout\checkout_index_index.xml
\app\design\frontend\Company\porto_base_child\Magento_Checkout\layout\checkout_index_index.xml
<item name="popUpForm" xsi:type="array">
<item name="element" xsi:type="string">#opc-new-shipping-address</item>
<item name="options" xsi:type="array">
<item name="type" xsi:type="string">popup</item>
<item name="responsive" xsi:type="boolean">true</item>
<item name="innerScroll" xsi:type="boolean">true</item>
<item name="title" xsi:type="string" translate="true">Shipping Address</item>
<item name="trigger" xsi:type="string">opc-new-shipping-address</item>
<item name="notice" xsi:type="string" translate="true">Some note here</item>
<item name="additionalInfo" xsi:type="string">
<![CDATA[<b>My Html Information</b>]]>
</item>
<item name="text" xsi:type="string" translate="true">Some note here</item>
<item name="buttons" xsi:type="array">
<item name="save" xsi:type="array">
<item name="text" xsi:type="string" translate="true">Save Address</item>
<item name="class" xsi:type="string">action primary action-save-address</item>
</item>
<item name="cancel" xsi:type="array">
<item name="text" xsi:type="string" translate="true">Cancel</item>
<item name="class" xsi:type="string">action secondary action-hide-popup</item>
</item>
</item>
</item>
</item>
I am not getting any error's or warning but the below code in above file did not work. Can anyone please guide me through this it would definitely help me continue my learning of magento 2 concepts and get clear understanding how it works? thanks
<item name="notice" xsi:type="string" translate="true">Some note here</item>
<item name="additionalInfo" xsi:type="string">
<![CDATA[<b>My Html Information</b>]]>
</item>
<item name="text" xsi:type="string" translate="true">Some note here</item>