S-Cart command line
(Last update: 2020-10-27 23:00:06)
The useful command lines will support S-Cart since version 4.x:
To view S-Cart version information
To create a new plugin:
To create data backup file (The sql file is stored in storage/backups):
To manually customize the admin page:
After set the value
To view S-Cart version information
To update the core version of S-Cart:php artisan sc:info
Or you can usecomposer update s-cart/core
php composer.phar update s-cart/core
if you don't have composer installed.To create a new plugin:
Example:php artisan sc:make plugin --name=Group\PluginName
php artisan sc:make plugin --name=Payment\Paypal
To create data backup file (The sql file is stored in storage/backups):
To recover data:php artisan sc:backup --path=abc.sql
To customize validation parametersphp artisan sc:restore --path =abc.sql
Check file:php artisan sc: customize validation
config/validation.php
To manually customize the admin page:
This command will create new directoriesphp artisan sc:customize admin
resources/views/admin
and file config/admin.php
After set the value
customize=true
in config/admin.php
you can modify template admin. More detail HERE