1
00:00:00,180 --> 00:00:00,960
Hello, friend.

2
00:00:00,990 --> 00:00:07,200
We'll come back in a previous video, we successfully lowered our forms, that means our check out from

3
00:00:07,200 --> 00:00:08,400
and also from here.

4
00:00:08,400 --> 00:00:14,460
If you want to update any addresses and the post code and any other cities and countries, you can update

5
00:00:14,460 --> 00:00:14,620
it.

6
00:00:15,060 --> 00:00:19,040
So right now, I want to do and visible all the talk card product in the car.

7
00:00:19,350 --> 00:00:22,350
You that have some the product and also there is a product quantity.

8
00:00:22,650 --> 00:00:26,490
And now I want to do want to get all that our product name or the quantity.

9
00:00:26,490 --> 00:00:32,110
And also if you want to show that our total amount that you have to pay before that, check out.

10
00:00:32,130 --> 00:00:33,940
So here I want to look at it, OK.

11
00:00:34,290 --> 00:00:37,400
So for the business here, I have already on the call three.

12
00:00:37,410 --> 00:00:39,750
So in the country area, I want to display it.

13
00:00:40,050 --> 00:00:46,140
So for doing this, we have to do we have to work, in our view, to now go to our view that we in our

14
00:00:46,150 --> 00:00:47,780
opinion and our views.

15
00:00:47,800 --> 00:00:48,050
Right.

16
00:00:48,450 --> 00:00:54,060
So here so when this data will be saved and it should be sure that message and after this, I want to

17
00:00:54,060 --> 00:00:57,280
do I want to pass all the tower, all the data.

18
00:00:57,300 --> 00:01:04,920
So here in particular, that position I just take as all the queries that this order underscore is OK,

19
00:01:05,280 --> 00:01:08,960
sort of queries here I want to do and to define our order model.

20
00:01:09,720 --> 00:01:12,450
So for the results here, I have already loaded our order.

21
00:01:12,450 --> 00:01:12,840
Right.

22
00:01:12,840 --> 00:01:14,150
There is order and the cart.

23
00:01:14,310 --> 00:01:17,580
So now with this order will get all that our order details.

24
00:01:17,730 --> 00:01:20,220
So that is all the order information.

25
00:01:20,220 --> 00:01:22,320
So I only find all this order.

26
00:01:22,680 --> 00:01:30,270
I want to define all that our order object so all the lower order objects will be the filter and the

27
00:01:30,270 --> 00:01:31,110
filter area.

28
00:01:31,120 --> 00:01:35,090
Here we have to do we have to pass our user user is the to the user.

29
00:01:35,100 --> 00:01:41,480
It's not that the requested user and also our order will be at the false right.

30
00:01:41,760 --> 00:01:43,260
So I have already discussed about that.

31
00:01:43,260 --> 00:01:47,940
Things with you that will be our order and order will will be as a false.

32
00:01:48,360 --> 00:01:51,260
That means that is actually our unpaid all that order.

33
00:01:51,270 --> 00:01:51,660
Right.

34
00:01:51,680 --> 00:01:55,130
So our unpaid order is order feel that is are false.

35
00:01:55,140 --> 00:01:56,310
I just simply defining it.

36
00:01:56,700 --> 00:02:00,180
And after that I want to do I want to get all the our order items.

37
00:02:00,180 --> 00:02:01,530
So if you want to get it.

38
00:02:01,530 --> 00:02:06,570
So I just take all the variable as an order item, I can order items.

39
00:02:06,570 --> 00:02:11,840
And now with this order, so here I have already get all that our pending product order.

40
00:02:11,850 --> 00:02:13,720
So do the pending product orders.

41
00:02:13,740 --> 00:02:15,600
I just take that thing with this variable.

42
00:02:15,600 --> 00:02:16,830
Sit down here with this.

43
00:02:16,830 --> 00:02:19,890
We have do we have to convert it with our object?

44
00:02:20,340 --> 00:02:22,140
So that is our object.

45
00:02:22,140 --> 00:02:24,720
And now I have to define our order items.

46
00:02:24,720 --> 00:02:30,590
All that means if you go to our order, that is in our order.

47
00:02:31,230 --> 00:02:36,570
If you go to that model and the model area, if you go to that, our order, that is our order items.

48
00:02:36,570 --> 00:02:36,790
Right.

49
00:02:37,080 --> 00:02:40,260
So with these other items I want to do and to get all that our order.

