Upgrade guide

Instructions to upgrade S-Cart from 6.7 to 6.8

Step 1. Add column other_fee in table  sc_shop_order

ALTER TABLE `sc_shop_order` ADD COLUMN `other_fee` INT(11) NULL DEFAULT '0' AFTER `tax`;

Step 2: Replace namespace of Plugin:

Replace "App\Http\Controllers\RootAdminController" by "SCart\Core\Admin\Controllers\RootAdminController"
Replace "App\Http\Controllers\RootFrontController" by "SCart\Core\Front\Controllers\RootFrontController"

More detail: https://github.com/s-cart/s-cart/commit/189b1a4c358f02c6ef88d819aebe8f2b9d5424cc

Step 3: Update composer.json

"s-cart/core": "~6.8.0"


Step 4: Update core

php composer.phar update s-cart/core

Step 5: Update database

php artisan sc:update

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

Related topics

Latest Document