Hello, friend, welcome back.
Indecision will create the basic e-commerce Web site with using the Python channel, and we will build
it from scratch.
So before starting this session, I want to share with you how this project will be looked like.
Like here you can see that is our home page and the homepage, Aleut, all that our features Portakabins
is visible.
So that is all that our features products are right now for education purposes.
They have the only five products and they're going to see the images that mean the product images,
the product name.
That is a product price and that is our old price.
OK, and also if you reelected to retail space.
So that is our product, retail space and the product details page here.
You can see that is a product images visible product title that is a product price and which category
that is category name is also visible that they have some of the short description and that is our total
full description.
OK, so for irrigation purposes, I'm using some of the demo text on here and also to have the add to
cart button.
So right now I'm not logging.
So if you click on the article, you can see redirected to the home page.
Because of all, without logging, you cannot patches any product.
So if you want to participate, Miles, you have to log in.
And also they have the sign up option.
So if you want to create some of the new user that you can some of the new users.
So that is that Jianguo default authentication system.
And also there is a logging.
And here also you can see there is an email and the power to by default in Django that is actually another
feel as a user name so you can change it and how can make the things that you demand.
I will show you that things with a live example.
So here I have added that email, not that user name.
So by default, that is actually the user name.
So how can change it?
I will show you.
So that is our email address.
Right now.
I'm logging with the audience at Gmail dot com, so I have already created this user.
So if you want to create a user, you can create it from the sign of peace.
Right?
So that is our user name.
I just simply define our email address and the password.
So to simply define our password, as you deem, one, two, three, four, five.
And now if you click is a logging, now you can see that we can successfully log in.
So there is also option for the profile.
That is a user name.
That is a full name that is addressed, the CTG called Country and the Phone.
So if you want to update that user details that you can update that user details from this area.
And also here, how can display some of the notification message like here I want to update as our full
name.
So I name it as a ghazarian one.
And those figures are safe now, consistent also showing some of the notification.
That is a profile updated successfully so you can display this type up.
One of the notification messages in Django.
I will show you that things with a live example.
So I know if you want to practice on the product like here, I purchased this product and click on the
add to Cart.
You can see our card is now totally updated.
And also I want to take another one.
I take another one.
So that is also updated.
So now if you go to the store card with the card area, you can see it's not perfectly visible.
Our card, all the product name, there is a quantity and there is our product price and there is a
remove option and there is our total unit price and there is our total price.
So if you want to remove these things from your card, you can see it's also showing of the message
that this item was removed from your card.
OK, and also from here, if you want to increment it, you can increment that quantity and our prices
will all be updated and our total amount also will be updated.
Sulkin, display this step up on the notification when it should be quantity updated.
I will show you.
And also, if you want to reduce this quantity, you can see the quantities reduced.
And that is our number one as there is one.
And also here I define one of the validations when our discard will be as a zero.
That means this card will be as empty right then automatically it should be declared to our home base.
Like if you click as a minus again, you can see it's perfectly adequate to our home page, which shows
on the message as if you don't have any item in your card.
OK, so can we finally step up one of the validation step by step, I will show you so I know what to
do and to purchase some of the product.
So I just simply added that up to card.
I also added that add to cart to the card option.
So from here, if you want to remove it, you can remove it.
Right.
So now in two increments of the product like here, I incremented, I want to take this product closer
to quantity and that is our one quantity and that is automatically it will be calculated.
Our this data that is our total amount as a one forty five.
OK, so now if you click on the continue shipping then you can return to your home page and you can
add multiple product if you want to buy it.
So if you go to that card again, if you go to that process to check out and order the process to check
out also that have some of the validation I have added on here like.
If you make that feel as empty, that is actually our shipping address, if you can get the save address
now consistent, showing some of the message as a please fill up all that information to make a payment.
That means without providing that your shipping details, you cannot payment.
OK, so here, if you put the country name as a saver, this you can see now all the our field is fill
up, that the shipping address is saved.
And now you can see it's not showing our button for make that payment.
OK, and also showing our total product name, that is a product name and also showing the quantity.
And that is our another product and that is our quantity and also not display our order total and that
is our order.
Total amount of difference.
How can create this step up?
One of the validation I will show you, and then there is a payment.
And here I will also show you how I can add that third party API for your payment.
So right now I'm using that SSL e-commerce, one of the payment method and the Bermel our Visa card.
So here, if you put your card name, that is a card date and everything.
If you put it and you can see it's also showing our appropriate amount.
So that is actually our payment.
Right.
You can see it's not perfectly visible, our display amount.
And also there is a mobile banking if you go here and it is perfectly visible, our our mounted on here,
there's our invoice number is generated.
That description is generated.
So right now here I'm using one of the download account.
OK, and also that is that OTP software, which will be as a success.
You can see it's not perfectly showing as your payment completed successfully and win this, our payment
is completed automatically, our card will be as empty.
And now if you go to your orders and you can see right now, it's also showing that already and they
are cut out for that amount and also showing that the status of a friend is very much interactive.
One of the things like here, I want to add another one.
I just want to buy these products so that they'll buy these products, I just simply buy it.
You can see that our product is in our area also here.
If you want to update that quantity, you can update it if you go to that process to check out.
So first of all, here it will be check your shipping details.
Everything is perfectly OK or not.
And then after that, you can make your payment.
Right now I have our payment as a 40.
You can see this perfectly getting that our 40 amount.
And also from here, if your payment is felt like I just make that as a failed, you can see snowshoeing
as your payment failed.
Please try again.
OK.
Also will be displayed this step with the notification and after that, five seconds automatically leaves
to be to your home base.
So here you don't need to do anything automatically.
Your page will be refreshed and then it should be addicted to your home base so you can do this work.
I step by step, I will show you.
So right now, I don't want to make at this product as a purchase like right now our product price as
a 40.
So I want to increase it.
So I want to increase it as a 60.
OK, so that is actually our imagination.
So that is our product name go to our process.
So that is our total amount as a 60.
Make a payment.
You can see suffering as a 60, so now I want to make as a right now, I want to add another payment
gateway so that is our success.
So I just take it you can see our payment completed successfully and also our card is updated.
And if you go to your orders and the orders are you can see I have buy this product as a three quantity.
So that is of our quantities visible.
And that is our product name is visible right now.
That is our process.
Your order.
OK.
And so how can we step up on the simple with a lot of the functionality with using that Django Python
is step by step.
I will show you that things with the live example.
And after that, if you click as a log out and you can see who of the logo, then it will be shows on
the message that you are locked out.
OK, so we can display this type of the notification.
I will show you everything from the scratch.
I hope you will like it very much.
And I am really excited to share my experience with you.
So if you are already there, let's get started.