1
00:00:00,180 --> 00:00:06,090
Hello, friend, we'll come back in our previous video we have successfully created to this class that

2
00:00:06,090 --> 00:00:09,730
is our card and our orders, and after that we migrated, right.

3
00:00:10,110 --> 00:00:13,200
So now I want to do I want to work for this item.

4
00:00:13,200 --> 00:00:18,600
That means here, if you want to add this product in our category, also, how can I add this product

5
00:00:18,600 --> 00:00:20,790
into the kind of scenario in this video?

6
00:00:20,790 --> 00:00:21,690
I will create it.

7
00:00:21,750 --> 00:00:28,140
So for doing this, we have to do we have to work in our airports are into the airport, our the area.

8
00:00:28,170 --> 00:00:30,070
OK, so into the viewfinder area.

9
00:00:30,090 --> 00:00:34,810
First of all, I want to do want to add some of the building function like into the render.

10
00:00:34,830 --> 00:00:35,430
So after the.

11
00:00:35,760 --> 00:00:44,470
I want to also get another function that is our gate and then object so that it will get object or four

12
00:00:44,490 --> 00:00:45,120
zero four.

13
00:00:45,910 --> 00:00:49,470
That means if you didn't get sorry, still the four zero four.

14
00:00:49,830 --> 00:00:54,570
So that means with this function I want to define when you re not getting any object, then this will

15
00:00:54,570 --> 00:00:56,330
be displayed as a four zero four.

16
00:00:56,340 --> 00:00:59,070
OK, so I just simply defined that function.

17
00:00:59,070 --> 00:01:05,370
That is one of the building function that is our get object R and the formula for and also I define

18
00:01:05,370 --> 00:01:08,190
the deck, OK.

19
00:01:08,190 --> 00:01:14,570
I also define another function as a redirect and also we have to do we have to define another layer

20
00:01:14,660 --> 00:01:15,930
that is clogging the grid.

21
00:01:16,500 --> 00:01:20,510
So that is our triangle into the Django.

22
00:01:20,520 --> 00:01:21,420
There is a country.

23
00:01:22,410 --> 00:01:22,770
Right.

24
00:01:22,830 --> 00:01:27,030
And I think now we should be clear to you, because as I told you, everything is a building.

25
00:01:27,030 --> 00:01:37,250
So that is our logging record that is in our Django country board and the decorator's so from the decorator's

26
00:01:37,260 --> 00:01:41,370
sound to import our logging, logging underscore reoccurred.

27
00:01:43,510 --> 00:01:45,370
So that is all looking good, right?

28
00:01:45,580 --> 00:01:52,750
And also we have to do we have to add our model so our model, in order from into the app and the app

29
00:01:52,750 --> 00:01:56,480
order through to the app order, I have created our models.

30
00:01:57,160 --> 00:02:02,370
So here we have to import our model as a card and also our order.

31
00:02:02,710 --> 00:02:04,600
So just simply define both of this.

32
00:02:04,780 --> 00:02:10,320
Redfearn and also if you want to display that message that we saw in this product will be successful.

33
00:02:10,320 --> 00:02:12,950
Legard Then I want to display that masses for the masses.

34
00:02:12,970 --> 00:02:17,550
I have already discussed about the things we do that have also on the class as in messages.

35
00:02:17,550 --> 00:02:24,150
So that is in our form and at the jungle, the country by country.

36
00:02:24,160 --> 00:02:28,360
And from here I want to import I want to import our messages.

37
00:02:30,460 --> 00:02:32,810
So better on the person of the note for you.

38
00:02:33,400 --> 00:02:35,890
So this will be for our messages.

39
00:02:37,120 --> 00:02:38,800
There will be foreign messages.

40
00:02:38,800 --> 00:02:40,840
That's actually for our model.

41
00:02:43,570 --> 00:02:45,280
Look, that will be for our model.

42
00:02:45,640 --> 00:02:46,080
Perfect.

