I am trying to override vendor/magento/module-sales/view/frontend/templates/email/items/order/default.phtml
in my module.
I have tried below mentioned mentioned method but its not working.
I have copied vendor/magento/module-sales/view/frontend/layout/sales_email_order_renderers.xml
in my module app/code/Company/Module/view/frontend/layout/sales_email_order_renderers.xml
and updated code with below mentioned code :
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd" label="Email Creditmemo Items List" design_abstraction="custom">
<body>
<referenceBlock name="sales.email.order.renderers">
<action method="setTemplate">
<argument name="template" xsi:type="string">Company_Module::email/items/order/default.phtml</argument>
</action>
</referenceBlock>
</body>
</page>
and copied default.phtml
file in my module folder app/code/Company/Module/view/frontend/templates/email/items/order/default.phtml
and added few texts but those texts are not appearing. Please help.