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
- Backup & Restore
- S-Cart command line
- Create custom functions
- 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