43
00:02:46,090 --> 00:02:49,750
And that will be as a lagging indicator, which we have used a lot of the time.

44
00:02:50,080 --> 00:02:54,940
And then the really dark and the render perfect, not one to do and to create one of the functions.

45
00:02:54,970 --> 00:02:58,300
So this function will be also as a logging ticket.

46
00:02:58,930 --> 00:03:05,710
So I just simply defining with all these that they are locking the occurred and then I define the function

47
00:03:05,710 --> 00:03:07,900
name and I just name it as an add to cart.

48
00:03:08,020 --> 00:03:10,710
OK, add to cart.

49
00:03:11,380 --> 00:03:13,630
So here we have to do have the powers that exist.

50
00:03:14,170 --> 00:03:21,070
So I just simply pasdar to create and also like every product that every item to have a specific some

51
00:03:21,070 --> 00:03:21,630
of the idea.

52
00:03:21,640 --> 00:03:21,890
Right.

53
00:03:21,930 --> 00:03:25,720
So also we have to get specific this product with this idea for the regions here.

54
00:03:25,720 --> 00:03:27,650
We have to do we have to define all the idea.

55
00:03:28,030 --> 00:03:30,630
So I just name it as a picture that means the primary key.

56
00:03:31,060 --> 00:03:33,130
So now we have to do we have to check it.

57
00:03:33,130 --> 00:03:34,310
We have to check it out.

58
00:03:34,330 --> 00:03:37,340
This order is already exist or not.

59
00:03:37,400 --> 00:03:41,260
OK, that means here we have to defining each side assembly item.

60
00:03:41,860 --> 00:03:44,940
So with this item, I want to define our this object.

61
00:03:44,950 --> 00:03:47,700
That means get our object data.

62
00:03:47,740 --> 00:03:52,700
That means if we get any object data, then it will be get this object better than it should be.

63
00:03:52,720 --> 00:03:54,010
So as a future.

64
00:03:54,040 --> 00:03:57,920
So now we have to do we have to get all the other object data from our products.

65
00:03:57,930 --> 00:04:03,010
That means that is in our app shop, into the app shop, into the model area.

66
00:04:03,040 --> 00:04:04,990
I have already created that our product.

67
00:04:04,990 --> 00:04:05,180
Right.

68
00:04:05,220 --> 00:04:07,100
So now we have to also add this class.

69
00:04:07,120 --> 00:04:10,960
So we in particular that position, I want to, first of all, get all that our product.

70
00:04:11,470 --> 00:04:19,810
So here after this on the line to take over from in our app shop and there the models.

71
00:04:19,960 --> 00:04:22,240
And from here, I want to do an import.

72
00:04:22,540 --> 00:04:24,160
I want to import our product.

73
00:04:25,160 --> 00:04:26,740
So to simply input that product.

74
00:04:26,740 --> 00:04:30,400
So now with this product, I want to, first of all, get all the other objects.

75
00:04:30,610 --> 00:04:36,280
And also we have to do we have to get it by a specific one of the idea that also they have all the specific

76
00:04:36,280 --> 00:04:37,940
ideas for a specific this product.

77
00:04:38,360 --> 00:04:44,410
So now I want to do to define as a picture that is our primary key will be already Kuester Primerica.

78
00:04:44,950 --> 00:04:47,580
And then I want to do and define our order item.

79
00:04:47,650 --> 00:04:51,270
So that is our order underscore item.

80
00:04:51,290 --> 00:04:54,310
So we decided at that moment to check our cart.

81
00:04:54,830 --> 00:04:59,080
That means this product is already added into our Cardella or not.

82
00:04:59,170 --> 00:05:04,000
OK, that means here right now, if you want to party, these products automatically should be adding

83
00:05:04,390 --> 00:05:05,020
Kataria.

84
00:05:05,020 --> 00:05:09,790
And after that, if you want to add it again to first of all, it will be checking that this product

