Before marking as duplicate go through once
I'm facing issue with overriding
I'm using Magento 2.3.3
Answer is here but its not working. Overriding track.phtml in Magento2
I can able to override within my theme but I want some customization I would like to override with module.
I tried below:
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <update handle="sales_email_order_shipment_renderers"/> <body> <block class="Magento\Framework\View\Element\Template" name="sales.order.email.shipment.track" template="Vendor_Module::email/shipment/track.phtml"> <arguments> <argument name="tracking_url" xsi:type="object">Magento\Sales\Block\DataProviders\Email\Shipment\TrackingUrl</argument> </arguments> </block> </body> </page>
I tried wrapping block within
referenceContainer='content' but still not working.
Make sure you check send email copy to customer while generating shipment.
NO solution worked for me provided in comments. Any other solutions ?
But doesn't seems to work for me. Any ideas ?