#210 Laravel 8 E-commerce | Return Order Process (II) | Amazon Return Order like Functionality

Votre vidéo commence dans 20
Passer (5)
la méthode pour écrire des pages qui convertissent

Merci ! Partagez avec vos amis !

Vous avez aimé cette vidéo, merci de votre vote !

Ajoutées by admin
94 Vues
In Part-210 of the Laravel E-commerce series, we will continue working on Return Order functionality like Amazon.

In this video, we will update the user order detail page to show the return link and will create the return modal to show the return form almost similar to Amazon.

1) Update return_requests table :-
First of all, we will make one change in the return_requests table. We will replace product_id with the product_size column as we will pass product_code and product_size when the user makes the return request.

2) Update order_details.blade.php file:-
We will create a "Return Order" link button that will be visible only when the order gets delivered.

We will open the Return modal in which we will create the Return form including the option to select a product, the reason for a return like Amazon and comment.

3) Update front_script.js file:-
Add jQuery script to confirm to return the order at front_script.js file.

4) Create Route:-
Create GET/POST route for order return in web.php file like below:-

// User Order Return
Route::match(['get','post'],'/orders/{id}/return','OrdersController@orderReturn');

5) Create orderReturn function :-
Create orderReturn function in which we will add a return request for the ordered product placed by the user.

To be continued...

Join this channel to get complete code/support :
https://www.youtube.com/channel/UCExO2i-tLU1NyVZD6zOJQlw/join
Catégories
E commerce Amazon

Ajouter un commentaire

Connectez-vous ou inscrivez-vous pour poster un commentaire.

Commentaires

Soyez le premier à commenter cette vidéo.