1
00:00:00,360 --> 00:00:06,000
And after that, we are going to take our studies and function for the second product in order to add

2
00:00:06,000 --> 00:00:15,980
all this thing, and this is is this process, we OK for the second product now?

3
00:00:15,990 --> 00:00:22,320
We are going to create we are going to create also an array for our products.

4
00:00:22,530 --> 00:00:24,810
And we are going to ask now this question.

5
00:00:24,810 --> 00:00:31,520
We are going to say if this items in this case, these items is not any more recruits because you give

6
00:00:31,560 --> 00:00:35,880
already something to Ricard's and this condition is going to be equal to true.

7
00:00:36,210 --> 00:00:42,390
And we are going to agree now in this if condition, in this if condition.

8
00:00:42,660 --> 00:00:48,200
And we are going to call this function, this PSV function regular is OK.

9
00:00:48,530 --> 00:00:49,980
We we're going to ask this question.

10
00:00:49,980 --> 00:00:57,290
For example, the first products I took is a Strawbery, OK, I it's Robair.

11
00:00:57,630 --> 00:01:03,920
And the second time I want to add something to please the Tumut DeFries product I want to add for example,

12
00:01:03,930 --> 00:01:10,530
is too much and I want to add seven times and I'm going to click also and I click again through the

13
00:01:10,530 --> 00:01:11,060
format.

14
00:01:11,100 --> 00:01:17,490
OK, so I took to cut a single product by two times to quantity.

15
00:01:17,670 --> 00:01:25,290
OK, so we are going to be asking this question here inside because while having a single product we

16
00:01:25,290 --> 00:01:29,180
have, we must also have a single item.

17
00:01:29,430 --> 00:01:37,260
But in that same can have several quantities or several quantities written where we are asking this

18
00:01:37,260 --> 00:01:45,060
question, if every creek exists, if we have already a product idea with this product, which has been

19
00:01:45,060 --> 00:01:46,090
already added.

20
00:01:46,260 --> 00:01:49,700
OK, and here we have this item.

21
00:01:49,710 --> 00:01:56,400
So we are going to say if areca exists, OK, if this item is already there, that means we have the

22
00:01:56,400 --> 00:01:59,160
product price, which is the same, the product image.

23
00:01:59,160 --> 00:02:05,810
And we want to say the storage item is going to be equal to these items.

24
00:02:05,880 --> 00:02:06,900
OK, products.

25
00:02:07,890 --> 00:02:14,370
OK, we're going to say all these products that we have already saved here, just here it is the same

26
00:02:14,370 --> 00:02:16,620
product that we want also to add.

27
00:02:16,770 --> 00:02:24,730
And we are going through all the right, OK, in order to in order to have a in order another array.

28
00:02:24,810 --> 00:02:31,740
OK, the index, we have this a a decided OK, this value.

29
00:02:31,890 --> 00:02:36,990
We are going just all the right to overwrite this in our story item.

30
00:02:37,020 --> 00:02:42,120
So reasonable we can see here and we are going to increment the quantity is equal to two.

31
00:02:42,280 --> 00:02:44,270
OK, we are going to get all this.

32
00:02:44,670 --> 00:02:45,610
Take all this.

33
00:02:45,750 --> 00:02:47,610
Can't take all this.

34
00:02:47,610 --> 00:02:54,990
And we are going to come up here, say also this item we are is going to be equal to story item with

35
00:02:54,990 --> 00:02:57,270
the same main item.

36
00:02:57,270 --> 00:02:58,140
So I think that's it.

37
00:02:58,140 --> 00:03:02,490
Can it can be it whether

38
00:03:04,890 --> 00:03:13,240
it can be quite difficult, but you can make more exercise is going to be very simple.

39
00:03:13,260 --> 00:03:20,160
So and here the thing we're going to do here is to make DG session gets cut in order to display what

40
00:03:20,400 --> 00:03:24,450
I have was clicking, for example, on is this is your product.

41
00:03:24,750 --> 00:03:27,360
You know, there two ladies show what you want to mean.

42
00:03:27,360 --> 00:03:29,100
So let us click on this.

43
00:03:29,100 --> 00:03:29,760
Click here.

44
00:03:34,230 --> 00:03:34,860
Or is it?

45
00:03:35,800 --> 00:03:36,690
Seishin.

46
00:03:36,820 --> 00:03:41,530
OK, so here we can see are calling the session, we must also.

47
00:03:43,320 --> 00:03:45,000
Say, U.S..

48
00:03:48,340 --> 00:03:56,110
OK, U.S., so do not forget this, because we are calling this session plus your next year or so to.

49
00:03:58,210 --> 00:03:59,590
Position there.

50
00:03:59,670 --> 00:04:01,360
OK, so I click here.

51
00:04:02,230 --> 00:04:03,100
OK, very good.

52
00:04:03,130 --> 00:04:08,430
OK, so you're going to see you have this, OK, this is our items in pleura.

