Setting Up Custom Email Attachment for WooCommerce

Creating & Managing Custom Email Attachments

Adding Multiple Custom Attachments

Go to WooCommerce > Custom Attachments.

Here you can: 

  • View a complete list of all custom attachments in a log
  • Perform bulk actions to edit or delete any custom attachments created
  • Apply filters based on the date
  • Search for an existing attachment from the search bar

Click on “Add New” to create custom attachments and fill in the following information: 

General Settings: 

Attachment Title: Provide a descriptive title for your attachment

Add Attachment: Add attachments as prebuild or custom:

  • Prebuild: If you choose “Prebuild,” you can upload a prebuilt file
  • Custom: If you choose “Custom,” provide the following details:
    • Attachment Header: Inset header in table format
    • Attachment Footer: Insert footer in table format
    • Attachment Watermark Style: Choose from the three options:
      • No Watermark 
      • Image: Upload an image as the watermark
      • Text: Add custom text as the watermark
    • Attachment Content: You can also use special shortcodes to customize the content

Restrictions: 

Users Roles: Define which user roles can access this attachment:

  • Administrator
  • Editor
  • Author
  • Contributor
  • Subscriber
  • Customer
  • Shop manager
  • Wholesale
  • B2B
  • Retailer
  • Guest

Product Attachment Type: Select the attachment type:

  • All Products 
  • Specific Products

Attach Into Email: Choose when to attach this custom email:

  • New Order
  • Cancelled Order
  • Failed Order
  • Order On-hold
  • Processing Order
  • Completed Order
  • Refunded Order
  • Customer Invoice/Order Details
  • Customer Note
  • Reset Password
  • New Account

Priority:

Order: Set the priority for this attachment 

Customizing Attachments

Go to WooCommerce > Custom Attachments > Attachment Settings.

General:

Attachments: Choose between the two options:

  • Single Attachment
  • All Attachments 

Image Height: Enter the height of the watermark image as an integer value

Image Width: Enter the width of the watermark image as an integer value

Image Opacity: Set the opacity of the watermark image

Text Opacity: Set the opacity of the watermark text