πŸŽ‰ Simple Commerce v3.0 is out! Includes new features & some big quality of life improvements.

Simple Commerce Logo

Introduction

Ecommerce is hard. don't do it alone! Get back to doing what you love: building beautiful websites for your clients.

imple Commerce is a simple, yet powerful e-commerce addon for Statamic. You have complete control over the content structure and front-end of your site.

Everything's just an entry

Stay with what you love - Statamic entries. With Simple Commerce, all of your products, orders, customers & coupons are Statamic entries. Giving you the flexibility you need to build bespoke e-commerce sites for your clients.

And, when your site grows, it's easy to move your orders & customers into a traditional database.

Integrates perfectly with Statamic

Everyone loves Antlers, right? I sure do. Simple Commerce provides its own Antlers tags to let you add products to the cart, take payment etc. It’s almost magic πŸͺ„.

1<h1 class="text-2xl">Your cart</h1>
2 
3{{ sc:cart }}
4 <table>
5 <tbody>
6 {{ items }}
7 <tr class="border-b border-gray-200">
8 <td class="text-sm px-2 py-4">{{ product:title }}</td>
9 <td class="text-sm px-2 py-4">{{ product:price }}</td>
10 <td class="text-sm px-2 py-4">{{ quantity }}</td>
11 <td class="text-sm px-2 py-4">{{ total }}</td>
12 </tr>
13 {{ /items }}
14 <tr>
15 <td class="text-sm px-2 py-4"></td>
16 <td class="text-sm px-2 py-4"></td>
17 <td class="text-sm px-2 py-4 font-semibold">Items Total</td>
18 <td class="text-sm px-2 py-4">{{ items_total }}</td>
19 </tr>
20 </tbody>
21 </table>
22{{ /sc:cart }}

Payment Gateways

Out-of-the-box, Simple Commerce ships with support for three of the big payment gateways: Stripe, PayPal and Mollie. Use whichever one you need, or if you need something else: it's easy to build one.

1'gateways' => [
2 \DoubleThreeDigital\SimpleCommerce\Gateways\Builtin\StripeGateway::class => [
3 'key' => env('STRIPE_KEY'),
4 'secret' => env('STRIPE_SECRET'),
5 ],
6],

Getting Started

To get started with Simple Commerce, follow the Installation Guide. It'll walk you through the process of getting up and running!

And, if you have any questions, send me an email and I'll be more than happy to help!

Code highlighting provided by Torchlight.

Edit this page