85
00:05:09,790 --> 00:05:15,060
is already added in our country and not for the reasons here I want to do and to define the criteria.

86
00:05:15,430 --> 00:05:22,110
So in our criteria also to the category of first of all, I define our all that our object so object.

87
00:05:22,120 --> 00:05:25,600
So with this object, I don't want to get our name.

88
00:05:25,960 --> 00:05:30,070
One of the function as a gate underscore or and then create.

89
00:05:30,980 --> 00:05:32,590
OK, that is a great RPA.

90
00:05:32,650 --> 00:05:34,350
So that is also one of the building function.

91
00:05:34,360 --> 00:05:35,240
I want to use it.

92
00:05:35,500 --> 00:05:41,750
So with this function, it should be actually I didn't initially get this data right then it should

93
00:05:41,770 --> 00:05:42,700
be create a new one.

94
00:05:42,730 --> 00:05:45,580
OK, that means we create a new one in our cart area.

95
00:05:45,730 --> 00:05:52,910
OK, so here I define our gate or to create and into this area I have to define our item.

96
00:05:53,290 --> 00:05:55,350
So I just simply defined that item.

97
00:05:55,390 --> 00:05:57,100
Item will be our item.

98
00:05:58,750 --> 00:06:05,290
And this item, actually, if you go to our cart into the cart model, I have already found the item.

99
00:06:05,300 --> 00:06:05,570
Right.

100
00:06:05,850 --> 00:06:09,690
So this item or I want to get so it shall be matched with this.

101
00:06:09,700 --> 00:06:12,430
So I just simply defending the item will be as item.

102
00:06:12,640 --> 00:06:15,970
And also here we have to define our user right now.

103
00:06:15,970 --> 00:06:17,990
Which user is authenticated or not.

104
00:06:18,310 --> 00:06:20,530
So here also we have to define that user.

105
00:06:20,560 --> 00:06:23,860
So just take as a user and that will be already existed.

106
00:06:23,860 --> 00:06:24,400
User, right.

107
00:06:24,430 --> 00:06:28,840
So just requested and then user and also I want to make that thing.

108
00:06:28,840 --> 00:06:30,880
So the package is false because of all.

109
00:06:30,880 --> 00:06:37,030
If you go our model in the model, you can see I define our packages so far, which is positive all

110
00:06:37,030 --> 00:06:38,270
this will be a default.

111
00:06:38,410 --> 00:06:42,010
So when this product will be totally partisan, when our payment will.

112
00:06:42,210 --> 00:06:45,100
Totally complete, then it will be the truth of the results.

113
00:06:45,120 --> 00:06:52,830
By default, I want to do and to make that our party is the party of our churches will be as a false

114
00:06:54,300 --> 00:06:54,680
occupant.

115
00:06:54,930 --> 00:06:56,370
So here I have defining it.

116
00:06:56,370 --> 00:07:02,580
And also I want to do and define our variable as in order underscore us.

117
00:07:02,850 --> 00:07:06,270
That means here I want to do want to get all that our order object.

118
00:07:06,630 --> 00:07:12,380
So with our order, that means I have already defined our order.

119
00:07:13,020 --> 00:07:14,700
That means there is a clear order side.

120
00:07:14,910 --> 00:07:18,510
So with these orders here, I want to learn to actually get all the Torah observe.

121
00:07:18,570 --> 00:07:20,900
So for the reasons here, we have to defining it.

122
00:07:20,910 --> 00:07:26,790
So with this order, I have already loaded our order so you can see the regular order class I have loaded.

123
00:07:27,090 --> 00:07:30,630
So with this order, I want to get all that objects.

124
00:07:31,260 --> 00:07:34,220
So I just simply different objects and I to do and filter it.

125
00:07:34,230 --> 00:07:41,100
So with this filter, it shall be as it used, will be, as our requested user say, to simplify the

