Hello, friend, welcome back.
In a previous video for an hour increase and a decrease I have created to have this function right,
so here I have created one of the function as the increased guard, and also I have created another
function as a disc Askhat.
So now we have to do we have to define solve the world for access this function.
So now go to our app order into the app order.
That is all in order.
And here we have to create two of this.
I just simply copied.
So first of all, will be as an increase.
OK, so here we have to define as increase and also increase with our specific ID.
Right.
So into the area.
I have defined that idea.
So now we also have to do have to define our increase and then our I.B. into the vaidya.
I have created one of the functions, so that is a function name of the increase card.
So I just simply name it as an increased card and here I name it as it increased.
OK, and also there is another one for the decrease.
So just name it as a decrease.
And also that will be as an IDP game.
And then our view into the View area, I have created another one as a decrease card, so I just simply
defined as a decrease card and also I name it as a decrease.
So now we have to do we have to call both of these.
We have to call both of these in our card base.
That means here.
So now go to our card e-mail.
So into the card esteemable.
That is our you can see that the chloroplasts and that is our minus.
Right.
So now, first of all, I don't want to define that link.
That means here, that is our link.
So in that position, it shall be as a decrease one.
That means that is all minus.
So here I defined that are you all you are.
And now here we have to define our app, our app underscore order right into the app order.
So into the world.
The app order I have created as a decrease.
That is actually the minus.
So here we have to define that our decrease pattern implied.
And also to have one of the ID right here also defended the idea.
So we have to also define that idea.
It should be just like that same.
But I just copy it and here it it'll be just like our speaker and the picture area with this card item,
I do access our speaker.
OK, that means the primary key.
And also we have to do the same thing.
So we have to do the same things for our increment so that the increment that is our plus.
So here we have to define our order.
That means our partner in the app order.
I have created another one at the increase.
So that will be as increased.
Now here I just simply define our increase button.
OK, so friend also here I define that idea.
So if everything OK now, it should be work.
Now I just have to save all.
I just have to save all.
And now.
Now can see snowshoeing as the invalid syntax.
I didn't add that comma, so that is in our view and the standard or exactly the things I did wrong.
So here after that, you have to add that comma.
So maybe I misread.
I mean, sit down here, you can see I didn't add that any command here, so it should be one of the
common causes to save all.
Now, check it again.
Yeah, everything is downloading will now go here, refresh this space so no one to do and to incriminate
this product right now.
They're the ones now just implemented.
Yes, no different now it's perfectly updated and is not showing our product name, so that is actually
our product name.
So here I have defined that name sites that the item name.
So it's not showing our item name and then our quantity has been updated.
That means this product actually updated.
Right.
So now if you want to increase this one, that is our best shot as a plus.
You can see now showing us a best t shirt quantity has been ablated different incremented.
Yeah, it's perfectly now incremented and also updated our price and our total price like here are updated
again.
Now you can see some upgraded our price and also updated our total price.
And now we're going to be incremented.
So here, if you decrement, yes, you can see snow also perfectly decrement and also showing as our
product name and the quantity has been updated and then our quantities updated and prices also updated.
Right.
So every functionality actually perfectly working.
That means that the equipment and the increment and also here I define another condition, like if you
go here.
So when I work, this will be as false, then our order item removed.
That means here to be removed and then also to be elected.
This data and after this delay is to be chosen.
The message has been removed from your cart, OK?
And then it should be returned direct or Epcot based.
That means here I want to do if you click as a minus again.
Yes.
You can see now showing our product name and also suffering as the item has been removed from your card.
And you can see it's not totally gone from here.
OK, so that is actually the condition I just simply defined.
And also after that I did find another Ale's and this else means within in our total option will be
empty.
OK, that means right now they have the one product right now I just mean it.
Get a minus, minus, minus and minus.
Now you can see now selected to our home base.
Right.
So that is actually another ill's condition I have defined.
So that is a class condition.
So I hope you can well understand about it.
So there are the three condition it should be in the agreement of your quality and then it should be
elected to your quantity when it should be as empty and everything else will be as a false.
That means if there have no data in our area, then it'll be automatically linked to our home base.
So that is our condition.
So every condition is now perfectly working on here.
And you can see our card is also updated right now.
They have no product in our car area.
So for the reasons you can see is not showing us, you don't have any item in your card, right.
Safety condition actually interconnected.
So you have to actually practice it.
You have to call it.
And remember all that being basic functionality, OK?
So without coding and without practice, you cannot actually get that main concept.
So you have to study with it.
So right now, everything is not perfectly working.
If you add to cart, add to cart.
If you want to increase it, you can increment delivering the equipment.
Everything is working.
So now you know, next we do want to work for our checkout process.
OK, so how can working with the checkout process in our next video, I will show you that things with
a live example.
So thanks for watching and I'll see you in the next video.