The Snipcart plugin can be configured to send two types of email notifications out of the box: order confirmations for store admins, and order confirmations for customers.
Both are disabled by default, and each comes with a preconfigured Twig template that you can override with your own option from a control panel setting.
If you'd like to create your own templates, check out each of the included ones for reference:
Each one will have two Twig variables available to it:
order
: a complete Order model populated with order information. If a ShipStation order was created, it will be available in providerOrders.shipStation
.settings
: the Snipcart plugin settings.The Snipcart plugin uses pelago/emogrifier
to inline HTML email styles and improve compatibility across email clients. No need to inline styles directly within your template!