You can adjust our sent mails just as you like them.
Unfortunately there is an issue if using markdown at the moment. You can easily adjust it though. I will explain how.
See the issue: https://github.com/statamic/cms/issues/2747​
php artisan vendor:publish --tag=laravel-mail
Docs for more information: https://laravel.com/docs/master/notifications#customizing-the-components​
Duplicate the default.css
file and rename yoru copy to for example butik dd
You'll find the css file in the themes folder:
resources/views/vendor/mail/html/themes
Update the theme
option of the mail
configuration file to match the name of your new theme inside your config\mail.php
In our example, you need to rename the theme to butik
That's it!
​After publishing your views, you can adjust our mail templates.
The following values are available inside the views:
variable | includes |
$order | All order information |
$customer | Customer information |
$items | The purchased items |
$order_id | The order ID |
$paid_at | When the purchase has been paid |
$total_amount | The total amount |
You can customize the markdown as described in the Laravel documentation.