Butik
Search…
Mailables
Customize your emails
You can adjust our sent mails just as you like them.

Adjust your template

Unfortunately there is an issue if using markdown at the moment. You can easily adjust it though. I will explain how.

1. Publish your vendor files

1
php artisan vendor:publish --tag=laravel-mail
Copied!

2. Create your own theme

Duplicate the default.css file and rename your copy to for example butik.css
You'll find the css file in the themes folder:
1
resources/views/vendor/mail/html/themes
Copied!

3. Change your theme

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!

Templates

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

Customize markdown layout

You can customize the markdown as described in the Laravel documentation.
Last modified 6mo ago