How do I remove a UI component child via Layout XML?
For example, from the below xml directive in checkout_index_index.xml
. How do I remove the shipping node ?
<item name="sidebar" xsi:type="array">
<item name="children" xsi:type="array">
<item name="summary" xsi:type="array">
<item name="children" xsi:type="array">
<item name="totals" xsi:type="array">
<item name="children" xsi:type="array">
<item name="subtotal" xsi:type="array">
<item name="config" xsi:type="array">
<item name="title" xsi:type="string" translate="true">Subtotal</item>
</item>
</item>
<item name="shipping" xsi:type="array">
<item name="config" xsi:type="array">
<item name="title" xsi:type="string" translate="true">Estimated Shipping</item>
</item>
</item>
<item name="grand-total" xsi:type="array">
<item name="config" xsi:type="array">
<item name="title" xsi:type="string" translate="true">Estimated Total</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
The shipping node can be removed using plugin but I just thought there should be a be a better way like a remove node attribute.