In Part-212 of the Laravel E-commerce series, we will continue working on Return Order functionality like Amazon.
In this video, we will display the return 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 "Return Requests" link at the admin sidebar.
2) Create Route:-
Create Get route for return requests in web.php file like below:-
// Return Requests
Route::get('return-requests','OrdersController@returnRequests');
3) Create returnRequests Function :-
Now create returnRequests Function at OrdersController located at Admin folder to get all return requests placed by the users.
4) Create return_requests.blade.php file:-
Now create the return_requests.blade.php file at /resources/views/admin/orders/ path where we will display all return requests in foreach loop.
In the next video, the return 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 return 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 "Return Requests" link at the admin sidebar.
2) Create Route:-
Create Get route for return requests in web.php file like below:-
// Return Requests
Route::get('return-requests','OrdersController@returnRequests');
3) Create returnRequests Function :-
Now create returnRequests Function at OrdersController located at Admin folder to get all return requests placed by the users.
4) Create return_requests.blade.php file:-
Now create the return_requests.blade.php file at /resources/views/admin/orders/ path where we will display all return requests in foreach loop.
In the next video, the return 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