I am attempting to modify some arguments for a block that is defined in module-sales/view/adminhtml/layout/sales_order_view.xml
on line 41.
<block class="Magento\Sales\Block\Adminhtml\Order\View\Items\Renderer\DefaultRenderer" as="default" template="order/view/items/renderer/default.phtml">
The problem, is that the block is not defined with a name, it only has an alias, so I am unable to use something like <referenceBlock name="default"/>
to modify it.
I need to modify the "columns" argument inside this block.
Is there any other way to reference this block, or am I pretty much out of luck?
Best Answer
You have to just override using below way,
app/design/frontend/{Vendor}/{themename}/Magento_Sales/layout/sales_order_view.xml file
You can change
colspan
in above file.