How can I activate the PDF email attachment feature with other email extensions like Ebizmarts_Mandrill?
This issue is resolved in AdvancedInvoiceLayout Version 2.2.0. Please contact us to check if you can upgrade.
To realize the email attachment functionality in our AdvancedInvoiceLayout extension we had to extend the Magento core email logic to add methods for attaching documents. Unfortunately there is no way to do this without conflicts with other extensions that do the same, e.g. Ebizmarts_Mandrill or Aschroder_SMTPPro.
To solve this problem the following manual steps are required:
- Make the Advanced Invoice Layout extension depend on the other extension by creating a new file
app/etc/modules/ZVianetz_AdvancedInvoiceLayout_Compatibility.xmlwith the following content (replace OtherVendor_OtherExtension with the extension name)
- Copy the file
app/code/local/Vianetz/AdvancedInvoiceLayout/Model/Email/Templateand replace the beginning with
Vianetz_AdvancedInvoiceLayout_Model_Email_Template extends Ebizmarts_Mandrill_Model_Email_Template
- Flush the Magento Cache
Please find also further general discussions in this support thread.