Upgrade guide

Instructions for upgrading S-Cart 8.1 from version 7.2

Step 1: Update composer.json

Update core version: 

    "require": {
        "s-cart/core": "~8.1.0"
    },
    "require-dev": {
        "fakerphp/faker": "^1.9.1",
        "laravel/pint": "^1.0",
        "laravel/sail": "^1.18",
        "mockery/mockery": "^1.4.4",
        "nunomaduro/collision": "^7.0",
        "phpunit/phpunit": "^10.0",
        "spatie/laravel-ignition": "^2.0",
        "barryvdh/laravel-debugbar": "^3.6"
    },

Step 2: Update file config "config/s-cart.php"

Update core version: 

'version'     => '8.1',
'sub-version' => '8.1.4',

Step 3: Update files  "resources\views\templates\s-cart-light\main.blade.php"
// Since version 8.1.6
Find content:

    content="{{ !empty($og_image)?sc_file($og_image):sc_file('images/org.jpg') }}

Replaced by:

    content="{{ !empty($og_image)?sc_file($og_image):sc_file(sc_store('og_image')) }}"


Step 4: Run composer update

php composer.phar update  s-cart/core
php artisan sc:update


- Run command line php artisan sc:info to check version information.

Related topics

Latest Document