50
00:02:40,830 --> 00:02:43,800
So for the reasons here, we have to do, we have to defining it.

51
00:02:43,950 --> 00:02:50,340
So here I just have to define order items and then our all the total items that are simply defined as

52
00:02:50,340 --> 00:02:51,690
all right.

53
00:02:51,690 --> 00:02:58,260
Fit and then I don't want to also I get our total amount that we in our cart area.

54
00:02:58,260 --> 00:03:01,530
That is our total amount for the total amount I have already created.

55
00:03:01,530 --> 00:03:07,770
One of the function, I think you remember it, if you go to our model in the model area, I have already

56
00:03:07,770 --> 00:03:10,580
created one of the function as a total stright.

57
00:03:10,590 --> 00:03:16,110
So with these totals we will get our total order amount so no one to do to get it.

58
00:03:16,710 --> 00:03:18,180
So in our views.

59
00:03:18,540 --> 00:03:21,860
So after this, after this, I name it as an order total.

60
00:03:22,560 --> 00:03:24,350
OK, name it is order total.

61
00:03:25,590 --> 00:03:29,780
So with this order total, I want to display our all that order.

62
00:03:29,940 --> 00:03:31,820
That means all that are pending order.

63
00:03:32,490 --> 00:03:33,080
Sorry.

64
00:03:33,090 --> 00:03:39,240
So all that our pending order that is are all the pending order and the spending order.

65
00:03:39,240 --> 00:03:41,730
We have to define our object as a zero object.

66
00:03:41,910 --> 00:03:45,770
And then I want to do and to get our all that order function.

67
00:03:45,780 --> 00:03:49,660
That means all that our order function I have defined with the order totals.

68
00:03:49,680 --> 00:03:52,350
That means our total order amount will be visible.

69
00:03:52,950 --> 00:03:56,940
So no, I just simply defined our gate totals amount.

70
00:03:57,180 --> 00:04:00,030
OK, and also now we have to do we have to pass it.

71
00:04:00,030 --> 00:04:01,910
We have to pass our order item.

72
00:04:01,930 --> 00:04:09,660
So after this OK, after this I just simply pass our order item to our checkout base.

73
00:04:09,930 --> 00:04:15,170
And also I want to do and pass our total amount that the total amount.

74
00:04:15,960 --> 00:04:19,080
So after this I want to pass our total amount.

75
00:04:19,770 --> 00:04:21,350
So that is our total amount.

76
00:04:21,570 --> 00:04:27,200
So now we can actually display all that our order item and also we can display our total amount.

77
00:04:27,210 --> 00:04:27,530
Right.

78
00:04:27,780 --> 00:04:30,290
So now we have to do have to work in our displays.

79
00:04:30,300 --> 00:04:31,530
That means our checkout notice.

80
00:04:31,530 --> 00:04:32,160
Tamalpais.

81
00:04:32,160 --> 00:04:34,560
So now go to our check, Autodesk Tamalpais.

82
00:04:35,010 --> 00:04:37,800
And here I have already created on the call MDT.

83
00:04:38,220 --> 00:04:39,750
So here I want to visible it.

84
00:04:39,750 --> 00:04:45,590
So for doing this, first of all, I take one of the div, I take all the Dave and here I define of

85
00:04:45,600 --> 00:04:48,000
the class name as a card.

86
00:04:48,900 --> 00:04:52,920
So here I define the card class and then our dev body.

87
00:04:53,880 --> 00:04:59,910
That means the three card body guard and then body suit with the card for the area I want to do.

88
00:05:00,200 --> 00:05:06,300
Display one of that you will, because heroes, we have to add on the for loop, so into the evil area.

89
00:05:06,350 --> 00:05:08,860
I better be from the class for this one.

90
00:05:09,800 --> 00:05:13,160
So class will be the least group, OK, at least.

91
00:05:13,160 --> 00:05:17,390
And then group this group and then the last group plus.

92
00:05:21,380 --> 00:05:27,590
Group and influence say they're simply defending that class and after that, here we have to define

93
00:05:27,590 --> 00:05:28,670
all the for loop.

94
00:05:28,670 --> 00:05:36,390
So here that will be as a four and then I have get all the other items right.

95
00:05:36,410 --> 00:05:39,740
So from here, I get all the other items with the orders.

96
00:05:39,770 --> 00:05:41,740
That means that our order items.

97
00:05:42,230 --> 00:05:42,550
Right.

98
00:05:42,580 --> 00:05:45,470
So now I just simply defining it.

