S-Cart command line
The useful command lines will support S-Cart since version 4.x:
To view S-Cart version information
Update core for S-Cart (Support from S-Cart 6.8)
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.Update core for S-Cart (Support from S-Cart 6.8)
This command is supported since S-Cart 6.8, is run after you update core: php composer.phar update s-cart/corephp artisan sc: update
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 HERERelated topics
- Backup & Restore
- Create custom functions
- Configure data validation
- Customize your router
- Customize controller
- Functions helper of S-Cart
- How to customize home page
- Customize admin dashboard page
- Customize helper functions
- Disable ecommerce router
- Convert S-Cart into a news website
- Customize data fields in S-Cart
- Data relations in S-Cart
- Customize search page
Latest Document
- Upgrade guide 2024-03-24
- Customize search page 2023-08-02
- Discount code (coupon) 2023-05-14
- Upgrade guide 2023-11-23
- Data relations in S-Cart 2023-02-05