Configure data validation
To change the input data validation parameters, for example phone number, address, username, perform the following steps:
Step 1: Run the command "php artisan sc: customize validation"
If S-Cart <5.0.5, use the command "php artisan sc: customize admin"
Step 2: Check the file "config/validation.php"

For more understanding and meaning of configuration values, refer to: https://laravel.com/docs/8.x/validation#available-validation-rules
Step 1: Run the command "php artisan sc: customize validation"
If S-Cart <5.0.5, use the command "php artisan sc: customize admin"
Step 2: Check the file "config/validation.php"

For more understanding and meaning of configuration values, refer to: https://laravel.com/docs/8.x/validation#available-validation-rules
Related topics
Latest Document
- Discount code (coupon) 2023-05-14
- Upgrade guide 2023-03-19
- Data relations in S-Cart 2023-02-05
- Custom data fields in S-Cart 2023-02-05
- Upgrade guide 2022-10-05