0

I need to set additional shipping method HTML block content which is showing based on shipping method selection in Magento 2.

I need to set it in one step checkout Magento 2, So We need to add code in the onestepcheckout_index_index.xml file as like below but it is not working.

<item name="shippingAddress" xsi:type="array">
   <item name="children" xsi:type="array">
      <item name="shippingAdditional" xsi:type="array">
        <item name="component" xsi:type="string">uiComponent</item>
        <item name="displayArea" xsi:type="string">shippingAdditional</item>
        <item name="children" xsi:type="array">
            <item name="additional_block" xsi:type="array">
                <item name="component" xsi:type="string">Your_Module/js/view/checkout/shipping/additional-block</item>
            </item>
        </item>
      </item>
   </item>
</item>

Thanks in advanced for the help.

  • its a commercial extension, please contact support – Anton S Jan 7 at 21:19

Your Answer

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

Browse other questions tagged or ask your own question.