Email attachments
Email attachments can be configured as shown below.
plugin.tx_cart {
mail {
// Used for emails sent to the customer (=buyer)
buyer {
attachments {
1 = EXT:sitepackage/Resources/Public/Files/AGB.pdf
}
// This needs EXT:cart_pdf to work!
attachDocuments {
order = 1
invoice = 1
delivery = 1
}
}
// Used for emails sent to the shop owner (=seller)
seller {
attachments {
1 = EXT:sitepackage/Resources/Public/Files/AGB.pdf
}
// This needs EXT:cart_pdf to work!
attachDocuments {
order = 1
invoice = 1
delivery = 1
}
}
}
}
plugin.tx_cart.mail
buyer.attachments.<n>
-
- Type
-
array
Defines one or more email attachments to be sent to the buyer.
These can be, for example, documents with the general terms and conditions.
buyer.attachDocuments.<n>
-
- Type
-
array
This needs EXT:cart_pdf to work.
Defines one or more email attachments of the generated PDF documents to be sent to the buyer.
This can be the order confirmation, the invoice or a separate document.
seller.attachments.<n>
-
- Type
-
array
Defines one or more email attachments to be sent to the seller.
These can be, for example, documents with the general terms and conditions.
seller.attachDocuments.<n>
-
- Type
-
array
This needs EXT:cart_pdf to work.
Defines one or more email attachments of the generated PDF documents to be sent to the seller.
This can be the order confirmation, the invoice or a separate document.