- I copied file from Following Location:
vendor\magento\module_sales\view\frontend\templates\order\items.phtml
and paste in
app\code\vendorname\Madule\view\frontend\templates\order\items.phtml
2.Copied sales_order_view.xml from
vendor\magento\module_sales\view\frontend\layout
and paste it in custom module
at
app\code\vendorname\Madule\view\frontend\layout
did changes in template path
<block class="Magento\Sales\Block\Order\Items" name="order_items" template="vendorname_Madule::order/items.phtml">
still it show vendor files
Best Answer
If you want to manage this from a custom module then
Create below layout files at
Code
Code
Code
Code
You Module should be depend on Magento_Sales modules,So add Magento_Sales as depends module of your module using module.xml
(app/code/{Vendorname}/{Modulename}/etc/)
By Theme
If you using any custom theme then just copy
to
And
to