99
00:05:45,470 --> 00:05:47,490
That will be as orders item.

100
00:05:47,520 --> 00:05:54,590
So here I name it as the order underscore item and and in our order items.

101
00:05:54,740 --> 00:05:55,120
Right.

102
00:05:55,520 --> 00:05:57,290
And also we have to do we have to finish it.

103
00:05:57,410 --> 00:06:00,730
So I just simply finish our four loop.

104
00:06:00,740 --> 00:06:08,090
That means that and for so just simply and this for and in particular that area be one of the L.A. and

105
00:06:08,240 --> 00:06:10,520
the L.A. area, I define the class.

106
00:06:11,450 --> 00:06:13,700
So class will be as a list of item.

107
00:06:14,600 --> 00:06:15,980
So list to group.

108
00:06:17,630 --> 00:06:21,200
OK, newsgroup item and to this class area.

109
00:06:21,200 --> 00:06:24,020
I want to display our total things.

110
00:06:24,020 --> 00:06:28,380
That means here I want to display our with this order item.

111
00:06:28,400 --> 00:06:33,030
So with this order item, I want to display our product name.

112
00:06:33,080 --> 00:06:36,550
That means that is in our product.

113
00:06:36,650 --> 00:06:39,860
So if you go to our cart, so that is your card.

114
00:06:39,860 --> 00:06:46,040
And then if you go to our app shop and that is our model into the product here, you can see that actually

115
00:06:46,100 --> 00:06:46,980
our product name.

116
00:06:47,390 --> 00:06:49,880
So no one to do and actually access out this name.

117
00:06:49,880 --> 00:06:53,240
So if you want to access it, we have to access it with our item name.

118
00:06:53,390 --> 00:06:59,300
That means here you can see that item through this item I have for I define that for any class as a

119
00:06:59,300 --> 00:07:03,860
product, that means this will be elected to our this product and the product.

120
00:07:03,860 --> 00:07:05,150
I want to display this name.

121
00:07:05,180 --> 00:07:07,360
OK, so now we have to defining it.

122
00:07:07,370 --> 00:07:08,930
So we have to defining it item.

123
00:07:09,530 --> 00:07:16,330
So here so here I define as the order item will be our item and then our item name.

124
00:07:16,610 --> 00:07:16,990
Right.

125
00:07:17,330 --> 00:07:19,560
And also here I want to display that quantity.

126
00:07:19,580 --> 00:07:26,480
So here I define as equal to and also with this order item.

127
00:07:27,710 --> 00:07:30,980
So with this sort of item, I want to display our quantity.

128
00:07:30,990 --> 00:07:34,040
So that is our quantity.

129
00:07:34,190 --> 00:07:35,480
That is in our current area.

130
00:07:35,480 --> 00:07:36,380
That is our quantity.

131
00:07:36,380 --> 00:07:36,650
Right.

132
00:07:36,920 --> 00:07:38,720
So now I just simply copy it.

133
00:07:39,230 --> 00:07:42,080
And here our order item into the order.

134
00:07:42,080 --> 00:07:49,550
I definitely have to define our quantity that this will be also showing our all the quantity so perfect.

135
00:07:49,580 --> 00:07:52,760
Now, if you click the save all, I just need to save all.

136
00:07:53,360 --> 00:07:55,040
No, refresh it.

137
00:07:56,920 --> 00:07:58,350
Now go to our check out.

138
00:07:59,380 --> 00:08:03,850
Yes, you can see now they have the two products and now our two product is visible, right?

139
00:08:03,850 --> 00:08:07,410
That is our one product and also still showing as a quantity.

140
00:08:07,750 --> 00:08:11,470
So there are two quantity and that is our product name and there is a quantity.

141
00:08:11,830 --> 00:08:13,940
If we go to our cart, you can see the reservoir.

142
00:08:14,380 --> 00:08:20,830
I am just a good programmer to this teacher as a two quantity for the reasons very consistent showing

143
00:08:20,830 --> 00:08:22,570
as to quantity better.

144
00:08:22,630 --> 00:08:26,680
I want to do after this, after this definitive quantity.

145
00:08:27,040 --> 00:08:29,000
You do like that.

146
00:08:29,020 --> 00:08:31,480
It will be better save all.

147
00:08:32,690 --> 00:08:38,690
Refreshing to you, you can see the on quantity and now also on the visible, our total amount, that

148
00:08:38,690 --> 00:08:42,230
means the total prize among the visible.

149
00:08:42,680 --> 00:08:44,340
So that is our equals.

