PHP's made gigantic leaps since my early programming days. And I haven't taken the time to jump back into its modern environment (been busy dabbling in Vue.js refactoring & prototyping).

laravel ecommerce

So today, that's exactly what I'm going to do.

How? By exploring Laravel e-commerce capabilities.

Or more precisely: what are the benefits Laravel can bring to your next e-commerce venture & what tools can help you build an online store.

Then I’ll present my own handcrafted solution. It’s a mix of Laravel-powered PyroCMS & Snipcart resulting in a neat e-commerce app.

It just so happens that I made a huge batch of spaghetti sauce this weekend. I'll never be able to eat all of it, so why not sell the surplus online!

In the tutorial, I'll show you:

  • How to set up a PyroCMS demo site

  • How to add an e-commerce panel to PyroCMS

  • How to display Snipcart products on your project's frontend

  • How to use webhooks & Laravel controllers inside PyroCMS

  • How to use Snipcart's custom validation during checkout

Let's see if my rusty PHP skills can outshine my cooking skills.

Tutorial

https://snipcart.com/blog/laravel-ecommerce-tutorial-pyrocms-demo

Live demo & GitHub repo

laravel-ecommerce-demo-site-home

See the open source repo on GitHub.

See live demo here!

Source Code

https://github.com/snipcart/laravel-pyrocms-snipcart

This post is submitted by nthompson196