All Projects → drehimself → Laravel Ecommerce Example

drehimself / Laravel Ecommerce Example

Code for YouTube series on building a Laravel E-Commerce application.

Projects that are alternatives of or similar to Laravel Ecommerce Example

Laravel Ecommerce Iyzico
Iyzico intigrated e-Commerce system that could be developed easily in simple level.
Stars: ✭ 81 (-89.33%)
Mutual labels:  ecommerce, laravel, laravel-framework
Bagisto
An easy to use, free and open source laravel eCommerce platform to build your online shop in no time.
Stars: ✭ 4,140 (+445.45%)
Mutual labels:  ecommerce, laravel
Candy Api
GetCandy E-Commerce API
Stars: ✭ 339 (-55.34%)
Mutual labels:  ecommerce, laravel
Crater
Open Source Invoicing Solution for Individuals & Businesses
Stars: ✭ 4,897 (+545.19%)
Mutual labels:  laravel, laravel-framework
S Cart
Free Laravel open source e-commerce for business: shopping cart, cms content, and more...
Stars: ✭ 286 (-62.32%)
Mutual labels:  ecommerce, laravel
Borgert Cms
Borgert is a CMS Open Source created with Laravel Framework 5.6
Stars: ✭ 298 (-60.74%)
Mutual labels:  laravel, laravel-framework
Ulearn
ULEARN - Open Source(FREE) LMS script in Laravel 5.8 and ReactJS 16.9
Stars: ✭ 368 (-51.52%)
Mutual labels:  laravel, laravel-framework
Shopper
An eCommerce administration built with Laravel 5 for create online shop.
Stars: ✭ 205 (-72.99%)
Mutual labels:  ecommerce, laravel
Aimeos Laravel
Laravel ecommerce package for professional, ultra fast online shops, complex B2B applications and #gigacommerce
Stars: ✭ 5,204 (+585.64%)
Mutual labels:  ecommerce, laravel
Snooze
A package to simplify automating future notifications and reminders in Laravel
Stars: ✭ 515 (-32.15%)
Mutual labels:  laravel, laravel-framework
Ecommerce Open Api
果酱小店:基于 Laravel + swoole + 小程序的开源电商系统,优雅与性能兼顾 : )
Stars: ✭ 546 (-28.06%)
Mutual labels:  ecommerce, laravel
Laravel Job Status
Add ability to track Job progress, status and result dispatched to Queue.
Stars: ✭ 279 (-63.24%)
Mutual labels:  laravel, laravel-framework
Laraform
Reactive Form Builder for Vue.js with Laravel Support
Stars: ✭ 259 (-65.88%)
Mutual labels:  laravel, laravel-framework
Laravel Form Components
A set of Blade components to rapidly build forms with Tailwind CSS (v1.0 and v2.0) and Bootstrap 4. Supports validation, model binding, default values, translations, Laravel Livewire, includes default vendor styling and fully customizable!
Stars: ✭ 295 (-61.13%)
Mutual labels:  laravel, laravel-framework
S Cart
This project has been replaced by https://github.com/s-cart/s-cart
Stars: ✭ 258 (-66.01%)
Mutual labels:  ecommerce, laravel
Coreui Free Laravel Admin Template
CoreUI Free Laravel Bootstrap Admin Template
Stars: ✭ 353 (-53.49%)
Mutual labels:  laravel, laravel-framework
Laravel Open Source Projects
A Web Artisan list of categorized OPEN SOURCE PROJECTS built with Laravel PHP Framework.
Stars: ✭ 676 (-10.94%)
Mutual labels:  laravel, laravel-framework
Laravel Cart Manager
Managing the cart in your Laravel/E-commerce application is a breeze
Stars: ✭ 175 (-76.94%)
Mutual labels:  ecommerce, laravel
Bazar
Bazar is an e-commerce package for Laravel applications.
Stars: ✭ 194 (-74.44%)
Mutual labels:  ecommerce, laravel
Oc Shopaholic Plugin
🛍️ #1 e-commerce platform for October CMS
Stars: ✭ 404 (-46.77%)
Mutual labels:  ecommerce, laravel

Laravel Ecommerce Example

Laravel Ecommerce Example

Code for YouTube video series: https://www.youtube.com/watch?v=o5PWIuDTgxg&list=PLEhEHUEU3x5oPTli631ZX9cxl6cU_sDaR

Website Demo: https://laravelecommerceexample.ca. The demo has limited permissions. Install locally for full access.

Installation

  1. Clone the repo and cd into it
  2. composer install
  3. Rename or copy .env.example file to .env
  4. php artisan key:generate
  5. Set your database credentials in your .env file
  6. Set your Stripe credentials in your .env file. Specifically STRIPE_KEY and STRIPE_SECRET
  7. Set your Algolia credentials in your .env file. Specifically ALGOLIA_APP_ID and ALGOLIA_SECRET. See this episode.
  8. Set your Braintree credentials in your .env file if you want to use PayPal. Specifically BT_MERCHANT_ID, BT_PUBLIC_KEY, BT_PRIVATE_KEY. See this episode. If you don't, it should still work but won't show the paypal payment at checkout.
  9. Set your APP_URL in your .env file. This is needed for Voyager to correctly resolve asset URLs.
  10. Set ADMIN_PASSWORD in your .env file if you want to specify an admin password. If not, the default password is 'password'
  11. php artisan ecommerce:install. This will migrate the database and run any seeders necessary. See this episode.
  12. npm install
  13. npm run dev
  14. php artisan serve or use Laravel Valet or Laravel Homestead
  15. Visit localhost:8000 in your browser
  16. Visit /admin if you want to access the Voyager admin backend. Admin User/Password: [email protected]/password. Admin Web User/Password: [email protected]/password

Shopping Cart Package

I originally used the Crinsane/LaravelShoppingcart package but it is slow to update to the latest versions of Laravel. I now use hardevine/LaravelShoppingcart which is a forked version that updates quicker.

Windows Users - money_format() issue

The money_format function does not work in Windows. Take a look at this thread. As an alternative, just use the number_format function instead.

  1. In app/helpers.php replace money_format line with return '$'.number_format($price / 100, 2);
  2. In app/Product.php replace money_format line with return '$'.number_format($this->price / 100, 2);
  3. In config/cart.php set the thousand_seperator to an empty string or you might get a 'non well formed numeric value encountered' error. It conflicts with number_format.

Starting from a particular point

If you would like to follow along from a particular point, follow these instructions. I'm going to be starting from my starting point in the first video of the series. You can choose any point by replacing the hash with any particular commit.

  1. Clone the repo and cd into it
  2. git checkout f4f651a8a35ebb2ff38ba15771fd65c93051f942
  3. Follow the rest of the steps above. Instead of php artisan ecommerce:install, migrate and seed the normal way with php artisan migrate --seed
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].