150
00:08:44,340 --> 00:08:46,050
So that is our Bhave.

151
00:08:46,640 --> 00:08:51,490
So after this date, OK, after this live here, I want to do undertake another day.

152
00:08:51,500 --> 00:08:59,600
If I take another day and define that as a cartful to let down the middle class as a future.

153
00:09:00,560 --> 00:09:10,600
And then here I'd be for the spin and the spin I defend the class and class will be as if not a float

154
00:09:10,610 --> 00:09:11,060
left.

155
00:09:12,990 --> 00:09:14,330
That means it be displayed.

156
00:09:14,330 --> 00:09:19,700
On the left are the order order total.

157
00:09:20,870 --> 00:09:22,460
So the total only visible.

158
00:09:22,460 --> 00:09:31,850
And also after that I take another spin and with the spin area I define that class a class will be as

159
00:09:31,850 --> 00:09:32,420
a float.

160
00:09:35,270 --> 00:09:44,810
Flawed, right, and then here shall be displayed our total price, that means, in our view here from

161
00:09:44,810 --> 00:09:46,730
here, I pass our total order.

162
00:09:46,760 --> 00:09:49,100
That means actually with this order total.

163
00:09:49,820 --> 00:09:55,310
So, no, I just simply pissed that our order total and also here refused to define that two decimal

164
00:09:55,310 --> 00:09:55,760
correctly.

165
00:09:55,760 --> 00:10:01,330
You can define it with the filter as a float float and the format.

166
00:10:01,340 --> 00:10:07,270
So the simply defined as a float format will be added to decimal characters are just simply defined

167
00:10:07,280 --> 00:10:13,360
as the two decimal character print and also that price get around to 200 different of the dollar sign

168
00:10:13,520 --> 00:10:16,790
that it will be our dollar legal to save all.

169
00:10:17,940 --> 00:10:18,980
Now, refreshing.

170
00:10:19,450 --> 00:10:25,410
Yeah, with perfectly consistent, perfectly display our total aura, that means our order total and

171
00:10:25,410 --> 00:10:28,230
with our order total, total is visible, right.

172
00:10:28,550 --> 00:10:30,950
So better candidate to make the things as a bold.

173
00:10:31,830 --> 00:10:38,150
That means here I take one of the bettag and the area I want to call it.

174
00:10:38,160 --> 00:10:39,280
And here I passed it.

175
00:10:39,300 --> 00:10:43,980
And also I take another V-Tech and into the beta area.

176
00:10:43,980 --> 00:10:45,020
I just got it.

177
00:10:45,540 --> 00:10:52,410
And here I just simply pissed it not only to save all and no, refresh it.

178
00:10:54,020 --> 00:10:55,190
Yeah, it's not perfect.

179
00:10:55,220 --> 00:11:00,530
So right now they have the two product in our cart, right, so that the two product is just a good

180
00:11:00,530 --> 00:11:08,480
programmer and programmers thinking now if you go like this product, I want to take a look at the apple

181
00:11:08,480 --> 00:11:09,350
cart now.

182
00:11:09,380 --> 00:11:10,940
You can see our card is updated.

183
00:11:10,940 --> 00:11:15,710
Go here right now and have the three product go to the check out here.

184
00:11:15,800 --> 00:11:21,260
You can see so perfectly showing our this product and also showing our quantity filled up with this

185
00:11:21,260 --> 00:11:21,820
quantity.

186
00:11:22,400 --> 00:11:26,730
I just added this quantity wanted is updated for our best t shirt.

187
00:11:27,290 --> 00:11:28,700
Go to the check out here.

188
00:11:28,760 --> 00:11:30,470
You can see it's now updated that quantity.

189
00:11:30,860 --> 00:11:34,220
So friend, here I am not focusing to create some of the design.

190
00:11:34,230 --> 00:11:39,540
So if you already knew about the design function, then you can designing it as pretty much right.

191
00:11:39,830 --> 00:11:46,190
So now here we successfully updated our all the shipping addresses and that is our all the product card

192
00:11:46,190 --> 00:11:50,120
quantity and then the regular order total amount is also visible.

193
00:11:50,550 --> 00:11:53,260
So now we have to do we have to add that payment possible.

194
00:11:53,630 --> 00:11:54,620
Can do that work.

195
00:11:54,620 --> 00:11:57,800
In our next video, I will show that things with a live example.

196
00:11:58,340 --> 00:12:01,610
So thanks for watching and I will see you in the next video.
