s cart

Free Laravel e-commerce for business: shopping cart, cms content, and more...

698
348
PHP

Free open source e-commerce for business
composer create-project s-cart/s-cart

Home | Demo | Document | API document | Features in S-Cart | Group FB

Packagist Downloads Git Downloads Latest Stable Version License

About S-Cart X

S-Cart is the best free e-commerce website project for individuals and businesses, built on top of Laravel Framework and the latest technologies.
Our goal is β€œEfficient and friendly for everyone”:

  • Efficiency: Meet even the smallest requirements of customers.
  • Friendly: Easy to use, easy to maintain, easy to develop.
  • Everyone: Businesses, individuals, developers, students.

IMAGES:

S-Cart functions:

πŸ’₯ S-Cart - FREE Laravel ecommerce for business πŸ’₯

Core Features

  • Build plugin packages HMVC
  • Support to upgrade and patch S-Cart via command line
  • Full documentation for developers and clients

πŸ‘‰ Professional Sales Website Functions

  • Multi-language, multi-currency
  • Multi-vendor
  • Complete e-commerce features:
    • Shopping cart management
    • Order management
    • Product management
    • Customer management
  • CMS Management:
    • Categories
    • News
    • Content pages
  • Extensions:
    • Payment plugins
    • Shipping methods
    • Discount systems
    • Tax calculation
  • Pro Plugins:
  • Developer Resources:
    • Online library of plugins and templates
    • API support with security for apps and mobile integration

πŸ‘‰ Powerful Admin Features

  • User Management:
    • Role-based permissions (admin, manager, marketing, etc.)
    • Comprehensive security with full logging
    • Access control, authentication, and CAPTCHA
  • Business Tools:
    • Product management
    • Order processing
    • Customer relationship management
    • Analytics and statistics
    • Data backup and restoration
    • Activity monitoring

API Documentation

S-Cart 10.x:

Power by GP247 system https://github.com/gp247net

Core laravel framework 12.x https://github.com/laravel/laravel

Website structure using GP247

Website-folder/
|
β”œβ”€β”€ app
β”‚     └── GP247
β”‚           β”œβ”€β”€ Core(+) //Customize controller of Core
β”‚           β”œβ”€β”€ Helpers(+) //Auto load Helpers/*.php
β”‚           β”œβ”€β”€ Plugins(+) //Use `php artisan gp247:make-plugin --name=NameOfPlugin`
β”‚           β”œβ”€β”€ Front(+) //Customize controller of Front 
β”‚           β”œβ”€β”€ Shop(+) //Customize controller of Shop 
β”‚           └── Templates(+) //Use `php artisan gp247:make-template --name=NameOfTempate`
β”œβ”€β”€ public
β”‚     └── GP247
β”‚           β”œβ”€β”€ Core(+)
β”‚           β”œβ”€β”€ Plugins(+)
β”‚           └── Templates(+)
β”œβ”€β”€ resources
β”‚            └── views/vendor
β”‚                           |── gp247-core(+) //Customize view core
β”‚                           └── gp247-front(+) //Customize view front
β”œβ”€β”€ vendor
β”‚     β”œβ”€β”€ gp247/core
β”‚     β”œβ”€β”€ gp247/front
β”‚     └── gp247/shop
└──...

Support the project

Support this project 😜 πŸ™

PayPal Me

Quick Installation Guide

  • Step 1:

    Refer to the command:

    composer create-project s-cart/s-cart

  • Step 2: Check the configuration in the .env file

    Ensure that the database configuration and APP_KEY information in the .env file are complete.

    If the APP_KEY is not set, use the following command to generate it:

    php artisan key:generate

  • Step 3: Initialize S-Cart

    Run the command:

    php artisan sc:install

  • Step 4: Install sample data (optional)

    If you want to install sample data, run the command:

    php artisan sc:sample

Important Note on Directory Permissions

Make sure the following directories have write permissions:

  • app/GP247
  • public/GP247
  • public/vendor
  • resources/views/vendor
  • storage
  • vendor

Without proper write permissions, installation and various features will not work correctly.

Useful information:

To view S-Cart version

php artisan sc:info

Update S-Cart

Update the package using the command:

composer update gp247/core

composer update gp247/front

composer update gp247/shop

Then, run the command:

php artisan sc:update

To create a plugin:

php artisan gp247:make-plugin --name=PluginName

To create a zip file plugin

php artisan gp247:make-plugin --name=PluginName --download=1

To create a template:

php artisan gp247:make-template --name=TemplateName

To create a zip file template:

php artisan gp247:make-template --name=TemplateName --download=1

Customize

Customize lfm configuration for upload

php artisan vendor:publish --tag=config-lfm

Customize core admin view

php artisan vendor:publish --tag=gp247:view-core

Overwrite gp247_ helper functions*

Step 1: Add the list of functions you want to override to config/gp247_functions_except.php

Step 2: Create new php files containing the new functions in the app/GP247/Helpers directory, for example app/GP247/Helpers/myfunction.php

Overwrite gp247 controller files

Step 1: Copy the controller files you want to override from vendor/gp247/core/src/Core/Controllers -> app/GP247/Core/Controllers

Step 2: Change namespace GP247\Core\Controllers to namespace App\GP247\Core\Controllers

Overwrite gp247 API controller files

Step 1: Copy the controller files you want to override from vendor/gp247/core/src/Api/Controllers -> app/GP247/Core/Api/Controllers

Step 2: Change namespace GP247\Core\Api\Controllers to namespace App\GP247\Core\Api\Controllers

Add route

Use prefix and middleware constants GP247_ADMIN_PREFIX, GP247_ADMIN_MIDDLEWARE in route declaration.

References: https://github.com/gp247net/core/blob/master/src/routes.php

Environment variables in .env file

Disable APIs

GP247_API_MODE=1 // To disable, set value 0

Data table prefixes

GP247_DB_PREFIX=gp247_ //Cannot change after install gp247

Path prefix to admin

GP247_ADMIN_PREFIX=gp247_admin