- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Laravel 9 Tutorial #123 | Laravel Discount Codes (IV) | Create Discount Coupon / Validations
►Laravel 9 Tutorial from the beginning:- https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ
In Part 123 of the Laravel 9 Tutorial to create a Multi-Vendor E-commerce Website in Laravel 9, we will continue working on the Coupons module.
In this video, we will finally add coupon with all details in coupons table and will add validation.
1) Update addEditCoupon function :-
We will update addEditCoupon function to receive coupon data from add coupon form and save into coupons table.
We are required to convert categories and users array data to string with import function.
Also, we are required to generate random coupon code if coupon option is Automatic.
We will set status of coupon to 1 by default.
Finally, we will redirect to coupons page after adding coupon details to coupons table.
2) Add Laravel Validation :-
Now we will add Laravel and HTML 5 validation for the coupon form.
From Laravel 6 onwards, all str_ and array_ helpers have been moved to the new laravel/helpers Composer package and removed from the framework. If desired, you may update all calls to these helpers to use the Illuminate\Support\Str and Illuminate\Support\Arr classes. Alternatively, you can add the new laravel/helpers package to your application to continue using these helpers:
composer require laravel/helpers
In next video, we will work on edit and delete coupon code functionality.
Thanks for watching :)
►Laravel 9 Tutorial Playlist (Create Multi-Vendor E-commerce Website) - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ
►Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers
Popular Stack Developers Series that can help you:-
►React JS Tutorial for Beginners with Laravel 9 - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYnEIWliBpU98gtorNRNHw1
►Laravel Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZaHaFmydqjcQ-YyeQ19Cd6u
►GIT Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZVQ-dLOMFWvmCCduzJ8c6R
►Laravel API Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbcCsd4yAAiBU2L3ROREk8P
►Laravel Interview Questions - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbzB_1Jdp_yFcORwOfWP8RU
►jQuery Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbMYoUA46GIonOH29KcjtxA
►Laravel Basic E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZY5drPxIWzpq5crhantlzp7
►Laravel Dating Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZrPUnxjlomErJfNvkyS6Hf
►Join this channel to get the complete source code of all series:
https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw/join
Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates - http://facebook.com/stackdevelopers2/
►Join Facebook Group to resolve your queries - http://facebook.com/groups/stackdevelopers
►Follow on Instagram - https://www.instagram.com/stackdevelopers2/
►Follow on GitHub - https://github.com/stackdevelopers
#laravel9 #laravel9tutorial #laravel
Видео Laravel 9 Tutorial #123 | Laravel Discount Codes (IV) | Create Discount Coupon / Validations канала Stack Developers
In Part 123 of the Laravel 9 Tutorial to create a Multi-Vendor E-commerce Website in Laravel 9, we will continue working on the Coupons module.
In this video, we will finally add coupon with all details in coupons table and will add validation.
1) Update addEditCoupon function :-
We will update addEditCoupon function to receive coupon data from add coupon form and save into coupons table.
We are required to convert categories and users array data to string with import function.
Also, we are required to generate random coupon code if coupon option is Automatic.
We will set status of coupon to 1 by default.
Finally, we will redirect to coupons page after adding coupon details to coupons table.
2) Add Laravel Validation :-
Now we will add Laravel and HTML 5 validation for the coupon form.
From Laravel 6 onwards, all str_ and array_ helpers have been moved to the new laravel/helpers Composer package and removed from the framework. If desired, you may update all calls to these helpers to use the Illuminate\Support\Str and Illuminate\Support\Arr classes. Alternatively, you can add the new laravel/helpers package to your application to continue using these helpers:
composer require laravel/helpers
In next video, we will work on edit and delete coupon code functionality.
Thanks for watching :)
►Laravel 9 Tutorial Playlist (Create Multi-Vendor E-commerce Website) - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYTlQ97V1Tl8mirS3qXHNFZ
►Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers
Popular Stack Developers Series that can help you:-
►React JS Tutorial for Beginners with Laravel 9 - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYnEIWliBpU98gtorNRNHw1
►Laravel Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZaHaFmydqjcQ-YyeQ19Cd6u
►GIT Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZVQ-dLOMFWvmCCduzJ8c6R
►Laravel API Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbcCsd4yAAiBU2L3ROREk8P
►Laravel Interview Questions - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbzB_1Jdp_yFcORwOfWP8RU
►jQuery Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbMYoUA46GIonOH29KcjtxA
►Laravel Basic E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZY5drPxIWzpq5crhantlzp7
►Laravel Dating Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZrPUnxjlomErJfNvkyS6Hf
►Join this channel to get the complete source code of all series:
https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw/join
Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates - http://facebook.com/stackdevelopers2/
►Join Facebook Group to resolve your queries - http://facebook.com/groups/stackdevelopers
►Follow on Instagram - https://www.instagram.com/stackdevelopers2/
►Follow on GitHub - https://github.com/stackdevelopers
#laravel9 #laravel9tutorial #laravel
Видео Laravel 9 Tutorial #123 | Laravel Discount Codes (IV) | Create Discount Coupon / Validations канала Stack Developers
laravel 9 laravel9 laravel 9 tutorial create multi vendor ecommerce website create laravel 9 website multi-vendor ecommerce in laravel 9 laravel 9 ecommerce multi vendor multi vendor ecommerce multi seller ecommerce multiseller ecommerce tutorial laravel 9 series laravel 9 website tutorial multivendor laravel laravel 9 website learn laravel 9 create coupon laravel create discount voucher laravel coupons laravel laravel 9 tutorial for beginners laravel
Комментарии отсутствуют
Информация о видео
15 декабря 2022 г. 18:30:09
00:23:02
Другие видео канала





















