Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjaap authored Jul 6, 2021
1 parent 3547e13 commit 9f962c5
Showing 1 changed file with 40 additions and 32 deletions.
72 changes: 40 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,38 +7,46 @@ A console command is available to import the templates into your database. *Be a

```
$ bin/console elgentos-dutch-email-templates:import
Succesfully upserted mail template translation for contact_form.
Succesfully upserted mail template translation for customer.group.registration.accepted.
Succesfully upserted mail template translation for customer.group.registration.declined.
Succesfully upserted mail template translation for customer.recovery.request.
Succesfully upserted mail template translation for customer_group_change_accept.
Succesfully upserted mail template translation for customer_group_change_reject.
Succesfully upserted mail template translation for customer_register.
Succesfully upserted mail template translation for customer_register.double_opt_in.
Succesfully upserted mail template translation for guest_order.double_opt_in.
Succesfully upserted mail template translation for newsletterDoubleOptIn.
Succesfully upserted mail template translation for newsletterRegister.
Succesfully upserted mail template translation for order.state.cancelled.
Succesfully upserted mail template translation for order.state.completed.
Succesfully upserted mail template translation for order.state.in_progress.
Succesfully upserted mail template translation for order.state.open.
Succesfully upserted mail template translation for order_confirmation_mail.
Succesfully upserted mail template translation for order_delivery.state.cancelled.
Succesfully upserted mail template translation for order_delivery.state.returned.
Succesfully upserted mail template translation for order_delivery.state.returned_partially.
Succesfully upserted mail template translation for order_delivery.state.shipped.
Succesfully upserted mail template translation for order_delivery.state.shipped_partially.
Succesfully upserted mail template translation for order_transaction.state.cancelled.
Succesfully upserted mail template translation for order_transaction.state.open.
Succesfully upserted mail template translation for order_transaction.state.paid.
Succesfully upserted mail template translation for order_transaction.state.paid_partially.
Succesfully upserted mail template translation for order_transaction.state.refunded.
Succesfully upserted mail template translation for order_transaction.state.refunded_partially.
Succesfully upserted mail template translation for order_transaction.state.reminded.
Succesfully upserted mail template translation for password_change.
Succesfully upserted mail template translation for product_stock_warning.
Succesfully upserted mail template translation for sepa_confirmation.
Succesfully upserted mail template translation for user.recovery.request.
```

## Email header & footer templates

Header:

```
<div style="background:#f6f6f6;font-family:Helvetica;font-size:13px;margin:0;padding:0">
<div style="background:#f6f6f6;font-family:Helvetica;font-size:13px;margin:0;padding:0">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tbody>
<tr>
<td align="center" valign="top" style="padding:20px 0 20px 0">
<table bgcolor="FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #e0e0e0">
<tbody>
<tr>
<td valign="top">
<a href="https://your-domain.com/" target="_blank"><img src="https://absolute-path-to-your.com/logo.svg" alt="{{ salesChannel.name }}" style="margin-bottom:10px" border="0" /></a>
</td>
</tr>
```

Footer:

```
<tr>
<td bgcolor="#EAEAEA" align="center" style="background:#eaeaea;text-align:center">
<center>
<p style="font-size:12px;margin:0">Met vriendelijke groet, <strong>{{ salesChannel.name }}</strong></p>
</center>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
```

Huge thanks to @MelvinAchterhuis for providing a large number of these :)

0 comments on commit 9f962c5

Please sign in to comment.