126
00:07:41,150 --> 00:07:42,120
requested user.

127
00:07:42,120 --> 00:07:44,200
And also I define our order.

128
00:07:44,610 --> 00:07:51,020
That means if you go here into the order area C to the order area, I also make the things that false

129
00:07:51,030 --> 00:07:51,350
right.

130
00:07:51,540 --> 00:07:52,580
That means positive.

131
00:07:52,620 --> 00:07:58,500
All will be as a false and will discuss customer actually complete this total procedure with the payment.

132
00:07:58,750 --> 00:08:00,790
After that, it shall be the truth.

133
00:08:00,960 --> 00:08:03,300
OK, so now that is our order.

134
00:08:03,510 --> 00:08:05,700
And I also want to make the things as a false.

135
00:08:06,150 --> 00:08:12,720
That means this order to this order I define as that will be as a false.

136
00:08:14,040 --> 00:08:17,790
I guess I just simply make that things as a false prophet.

137
00:08:18,240 --> 00:08:25,380
That means with this filter here, I define our incomplete all that order, like if you go here like.

138
00:08:25,380 --> 00:08:25,630
Right.

139
00:08:25,710 --> 00:08:28,050
Education, purpose, I mean, just thinking about it.

140
00:08:28,050 --> 00:08:29,630
I'm just ataka this product.

141
00:08:29,730 --> 00:08:30,030
Right.

142
00:08:30,330 --> 00:08:34,530
That means this product is already at the cart in our Ebtekar idea.

143
00:08:34,770 --> 00:08:37,850
That means that is actually our product is the programming is thinking.

144
00:08:38,130 --> 00:08:42,890
So this product is already Nakata but I didn't complete that packages.

145
00:08:42,900 --> 00:08:43,220
Right.

146
00:08:43,230 --> 00:08:45,620
So that is in our incomplete on the order.

147
00:08:45,870 --> 00:08:48,560
So for the reasons here, I define that with the filter.

148
00:08:48,580 --> 00:08:52,580
That means what this user requires the user and that is our order is false.

149
00:08:52,590 --> 00:08:54,610
That means that they are in complete order.

150
00:08:54,630 --> 00:08:57,360
So here I don't want to define the condition.

151
00:08:57,360 --> 00:09:00,340
I just simply defending the if condition, if this order.

152
00:09:00,720 --> 00:09:04,060
So here I take our incomplete order into this variable.

153
00:09:04,350 --> 00:09:11,060
So if this order, that Cansino incomplete order is already exist, so I just simply cannot exist.

154
00:09:11,820 --> 00:09:16,230
So that is if this already exists in our criteria, then what exactly shall we do?

155
00:09:16,590 --> 00:09:18,060
So here we have to defining it.

156
00:09:18,070 --> 00:09:20,610
So I just simply define on another one of the order.

157
00:09:20,910 --> 00:09:24,660
So with this order here, I want to define our this variable.

158
00:09:24,660 --> 00:09:27,490
That means our order in complete order variable.

159
00:09:27,750 --> 00:09:29,040
So here are defining it.

160
00:09:29,040 --> 00:09:31,860
And here I have to do have to define the things with the zero.

161
00:09:32,040 --> 00:09:34,210
OK, that means our value will be at zero.

162
00:09:34,230 --> 00:09:37,060
So this object that all started from the zero.

163
00:09:37,080 --> 00:09:42,820
So here I have to defining it and then I want to define our live condition again if our order.

164
00:09:43,530 --> 00:09:52,740
OK, if this order in our order item, in our order items I want to do and to define the filter filter.

165
00:09:52,740 --> 00:09:53,190
Absolutely.

166
00:09:53,190 --> 00:09:54,830
Filter this with our item.

167
00:09:55,710 --> 00:09:57,060
That means the same condition.

168
00:09:57,060 --> 00:09:58,560
I have defined that the item.

169
00:09:58,590 --> 00:10:05,660
OK, so I then pointed to I will be equal equal with our item when we sell with the same item.

