emartech / 3rd-party-integrations-magento-M2

Please note: this plugin is deprecated. we have a new version of the plugin- please contact emarsys support for more info
MIT License
0 stars 5 forks source link

Magento transaction emails do not work even if Emarsys transaction emails switched off #88

Closed romastepa closed 5 years ago

romastepa commented 6 years ago

If you do not use Emarsys Transaction Emails, please use this patch

Index: etc/di.xml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- etc/di.xml  (revision c4c1567c1a61a205ab50ed6a29421c93128d3e84)
+++ etc/di.xml  (date 1526308425000)
@@ -25,12 +25,12 @@
             </argument>
         </arguments>
     </type>
-    <preference for="\Magento\Framework\Mail\TransportInterface" type="Emarsys\Emarsys\Model\Transport"/>
+    <!--preference for="\Magento\Framework\Mail\TransportInterface" type="Emarsys\Emarsys\Model\Transport"/>
     <preference for="\Magento\Framework\Mail\Message" type="Emarsys\Emarsys\Model\Message"/>
     <preference for="\Magento\Framework\Mail\Template\TransportBuilder"
                 type="Emarsys\Emarsys\Model\Template\TransportBuilder"/>
     <preference for="\Magento\Email\Model\Template\Filter"
                 type="Emarsys\Emarsys\Model\Template\Filter"/>
-    <preference for="Magento\Email\Model\Template" type="Emarsys\Emarsys\Model\Template"/>
+    <preference for="Magento\Email\Model\Template" type="Emarsys\Emarsys\Model\Template"/-->
     <preference for="Magento\Newsletter\Model\Subscriber" type="Emarsys\Emarsys\Model\Subscriber"/>
 </config>
eghanin commented 5 years ago

### PLEASE TAKE EXTRA CARE: Applying this patch will completely disable Emarsys transactions from being triggered from you're magento instance. if you are intending to use you're transactional emails via emarsys, pleas DO NOT APPLY this patch