In Part-218 of the Laravel E-commerce series, we will continue working on Exchange Order functionality like Amazon.
In this video, we will display the exchange requests in the admin panel from where the admin can able to approve or reject the request.
1) Update admin_sidebar.blade.php file:-
First of all, add the "Exchange Requests" link at the admin sidebar.
2) Create Route:-
Create Get route for exchange requests in web.php file like below:-
// Exchange Requests
Route::get('exchange-requests','OrdersController@exchangeRequests');
3) Create exchangeRequests Function :-
Now create exchangeRequests Function at OrdersController located at Admin folder to get all exchange requests placed by the users.
4) Create exchange_requests.blade.php file:-
Now create the exchange_requests.blade.php file at /resources/views/admin/orders/ path where we will display all exchange requests in foreach loop.
In the next video, the exchange request can be either accepted or rejected by the admin from the admin panel. And the same will be notified to the user via email.
Join this channel to get complete code/support:
https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw/join
In this video, we will display the exchange requests in the admin panel from where the admin can able to approve or reject the request.
1) Update admin_sidebar.blade.php file:-
First of all, add the "Exchange Requests" link at the admin sidebar.
2) Create Route:-
Create Get route for exchange requests in web.php file like below:-
// Exchange Requests
Route::get('exchange-requests','OrdersController@exchangeRequests');
3) Create exchangeRequests Function :-
Now create exchangeRequests Function at OrdersController located at Admin folder to get all exchange requests placed by the users.
4) Create exchange_requests.blade.php file:-
Now create the exchange_requests.blade.php file at /resources/views/admin/orders/ path where we will display all exchange requests in foreach loop.
In the next video, the exchange request can be either accepted or rejected by the admin from the admin panel. And the same will be notified to the user via email.
Join this channel to get complete code/support:
https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw/join
- Catégories
- E commerce Amazon
Commentaires