53
00:04:08,560 --> 00:04:14,440
We have total quantity, which is equal to what, a total price, which is equal to a 100.

54
00:04:14,590 --> 00:04:20,640
This is the first product that we have just added every item in our records.

55
00:04:20,730 --> 00:04:27,070
OK, and if we try to make a record, the PSP you're going to see we have in these items.

56
00:04:27,100 --> 00:04:29,530
OK, we have this this week idee.

57
00:04:29,830 --> 00:04:35,030
We have eRate we have this index and we are going to have our story item about the tomato.

58
00:04:35,230 --> 00:04:40,460
OK, and if we try to click here to see you're going to see we have an error here.

59
00:04:40,600 --> 00:04:46,270
OK, if we try to click here, you're going to see we have this index which is equal to.

60
00:04:47,750 --> 00:04:51,570
We have three, OK, because they can still have the products.

61
00:04:51,690 --> 00:04:58,330
I mean, we can see here we have this 18 product, which is true to now.

62
00:04:58,370 --> 00:04:59,150
It's free now.

63
00:04:59,390 --> 00:05:02,690
OK, and this is the index of what we had here.

64
00:05:02,870 --> 00:05:10,070
And if we try to open this array, is this Physick array, we are going to see the singular quantity

65
00:05:10,070 --> 00:05:11,660
is going to be equal to one.

66
00:05:11,950 --> 00:05:15,950
OK, and the product side is three products that we have.

67
00:05:15,950 --> 00:05:18,950
All this we can see and we are close to items.

68
00:05:19,460 --> 00:05:26,480
And here the total quantity is going to be one because we only want we have only one product in our.

69
00:05:28,570 --> 00:05:37,210
We have only one product in our records, and the total price also is equal to two one, and I think

70
00:05:37,210 --> 00:05:38,310
that's very simple.

71
00:05:38,500 --> 00:05:45,970
So you can do the same thing with a strawberry, like you're going to see here, total quantity just

72
00:05:45,970 --> 00:05:50,010
up in here, like you're going to see all the specific products.

73
00:05:50,210 --> 00:05:58,720
OK, so I think that it is very useful to use these and then we are going to.

74
00:06:00,030 --> 00:06:07,860
Comment is, OK, so we are going to say no here and it's time we are going to add something in our

75
00:06:07,860 --> 00:06:14,840
records, OK, where the rate in our rate is going to be increased.

76
00:06:15,000 --> 00:06:18,120
And here we have written read rates, too.

77
00:06:18,250 --> 00:06:22,260
So here I'm going to need you to try first written back.

78
00:06:22,530 --> 00:06:24,580
OK, we're back.

79
00:06:24,630 --> 00:06:28,290
I'm going to I'm going to tell you written back like this.

80
00:06:29,620 --> 00:06:32,680
OK, so let us back here.

81
00:06:35,940 --> 00:06:43,200
It is a very simple just click here, a two cards, very good, OK?

82
00:06:44,220 --> 00:06:54,050
So let us get noticed, because here, here Sition has court and session gates, we have this came close

83
00:06:54,060 --> 00:06:57,730
here you have a session putes session Put's.

84
00:06:57,960 --> 00:07:00,500
OK, so now we can easily get.

85
00:07:03,330 --> 00:07:10,140
Here, consecutive session gets cut the cake and the decision gets cut.

86
00:07:10,170 --> 00:07:12,650
We can't get the total quantity, OK?

87
00:07:13,230 --> 00:07:14,970
We can't get the total quantity.

88
00:07:15,000 --> 00:07:18,780
It is very simple and we are going to come in over.

89
00:07:20,960 --> 00:07:28,220
Clients, layouts, clients, we're here with navigation bar, okay, we are going to look for our records,

90
00:07:28,220 --> 00:07:29,490
which raised our records.

91
00:07:29,510 --> 00:07:39,170
Yes, this is our records and in such, here will be a port, all OK and others.

92
00:07:39,440 --> 00:07:40,950
So what are we to do here?

93
00:07:40,970 --> 00:07:43,340
We're going to grab this.

94
00:07:44,210 --> 00:07:46,430
We are going to be asking a question.

95
00:07:46,430 --> 00:07:47,840
Are we going to say Seishin?

96
00:07:49,270 --> 00:07:53,050
The card has cards so we can say the same thing.

97
00:07:53,090 --> 00:07:56,510
OK, so do not forget or put in.

98
00:07:58,890 --> 00:08:00,750
I call this like this.

99
00:08:02,460 --> 00:08:04,030
Sishen session is Cartes.

100
00:08:05,700 --> 00:08:08,850
It's here and we're going to say.

101
00:08:09,850 --> 00:08:13,210
And just in such year, we secession.

102
00:08:17,240 --> 00:08:19,560
Station gift cards.

103
00:08:20,410 --> 00:08:28,490
Okay, and here we say to talk quantity, so you want to take the same thing with words you just put

