All right, so let's set up the totals next and first, of course, I'm going to jump to that component.
And as far as the imports we have reac, we have stalled components.
We have used car context because I would want to grab the total amount and the shipping fee from my
contacts.
And remember, since we passed in the whole state, we should have access to that.
Then there's also going to be a user context and I'm going to cover that once we get there, more about
it.
And and here we have for my price, because, of course, remember that since we have everything in
a sense, we would want to format the price as well.
And then, of course, there is a link component, because if we take a look at the complete project,
either this is going to direct us a login if we haven't logged in or we have option to go to the checkout
if, of course, we have already logged in.
So I'll start with my return where I'm going to set up my wrapper.
And as far as the totals, we're just going to set up our div and go back here.
So let's set up there.
Now, it's not going to have class is just going to have a article.
So let's set up our article over here and then instead of the article, let's go with a heading five
and we'll just type subtotal.
So some kind of text.
And then in spite of the span, I would want to format the price.
So let's set up our expression.
Format price, and then, of course, will pass in the total amount.
Now, before I do that, of course, I would need to get it from used car context accounts and the total
amount, total amount and the shipping fee.
So those are two things that we're looking for and used car complex.
And then, of course, we invokana so now in the total price, I'll pass in total amount, which of
course at the moment will be zero.
So don't freak out.
Of course, eventually we will set up the functionality where we count how many items and we have the
card and then we can nicely display what is the total amount of items.
And then we'll set up the paragraph.
Pretty much the same structure will have some kind of text.
And then we'll set up the span where we have our expression for my price, and then in this case, of
course, we're passing in the shipping fee, we say red line right after the paragraph.
There's going to be a horizontal line like so we say that one as well.
And then we have a heading for with our total.
So we go with order total.
Again, the same thing.
We just go with spane and then we form that price format for Matt Price.
And in this case, I would want to pass in the total amount plus the shipping fee.
So both of them.
What's this one?
And of course, there is going to be a total.
And then lastly, right next to the article, but still within there, I'm going to set up a link for
the time being back to the checkout page.
So say here's a link to and then we need to provide a value.
So check out like so our class name of Beaton.
And as far as the text, let's just.
Right.
Proceed to check out.
OK, beautiful, we save it and we should have well, that should do it for court totals and deal with
the big beast with a court item.