You're viewing the documentation of an older Simple Commerce version. Consider upgrading to the latest for new features and bug fixes.

By default, Simple Commmerce will automatically send emails to your customers when certain events happen. For example, Simple Commerce will send your customers an order confirmation email when a purchase has been completed.

Configuration

1<?php
2 
3/*
4|--------------------------------------------------------------------------
5| Notifications
6|--------------------------------------------------------------------------
7|
8| Simple Commerce can automatically send notifications to customers after
9| events occur in your store. eg. a cart being completed.
10|
11| Here's where you can toggle if certain notifications are enabled/disabled.
12|
13*/
14 
15'notifications' => [
16 'cart_confirmation' => true,
17],

In your Simple Commerce config (config/simple-commerce.php), you can toggle notifications on or off, depending on your preference. For example, you may not want Simple Commerce to send an order confirmation email because Stripe might send one to the customer instead.

Customising email views

Simple Commerce uses Laravel's markdown mail feature, meaning we can use Blade views with markdown in them and it will be sent as an email.

If you'd like to customise the text used, Simple Commerce automatically publishes them to your resources/views/vendor/simple-commerce.

Last updated 3 months ago Improve this page on GitHub!