170
00:10:05,670 --> 00:10:10,500
And also if this item is already exist, say that simply they exist.

171
00:10:11,640 --> 00:10:12,240
OK, so.

172
00:10:12,240 --> 00:10:14,430
So it should be allowed to exist then.

173
00:10:14,430 --> 00:10:16,080
What exactly will be happen.

174
00:10:16,590 --> 00:10:21,860
Like it means if you go here right now, if you purchase this product, that means if you have to get

175
00:10:21,870 --> 00:10:25,560
these products that this product is or will be serving our criteria.

176
00:10:25,560 --> 00:10:25,860
Right.

177
00:10:25,890 --> 00:10:27,650
So here I have defining this part.

178
00:10:27,810 --> 00:10:30,190
That means our uncompleted order.

179
00:10:30,210 --> 00:10:34,230
So here I define that our order is a false that means that our incomplete product.

180
00:10:34,230 --> 00:10:34,480
Right.

181
00:10:34,710 --> 00:10:37,720
So this product is already ordered in our card area.

182
00:10:37,740 --> 00:10:43,110
So right now, if you go to again as a whole and if you go against this product and again, if you want

183
00:10:43,110 --> 00:10:45,890
to buy this product, then what exactly it should we do?

184
00:10:46,200 --> 00:10:48,630
So this product is already in our kataria.

185
00:10:48,630 --> 00:10:53,280
So then I want to do I only want to update that quantity, not that product again.

186
00:10:53,460 --> 00:10:53,830
OK.

187
00:10:54,090 --> 00:10:59,980
So only our this quantity will be updated which product I have already added in our card area.

188
00:11:00,390 --> 00:11:03,290
So here I want to define this condition.

189
00:11:03,930 --> 00:11:12,750
So in our even exist and then here I want to do and define with our this order item, order underscore

190
00:11:12,750 --> 00:11:18,050
item, this order item, our value will be studied as is the zero.

191
00:11:18,310 --> 00:11:20,870
OK, so that is zero and this zero.

192
00:11:20,880 --> 00:11:22,710
I want to update our quantity fields.

193
00:11:22,740 --> 00:11:25,570
So just simply define the quantity, OK.

194
00:11:25,590 --> 00:11:27,530
Or quantity will be updated.

195
00:11:27,540 --> 00:11:29,260
That means the plus equal one.

196
00:11:30,060 --> 00:11:30,290
OK.

197
00:11:30,600 --> 00:11:32,310
I hope you can well understand about it.

198
00:11:32,320 --> 00:11:38,580
So if you want to purchase these products the second time our only this product quantity field will

199
00:11:38,580 --> 00:11:39,270
be updated.

200
00:11:39,270 --> 00:11:41,820
Which product I have already added in our area.

201
00:11:42,240 --> 00:11:48,660
So here, for the reasons here and only updated that our quantity will be as a plus one, and then I

202
00:11:48,660 --> 00:11:55,050
want to do want to save this, so I just simply finish the order underscore item, this order item,

203
00:11:55,050 --> 00:11:56,220
I want to save it.

204
00:11:56,340 --> 00:11:58,620
So I just simply finish the safe.

205
00:12:00,120 --> 00:12:02,160
OK, I think it's very much clear to you.

206
00:12:02,310 --> 00:12:05,810
And when it's to be safe, I want to do want to return some of the message.

207
00:12:06,240 --> 00:12:13,490
So with these messages, I have already included that we have already put our messages with these messages.

208
00:12:13,500 --> 00:12:15,120
I want to show some of the message.

209
00:12:15,120 --> 00:12:21,980
So I just completely forgot the tag, the info infotech and we disinfo that it will be Bosler decreased.

210
00:12:23,070 --> 00:12:30,090
So with this request, I want to pass on the screen that as that this item quantity.

211
00:12:31,200 --> 00:12:33,810
So this item quantity was updated.

