...
Attribute Name | Type | Required | Description |
---|---|---|---|
invoice | Invoice ID | No | Use this if you want to attach invoices to your email |
file | path | No | Path to your file that you wish to attach, use absolute paths |
name | string | No | name that will be used for attached file |
Usage
...
Example usage in email templates:
...
Code Block | ||
---|---|---|
| ||
{if $invoice.gateway == 'Bank Transfer'} {attachment file="/var/pdfguides/banktransferguide.pdf" name="Bank Transfer Guide.pdf"} {/if} |