104
00:08:28,490 --> 00:08:30,520
in already cartloads.

105
00:08:30,980 --> 00:08:36,760
We okay to talk quantity because you want to display the total quantity.

106
00:08:38,360 --> 00:08:43,520
Let us wait to see what we're going to have, like a reaction that is okay.

107
00:08:43,690 --> 00:08:46,670
Otherwise, we are going to get zero.

108
00:08:49,490 --> 00:08:54,910
It is going to be equal to zero, so let us wait to see we have already something to cut.

109
00:08:54,950 --> 00:08:55,810
Let us reload.

110
00:08:56,630 --> 00:09:04,760
Where is it something terrible, total quantity, or is this sort of just big fists or hear you say.

111
00:09:20,690 --> 00:09:23,450
Well, it looked like these.

112
00:09:24,800 --> 00:09:29,390
I can't look this like a total quantity not to put the dollar sign.

113
00:09:29,480 --> 00:09:31,640
Okay, so this is the problem.

114
00:09:31,670 --> 00:09:34,370
That's what his letters were.

115
00:09:34,370 --> 00:09:35,870
Zietz restring.

116
00:09:37,030 --> 00:09:38,230
And the reason?

117
00:09:46,960 --> 00:09:49,000
It is not this.

118
00:09:51,650 --> 00:09:55,980
Were close, no doubt, pleaders Putri.

119
00:10:19,160 --> 00:10:23,330
Those are just break its first session is called.

120
00:10:24,720 --> 00:10:27,750
OK, so there's a reward for this.

121
00:10:28,970 --> 00:10:29,360
To.

122
00:10:30,790 --> 00:10:31,420
It's big.

123
00:10:33,290 --> 00:10:34,460
OK, very good.

124
00:10:34,780 --> 00:10:43,640
Okay, so you're going to see for years, once you're OK, so normally we must or have instead of the

125
00:10:43,650 --> 00:10:44,590
square brackets.

126
00:10:44,600 --> 00:10:45,770
So what we're going to do.

127
00:10:45,770 --> 00:10:50,600
So let us grip all this and put it just in such here.

128
00:10:50,810 --> 00:10:52,070
OK, sorry.

129
00:10:52,070 --> 00:10:53,190
Just switch back here.

130
00:10:53,190 --> 00:10:53,840
Reloads.

131
00:10:55,220 --> 00:10:56,530
There it goes like this.

132
00:10:56,610 --> 00:11:03,980
OK, so we must all put inside this square brackets, I can't you know, that's what this is all things

133
00:11:03,980 --> 00:11:04,520
like this.

134
00:11:05,840 --> 00:11:06,430
Yes.

135
00:11:06,440 --> 00:11:11,840
And if we try to come here and shop aides, you know, their product.

136
00:11:14,130 --> 00:11:14,670
Very good.

137
00:11:14,730 --> 00:11:16,410
You can see we have to we can't.

138
00:11:18,140 --> 00:11:22,640
If I come also true, this is the total quantity, we have three.

139
00:11:22,810 --> 00:11:28,790
OK, we have to tell Quantitate, we have three, but for the Tohmatsu we have to quantity for so we

140
00:11:28,790 --> 00:11:30,160
have only one quantity.

141
00:11:30,440 --> 00:11:34,130
So we are going to do the same thing with our homepage.

142
00:11:34,190 --> 00:11:36,690
OK, it is different products here.

143
00:11:36,760 --> 00:11:38,800
Here we are going to put the same year.

144
00:11:39,110 --> 00:11:44,060
So we are going to come here in open shop that bladers BHP.

145
00:11:45,050 --> 00:11:53,430
I think this part is quite difficult, but the cut so we can learn how to customize your own car.

146
00:11:53,530 --> 00:11:54,710
It does come here.

147
00:11:55,110 --> 00:12:00,170
OK, you can take this year in which is the same year.

148
00:12:00,410 --> 00:12:06,910
It does copy from our shop that BHP and we are going to put it in our bladers PSP.

149
00:12:07,460 --> 00:12:08,860
So readers click on it.

150
00:12:08,900 --> 00:12:09,980
You good luck.

151
00:12:11,800 --> 00:12:22,240
We also have yes, because I is here, just passes here and here also if we try to reload this page.

152
00:12:22,840 --> 00:12:30,670
So this is the importance of return if we try to come in or a glance controller, OK, Rittenberg allows

153
00:12:30,670 --> 00:12:40,660
you to be in the same page after a clicking, OK, after clicking, for example, something like back,

154
00:12:40,660 --> 00:12:42,640
you're going to return the same page.

155
00:12:43,000 --> 00:12:49,550
OK, so if I were to add another click here and I'm going to return also to the home page.

156
00:12:49,840 --> 00:12:51,150
OK, just click here.

157
00:12:51,460 --> 00:12:53,640
You're going to see here the final product.

158
00:12:53,710 --> 00:12:59,440
So in the next video, the thing we're going to do now is to view all these products in our records.