212
00:12:34,560 --> 00:12:34,920
Right.

213
00:12:35,160 --> 00:12:41,670
Because of all this product is already in our area for drizzles is only it will be updated our quantity.

214
00:12:41,670 --> 00:12:41,970
Right.

215
00:12:41,970 --> 00:12:48,230
For the reasons here I say definer that this item quantity was updated and so I just simply better defense

216
00:12:48,240 --> 00:12:49,080
is updated.

217
00:12:49,350 --> 00:12:55,960
So this product item quantities updated and then also ale's what exactly should be happen like right

218
00:12:56,010 --> 00:12:58,350
now if you want to add another new product.

219
00:12:58,440 --> 00:13:00,120
So that is actually our new product.

220
00:13:00,300 --> 00:13:05,370
So right now I want to add this product in our cart area, then what exactly is to be happen?

221
00:13:05,370 --> 00:13:07,980
So then I want to go on to to take this order.

222
00:13:07,980 --> 00:13:10,560
That means I want to take this product in our car area.

223
00:13:11,100 --> 00:13:12,540
So here we have two defining.

224
00:13:12,540 --> 00:13:14,160
It's after that else.

225
00:13:14,640 --> 00:13:19,410
So I just simply defined as ls and else what exactly will happen.

226
00:13:19,410 --> 00:13:20,490
Ls our order.

227
00:13:20,790 --> 00:13:28,320
So we disorder our order item, ok, our order, our order items.

228
00:13:28,320 --> 00:13:30,120
And now I want to do and the added.

229
00:13:30,120 --> 00:13:32,820
So I want to add it in our order item area.

230
00:13:33,330 --> 00:13:40,320
So that means our order underscore items into the order item area and to define that as a zero value.

231
00:13:40,620 --> 00:13:41,760
OK, right.

232
00:13:41,910 --> 00:13:47,610
So if this product is already existing our cart then it should be updated that quantity only and rather

233
00:13:47,610 --> 00:13:49,320
then shall we add this product again.

234
00:13:49,330 --> 00:13:51,660
So I just simply define our product again.

235
00:13:51,780 --> 00:13:56,340
OK, and here I also want to do I want to define one of the message.

236
00:13:56,340 --> 00:13:58,670
So here it should be just like that same.

237
00:13:58,710 --> 00:14:00,810
OK, you should be just like that.

238
00:14:00,810 --> 00:14:01,520
Same here.

239
00:14:01,520 --> 00:14:02,720
I defined that message.

240
00:14:02,730 --> 00:14:08,340
Message will be as an input type with this request now one to do and display some of the message as

241
00:14:08,340 --> 00:14:12,210
a this item.

242
00:14:13,460 --> 00:14:21,880
Is added to your card reference, I just simply defined that message and wouldn't be sure this message

243
00:14:21,920 --> 00:14:27,950
and after that I want to turn to redacted to some of the pace so I will defend the return redirect,

244
00:14:28,790 --> 00:14:30,230
OK, return redirect.

245
00:14:30,230 --> 00:14:36,140
And with this extended attack and to policy to our home base, that means in our app shop into the app

246
00:14:36,140 --> 00:14:39,510
shop I have already created on the cloud that is our home.

247
00:14:39,890 --> 00:14:44,480
So here I am to pass it on here and also when it will be updated.

248
00:14:44,490 --> 00:14:46,340
That means Swinish will be updated.

249
00:14:46,340 --> 00:14:47,010
That portions.

250
00:14:47,030 --> 00:14:53,180
I also after that, I want to understand it that Zeitun directives will be done to our app shop home

251
00:14:53,180 --> 00:14:59,230
base that before a new party took to this product and successfully when you should be decorator at Canaria,

252
00:14:59,450 --> 00:15:03,520
it should be directly to our home area, OK, and into the social media.

253
00:15:03,530 --> 00:15:05,260
I want to do and will display this message.

