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.


2 |--------------------------------------------------------------------------
3 | Notifications
4 |--------------------------------------------------------------------------
5 |
6 | Simple Commerce can automatically send notifications after events occur in your store.
7 | eg. a cart being completed.
8 |
9 | Here's where you can toggle if certain notifications are enabled/disabled.
10 |
13'notifications' => [
14 'customer' => [
15 'order_confirmation' => true,
16 ],
18 'back_office' => [
19 'to' => '',
21 'order_paid' => true,
22 ],

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.

Back-office notifications

You can also send notifications to your store's back-office staff. To configure the email where those notifications go, change the to value. Currently it only supports sending to a single e-mail address.

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!