254
00:15:05,690 --> 00:15:07,630
So that is a message I have defined.

255
00:15:07,640 --> 00:15:13,820
So the owners of ablated is to be displayed rather than to be ad Dysport, I guess to be sure that this

256
00:15:14,300 --> 00:15:16,520
item is added in the card area.

257
00:15:17,090 --> 00:15:17,630
Perfect.

258
00:15:17,870 --> 00:15:21,560
And else that means in our total condition will be not work.

259
00:15:21,560 --> 00:15:23,120
That means there is actually existing one.

260
00:15:23,140 --> 00:15:25,760
So here I want to define that ale's else.

261
00:15:25,880 --> 00:15:28,180
It will be added our new order.

262
00:15:28,190 --> 00:15:30,470
That means here I want to define that order again.

263
00:15:31,070 --> 00:15:32,180
So that is our order.

264
00:15:32,180 --> 00:15:38,750
I take one of the variable and with this order, OK, with this our order class here, we have to define

265
00:15:38,750 --> 00:15:39,320
all user.

266
00:15:39,810 --> 00:15:45,020
User is the requested user so that the requested user.

267
00:15:45,230 --> 00:15:51,640
OK, and then I want to define our autosave so our order will be as safe.

268
00:15:53,030 --> 00:15:56,710
So I just simply define that are safe and wonderful border safe.

269
00:15:56,750 --> 00:16:01,940
Also we have to do we have to add it, we have to added in our order item area with our own item zero

270
00:16:02,030 --> 00:16:03,440
or shall we just like the same.

271
00:16:03,920 --> 00:16:07,850
So here I define as the order and then our order items.

272
00:16:10,940 --> 00:16:16,260
So are other items, and then I want to do and added, that means that there are fresh new order.

273
00:16:16,580 --> 00:16:23,350
So I just simply added in our order, item, order, and let's go right into the order item here.

274
00:16:23,390 --> 00:16:24,410
I just simply would.

275
00:16:24,700 --> 00:16:25,430
Well, OK.

276
00:16:25,850 --> 00:16:31,940
And after that, I and also show some of the message so that the message is I want to use that info

277
00:16:31,940 --> 00:16:38,960
tag and with the infotech area and the request and the request to be able to pass on the message that

278
00:16:38,960 --> 00:16:45,210
this item is added to your card.

279
00:16:46,700 --> 00:16:49,280
So this will be this type of message be display.

280
00:16:49,280 --> 00:16:56,090
And after that, I want to return it again, the redirect, and then it should be developing our app

281
00:16:56,090 --> 00:16:59,100
shop into the app shop on base.

282
00:16:59,120 --> 00:17:00,560
So to simply defend that home.

283
00:17:01,130 --> 00:17:03,150
So that's all we have to do.

284
00:17:03,170 --> 00:17:06,200
OK, so here we just defined find that we have this condition.

285
00:17:06,200 --> 00:17:12,080
If our quantity that we saw in this product is already added in our cart, then it should be updated.

286
00:17:12,080 --> 00:17:17,250
That quantity aless will be added our new product and Ayles, that is actually our if condition and

287
00:17:17,390 --> 00:17:20,580
or anything else aless will be added to the same order again.

288
00:17:20,900 --> 00:17:25,300
So I just simply said this order to your card area and then it shall be sure short.

289
00:17:25,310 --> 00:17:28,220
So the message is that this is added in your card.

290
00:17:28,760 --> 00:17:29,230
Perfect.

291
00:17:29,510 --> 00:17:32,630
So now we have to do we have to create one of the rules for this one.

292
00:17:32,630 --> 00:17:37,970
And after that, we have to add that action in our pace to better and to do and to continue this process.

293
00:17:37,970 --> 00:17:40,930
You know, next video, I will show you that things with a live example.

294
00:17:41,420 --> 00:17:44,600
So thanks for watching and I'll see you in the next video.
