Lima Dev
내용
[subtitle-meta] lang=en auto=True
Hello guys, welcome back to the part
seven of our series of videos of how you
can build an app from zero. In today's
class, we will see how you can save the
disabled products. In the last class, we
did the search. So now we can search for
products
and the the idea now is just save when I
click on the disable button. Okay. So,
let's do it. The first thing we need to
do is change our database because for
the Photoshop file uses the escalite and
escalite is not a good option for
production. So, I'm deleting the file
the folder [snorts]
and here I'm change to postress
scale.
No. And here I will
in
database
URL.
Okay, I already have here my M file that
I forgot because I was recording.
Actually, I was trying to recording but
I was not recording. Okay. So I I
realized that and I started to film now.
So
here we as you can see we are using
docker.
So instead
instead installing postris in my PC
I like to use docker.
For those who doesn't know what is
darker basically
is uh
is a way that you can
essentially you can run services without
without st installing okay in your PC.
So as you can see here I'm just running
my database
in this port
and let me change that because
app tutorial
and here app tutorial DB. Okay.
And now we can come here.
We can go here. We can
docker compose upd.
And
now the container is running
and we can check if
Prisma Studio
if if the connection is right and okay
I'm getting errors because
I need to generate and I need to migrate
Uh yeah, I was as I said I was trying to
record probably for in the first time
that you do these comments will work for
you. I just need to reset my
my my
migration.
Yes.
Oh, now I can do the dev command.
Let's say in it.
Okay, now it's working.
Okay, we have the session here. And what
is session is this model. Okay, we can
now
create
sessions because I like the tables name
in the plural.
And now we can create the products
setting.
I will call it product
Shopify
creative and disable. Yes. [sighs]
Not auto increment. I like UAD.
What
default?
Why my UU ID is not working?
You know if it be in
Oh, is because we okay string ID and the
full
ID.
valid is not a valid field.
[sighs and gasps]
Why is not a valid field? Tell me why.
Oh, it was the
Okay.
U ID
and now we can actually need shop here
to
string.
Okay, we changed it and created the
table the model actually
products and uh let's
yes Prisma generate
and
migrate the added products table.
Let's remove some console logs
the table. Let's remove it.
And now what we can do,
we can
uh fix that button because
we need to make the action and change it
for enable, right? So because for the
following our application all our
products are enabled.
So
let's go. We can create a con handle
date products
and we can
get products.
I will say any for now.
And actually in the table props we can
instead use any. We can
copy cut it here. Explore interface E I
product
in here. I products. Okay.
And here we can say
my product
we can create another fetcher
because this fetcher will be
just for the pagination
right
fetcher. Use fetcher
and to not
put we can set a key to not
to those should not be the same
and we cannot
okay
and here we can say like
a date product fetcher
submit. So
um
no we don't need title
we can send
um status status
and it will be product.
Yeah, we need to change the product
here. We can
disabled be a boolean.
Um, what else? I think it's okay for
here.
And here we can say disable
status
and
post and I need another route. So we can
create this route api.prod.
Okay,
we have the action. Let's create the the
the route now.
API
dot product.
Yes.
Export
sync function
action.
Sometimes that's not really action
function arcs.
Uh [sighs]
we can
con
session
a wait of
authenticates
admin request. Okay, we now can get the
body
product status
or
it can be
false.
Uh, okay.
I just see if you're
getting
it correct.
Shop
session shop. Okay.
hang in the table. Now
I think we can create a button
element.
You can pass product.
Oh,
okay.
button
and here we can button element product.
It should keep my application working.
Let's just check.
Okay.
Yes, it's all working.
And now we can say [sighs and gasps]
products
disabled.
If the product is disabled,
so we can show enabled
or disable.
Yes, exactly.
And here
product is disabled. I want to show the
product is disabled. I need to enable.
So I need show success.
And here are critical.
Correct.
I need the same
for this one.
in here
active.
Maybe they have some active.
Yes, status active.
So here we can say
enable
status
active and [snorts] saved.
So it should keep working.
Perfect. It's all working.
And here
neutral.
Okay.
So now we let's see if
uh our routes will get let's close let's
close
uh here yeah we have a console log
product ID
product ID and status let's see if we
click we should be able to see
the product ID
disabled true for my shop. So, it's
everything right
here. Okay, it's working fine.
Now, we need to save this change, right?
Where we can save it. Where we can
create
uh I already created here but there is
nothing inside. We can create a folder
called repositories
and inside we can create a product
repository
yes
con repository
for the full repository. I like to
create
an index file.
Here we can export the full as product
repository. Exactly.
And now we can create our methods.
Find
actually is the
oops search
um
by shop.
So this one
we can
send
data will be
Prisma
product
creating puts.
Okay.
So we can return.
I need every time I need to check Prisma
up search
up search.
Okay. We need to
here we need to
where
Shopify ID shop.
Um,
Shopify
ID
Oh
yeah. return Prisma
from RDB server
uh products
search.
H let me
okay this is a little strange. Okay.
Where Shopify ID?
Create Shopify ID in shop. Shopy ID in
shop.
Right.
Shopy disabled in shop. No, I need it
disabled.
So
disabled.
and disabled.
And here we can
pass the upsert by Shopify ID.
And now
in the API what we can do is
basically
product a
product repository
and we can pass
Shopify ID as product ID shop
and
status. status
making
status boolean
so it's true false
I'm saying as um
okay
let's close in here I And
oh
here
sometimes I hate copilot.
Let's just check the
type of tax boo
and here.
Yeah, it's a boolean.
Um,
so everything now should be
working really fine.
Products
sorry
and
status.
Okay. Okay. Okay. And now we need to get
back
the response of this action. So we need
another
use effect
where we can
get this guy
data.
Yes.
Let's see.
Oh, I think I know the problem. The
problem is because every time that I
change my database, I need to reset my
application.
Yeah. Let's see. Let's see.
And here let's see the Prisma studio if
we are actually
have the product table but we don't have
any
row yet.
Okay, I clicked.
Yes, but it's not reflecting.
And it will not reflect if I reload the
page because my loader I didn't change
my loader yet.
So why it's not work? I think it's my I
need to
update my
user effect.
Let's see. Let's see.
So if I click here
the data is right ID
I think it's where
Shopify ID See?
What the heck?
No, no, no, no, no.
Wait, wait, wait, wait, wait.
Let's see.
Uh, [sighs] it's because of that.
Okay, it's saving. So,
this product.
Yeah, that is
I'm getting error because I know what
what's going on. But let's see. Enable,
right?
It should be disabled. And
maybe I doing something really
wrong right here.
Let me just check
if I clicking disable
Shopify. This is
Okay, that's correct.
Before I change the product list, let's
see the product list.
Yeah, the ID is the Shopify ID that I
need.
But
something really weird
I delete everything.
And now let me start it again.
Okay.
I update the product
is disabled. If I try to disable enable
it again
another ID it's saying actually it sent
it sent the
the product ID
really weird.
Oh, I see. I see. I see.
>> [sighs]
>> So I need to return the product that
Now it should work. Let's see. Let's
see. Let's see.
Yes. Now I have just one
[cough]
one row and it's working fine as you can
see guys.
The problem was that I was not updating
AI. Uh you need to pay attention. So
it's working really fine. And now you
need to sh change the
load right.
Basically is super simple. What you need
to do is going you need to go to the
you don't need to
uh touching table anymore.
We need to create a new method here
called
con find by Shopify ID.
Exactly. Where Shopify ID? Yeah, that's
right.
And here in the settings,
where is models
settings and loader?
We need to get
products.
Oh, wait.
Product repository by find my Shopify
ID.
Actually, you can use a find many by
Shopify ID.
Let me change it. Find
many by
I think I'm missing something here.
H
Prisma
find
mini
Oh, I I think it's right.
Yeah, that's right. I'm not
I'm not crazy.
I can find meaning.
What?
No, I will let us any for now.
Uh
but we can check if we have all the
products ids here.
Let's see. Let's see.
We need to check here. And we got a
problem.
Yes,
but
the ideas are working.
If you reload the page now, [snorts] you
should be able to see the ids. Yes,
product IDs.
Find many.
Let me close the table interface
here. Find me by Shopify's
ID. Shopify
ids
[groaning]
this guy in.
I knew it.
I just forgot about the
Okay.
I'm trying to find the documentation to
show you guys, but
as you can see, is are really hard to
find. But yeah, we can search for
all the
IDs like this. Okay.
So now we should be able to work here
products DB. We were able to find one
product. So with this information now
we can
create
merged products.
Yes, exactly. You can create a merged
products which will will be
ID is
product ID.
Yes, product ID. And here's the disable.
And here we can just
pass like this in here in the product
handle. We need to change because now we
have disabled.
It's a boolean
disabled here.
Yeah, it's always be false. We don't
need this or
And now
I think now it should work.
Disable crow.
Yes, now it's everything works. If we
click here, here, [snorts]
and here. Now I will reload the page. We
should be able to see those changes. And
here is how you can save
the disabled products in your database.
Uh now for the next class, we will
save the current plane for the merchant.
And
yeah, I think it's going to be that it's
the better option. And after that, we
can see how we can create the extension
to hander the button on the product
page. Okay, thank you guys for watching
this video. Let a like, a comment below.
If you have any questions, just send me
a message and I will try my best to
answer. Thank you for watch.
원문 자막 펼치기
WEBVTT Kind: captions Language: en 00:00:00.480 --> 00:00:02.950 align:start position:0% Hello<00:00:01.040><c> guys,</c><00:00:01.439><c> welcome</c><00:00:01.839><c> back</c><00:00:02.000><c> to</c><00:00:02.240><c> the</c><00:00:02.399><c> part</c> 00:00:02.950 --> 00:00:02.960 align:start position:0% Hello guys, welcome back to the part 00:00:02.960 --> 00:00:08.150 align:start position:0% Hello guys, welcome back to the part seven<00:00:04.160><c> of</c><00:00:04.720><c> our</c><00:00:05.600><c> series</c><00:00:06.080><c> of</c><00:00:06.480><c> videos</c><00:00:07.200><c> of</c><00:00:07.600><c> how</c><00:00:07.919><c> you</c> 00:00:08.150 --> 00:00:08.160 align:start position:0% seven of our series of videos of how you 00:00:08.160 --> 00:00:11.589 align:start position:0% seven of our series of videos of how you can<00:00:08.320><c> build</c><00:00:08.639><c> an</c><00:00:08.880><c> app</c><00:00:09.120><c> from</c><00:00:09.440><c> zero.</c><00:00:10.559><c> In</c><00:00:10.960><c> today's</c> 00:00:11.589 --> 00:00:11.599 align:start position:0% can build an app from zero. In today's 00:00:11.599 --> 00:00:14.230 align:start position:0% can build an app from zero. In today's class,<00:00:12.320><c> we</c><00:00:12.559><c> will</c><00:00:12.800><c> see</c><00:00:12.960><c> how</c><00:00:13.200><c> you</c><00:00:13.440><c> can</c><00:00:13.679><c> save</c><00:00:14.000><c> the</c> 00:00:14.230 --> 00:00:14.240 align:start position:0% class, we will see how you can save the 00:00:14.240 --> 00:00:16.870 align:start position:0% class, we will see how you can save the disabled<00:00:14.799><c> products.</c><00:00:15.839><c> In</c><00:00:16.000><c> the</c><00:00:16.240><c> last</c><00:00:16.400><c> class,</c><00:00:16.720><c> we</c> 00:00:16.870 --> 00:00:16.880 align:start position:0% disabled products. In the last class, we 00:00:16.880 --> 00:00:19.269 align:start position:0% disabled products. In the last class, we did<00:00:17.039><c> the</c><00:00:17.279><c> search.</c><00:00:17.840><c> So</c><00:00:18.080><c> now</c><00:00:18.240><c> we</c><00:00:18.480><c> can</c><00:00:18.720><c> search</c><00:00:18.960><c> for</c> 00:00:19.269 --> 00:00:19.279 align:start position:0% did the search. So now we can search for 00:00:19.279 --> 00:00:20.950 align:start position:0% did the search. So now we can search for products 00:00:20.950 --> 00:00:20.960 align:start position:0% products 00:00:20.960 --> 00:00:27.910 align:start position:0% products and<00:00:21.920><c> the</c><00:00:22.640><c> the</c><00:00:23.039><c> idea</c><00:00:23.600><c> now</c><00:00:24.320><c> is</c><00:00:24.640><c> just</c><00:00:25.680><c> save</c><00:00:26.640><c> when</c><00:00:27.519><c> I</c> 00:00:27.910 --> 00:00:27.920 align:start position:0% and the the idea now is just save when I 00:00:27.920 --> 00:00:31.349 align:start position:0% and the the idea now is just save when I click<00:00:28.160><c> on</c><00:00:28.320><c> the</c><00:00:28.560><c> disable</c><00:00:29.039><c> button.</c><00:00:29.679><c> Okay.</c><00:00:31.119><c> So,</c> 00:00:31.349 --> 00:00:31.359 align:start position:0% click on the disable button. Okay. So, 00:00:31.359 --> 00:00:33.750 align:start position:0% click on the disable button. Okay. So, let's<00:00:31.679><c> do</c><00:00:31.840><c> it.</c><00:00:32.160><c> The</c><00:00:32.480><c> first</c><00:00:32.800><c> thing</c><00:00:33.040><c> we</c><00:00:33.360><c> need</c><00:00:33.520><c> to</c> 00:00:33.750 --> 00:00:33.760 align:start position:0% let's do it. The first thing we need to 00:00:33.760 --> 00:00:37.750 align:start position:0% let's do it. The first thing we need to do<00:00:34.719><c> is</c><00:00:35.200><c> change</c><00:00:35.840><c> our</c><00:00:36.320><c> database</c><00:00:36.960><c> because</c><00:00:37.440><c> for</c> 00:00:37.750 --> 00:00:37.760 align:start position:0% do is change our database because for 00:00:37.760 --> 00:00:42.069 align:start position:0% do is change our database because for the<00:00:38.000><c> Photoshop</c><00:00:38.640><c> file</c><00:00:38.960><c> uses</c><00:00:39.440><c> the</c><00:00:40.879><c> escalite</c><00:00:41.760><c> and</c> 00:00:42.069 --> 00:00:42.079 align:start position:0% the Photoshop file uses the escalite and 00:00:42.079 --> 00:00:44.310 align:start position:0% the Photoshop file uses the escalite and escalite<00:00:42.640><c> is</c><00:00:42.800><c> not</c><00:00:42.960><c> a</c><00:00:43.120><c> good</c><00:00:43.280><c> option</c><00:00:43.760><c> for</c> 00:00:44.310 --> 00:00:44.320 align:start position:0% escalite is not a good option for 00:00:44.320 --> 00:00:47.430 align:start position:0% escalite is not a good option for production.<00:00:45.680><c> So,</c><00:00:45.840><c> I'm</c><00:00:46.160><c> deleting</c><00:00:46.640><c> the</c><00:00:46.960><c> file</c> 00:00:47.430 --> 00:00:47.440 align:start position:0% production. So, I'm deleting the file 00:00:47.440 --> 00:00:48.790 align:start position:0% production. So, I'm deleting the file the<00:00:47.680><c> folder</c><00:00:47.815><c> [snorts]</c> 00:00:48.790 --> 00:00:48.800 align:start position:0% the folder [snorts] 00:00:48.800 --> 00:00:54.229 align:start position:0% the folder [snorts] and<00:00:49.200><c> here</c><00:00:49.920><c> I'm</c><00:00:50.320><c> change</c><00:00:50.719><c> to</c><00:00:51.120><c> postress</c> 00:00:54.229 --> 00:00:54.239 align:start position:0% 00:00:54.239 --> 00:00:56.790 align:start position:0% scale. 00:00:56.790 --> 00:00:56.800 align:start position:0% scale. 00:00:56.800 --> 00:01:00.709 align:start position:0% scale. No.<00:00:57.760><c> And</c><00:00:58.079><c> here</c><00:00:58.800><c> I</c><00:00:59.120><c> will</c> 00:01:00.709 --> 00:01:00.719 align:start position:0% No. And here I will 00:01:00.719 --> 00:01:03.349 align:start position:0% No. And here I will in 00:01:03.349 --> 00:01:03.359 align:start position:0% in 00:01:03.359 --> 00:01:07.990 align:start position:0% in database 00:01:07.990 --> 00:01:08.000 align:start position:0% 00:01:08.000 --> 00:01:10.070 align:start position:0% URL. 00:01:10.070 --> 00:01:10.080 align:start position:0% URL. 00:01:10.080 --> 00:01:14.149 align:start position:0% URL. Okay,<00:01:10.640><c> I</c><00:01:11.040><c> already</c><00:01:11.439><c> have</c><00:01:11.760><c> here</c><00:01:12.080><c> my</c><00:01:12.720><c> M</c><00:01:13.119><c> file</c><00:01:13.840><c> that</c> 00:01:14.149 --> 00:01:14.159 align:start position:0% Okay, I already have here my M file that 00:01:14.159 --> 00:01:18.550 align:start position:0% Okay, I already have here my M file that I<00:01:14.400><c> forgot</c><00:01:15.119><c> because</c><00:01:15.920><c> I</c><00:01:16.240><c> was</c><00:01:17.360><c> recording.</c> 00:01:18.550 --> 00:01:18.560 align:start position:0% I forgot because I was recording. 00:01:18.560 --> 00:01:21.510 align:start position:0% I forgot because I was recording. Actually,<00:01:18.880><c> I</c><00:01:19.119><c> was</c><00:01:20.240><c> trying</c><00:01:20.560><c> to</c><00:01:20.799><c> recording</c><00:01:21.280><c> but</c> 00:01:21.510 --> 00:01:21.520 align:start position:0% Actually, I was trying to recording but 00:01:21.520 --> 00:01:25.510 align:start position:0% Actually, I was trying to recording but I<00:01:21.680><c> was</c><00:01:21.840><c> not</c><00:01:22.240><c> recording.</c><00:01:23.119><c> Okay.</c><00:01:23.600><c> So</c><00:01:23.840><c> I</c><00:01:25.040><c> I</c> 00:01:25.510 --> 00:01:25.520 align:start position:0% I was not recording. Okay. So I I 00:01:25.520 --> 00:01:29.109 align:start position:0% I was not recording. Okay. So I I realized<00:01:26.080><c> that</c><00:01:26.560><c> and</c><00:01:26.880><c> I</c><00:01:27.520><c> started</c><00:01:27.920><c> to</c><00:01:28.159><c> film</c><00:01:28.560><c> now.</c> 00:01:29.109 --> 00:01:29.119 align:start position:0% realized that and I started to film now. 00:01:29.119 --> 00:01:31.830 align:start position:0% realized that and I started to film now. So 00:01:31.830 --> 00:01:31.840 align:start position:0% So 00:01:31.840 --> 00:01:34.950 align:start position:0% So here<00:01:32.159><c> we</c><00:01:32.640><c> as</c><00:01:32.880><c> you</c><00:01:33.040><c> can</c><00:01:33.200><c> see</c><00:01:33.439><c> we</c><00:01:33.759><c> are</c><00:01:34.000><c> using</c> 00:01:34.950 --> 00:01:34.960 align:start position:0% here we as you can see we are using 00:01:34.960 --> 00:01:37.109 align:start position:0% here we as you can see we are using docker. 00:01:37.109 --> 00:01:37.119 align:start position:0% docker. 00:01:37.119 --> 00:01:39.429 align:start position:0% docker. So<00:01:37.280><c> instead</c> 00:01:39.429 --> 00:01:39.439 align:start position:0% So instead 00:01:39.439 --> 00:01:45.270 align:start position:0% So instead instead<00:01:40.320><c> installing</c><00:01:41.040><c> postris</c><00:01:42.159><c> in</c><00:01:42.400><c> my</c><00:01:43.759><c> PC</c> 00:01:45.270 --> 00:01:45.280 align:start position:0% instead installing postris in my PC 00:01:45.280 --> 00:01:49.990 align:start position:0% instead installing postris in my PC I<00:01:45.600><c> like</c><00:01:45.840><c> to</c><00:01:46.079><c> use</c><00:01:46.880><c> docker.</c> 00:01:49.990 --> 00:01:50.000 align:start position:0% 00:01:50.000 --> 00:01:52.550 align:start position:0% For<00:01:50.479><c> those</c><00:01:50.960><c> who</c><00:01:51.360><c> doesn't</c><00:01:51.759><c> know</c><00:01:52.079><c> what</c><00:01:52.320><c> is</c> 00:01:52.550 --> 00:01:52.560 align:start position:0% For those who doesn't know what is 00:01:52.560 --> 00:01:56.230 align:start position:0% For those who doesn't know what is darker<00:01:53.680><c> basically</c> 00:01:56.230 --> 00:01:56.240 align:start position:0% darker basically 00:01:56.240 --> 00:01:59.910 align:start position:0% darker basically is<00:01:57.600><c> uh</c> 00:01:59.910 --> 00:01:59.920 align:start position:0% is uh 00:01:59.920 --> 00:02:02.870 align:start position:0% is uh is<00:02:00.159><c> a</c><00:02:00.399><c> way</c><00:02:00.560><c> that</c><00:02:00.799><c> you</c><00:02:01.119><c> can</c> 00:02:02.870 --> 00:02:02.880 align:start position:0% is a way that you can 00:02:02.880 --> 00:02:06.310 align:start position:0% is a way that you can essentially<00:02:03.360><c> you</c><00:02:03.600><c> can</c><00:02:03.759><c> run</c><00:02:04.159><c> services</c><00:02:05.040><c> without</c> 00:02:06.310 --> 00:02:06.320 align:start position:0% essentially you can run services without 00:02:06.320 --> 00:02:10.949 align:start position:0% essentially you can run services without without<00:02:07.600><c> st</c><00:02:08.000><c> installing</c><00:02:09.280><c> okay</c><00:02:09.520><c> in</c><00:02:09.840><c> your</c><00:02:10.080><c> PC.</c> 00:02:10.949 --> 00:02:10.959 align:start position:0% without st installing okay in your PC. 00:02:10.959 --> 00:02:13.350 align:start position:0% without st installing okay in your PC. So<00:02:11.200><c> as</c><00:02:11.440><c> you</c><00:02:11.599><c> can</c><00:02:11.760><c> see</c><00:02:11.920><c> here</c><00:02:12.400><c> I'm</c><00:02:12.720><c> just</c><00:02:13.040><c> running</c> 00:02:13.350 --> 00:02:13.360 align:start position:0% So as you can see here I'm just running 00:02:13.360 --> 00:02:15.430 align:start position:0% So as you can see here I'm just running my<00:02:13.680><c> database</c> 00:02:15.430 --> 00:02:15.440 align:start position:0% my database 00:02:15.440 --> 00:02:18.390 align:start position:0% my database in<00:02:15.840><c> this</c><00:02:16.239><c> port</c> 00:02:18.390 --> 00:02:18.400 align:start position:0% in this port 00:02:18.400 --> 00:02:21.830 align:start position:0% in this port and<00:02:18.640><c> let</c><00:02:18.879><c> me</c><00:02:19.120><c> change</c><00:02:19.440><c> that</c><00:02:20.000><c> because</c> 00:02:21.830 --> 00:02:21.840 align:start position:0% and let me change that because 00:02:21.840 --> 00:02:24.309 align:start position:0% and let me change that because app<00:02:22.640><c> tutorial</c> 00:02:24.309 --> 00:02:24.319 align:start position:0% app tutorial 00:02:24.319 --> 00:02:29.990 align:start position:0% app tutorial and<00:02:24.640><c> here</c><00:02:25.520><c> app</c><00:02:26.000><c> tutorial</c><00:02:26.800><c> DB.</c><00:02:28.000><c> Okay.</c> 00:02:29.990 --> 00:02:30.000 align:start position:0% and here app tutorial DB. Okay. 00:02:30.000 --> 00:02:33.910 align:start position:0% and here app tutorial DB. Okay. And<00:02:30.319><c> now</c><00:02:30.640><c> we</c><00:02:30.879><c> can</c><00:02:31.200><c> come</c><00:02:31.520><c> here.</c> 00:02:33.910 --> 00:02:33.920 align:start position:0% And now we can come here. 00:02:33.920 --> 00:02:38.630 align:start position:0% And now we can come here. We<00:02:34.239><c> can</c><00:02:34.800><c> go</c><00:02:35.440><c> here.</c><00:02:36.000><c> We</c><00:02:36.239><c> can</c> 00:02:38.630 --> 00:02:38.640 align:start position:0% We can go here. We can 00:02:38.640 --> 00:02:46.470 align:start position:0% We can go here. We can docker<00:02:39.519><c> compose</c><00:02:40.640><c> upd.</c> 00:02:46.470 --> 00:02:46.480 align:start position:0% 00:02:46.480 --> 00:02:48.390 align:start position:0% And 00:02:48.390 --> 00:02:48.400 align:start position:0% And 00:02:48.400 --> 00:02:53.509 align:start position:0% And now<00:02:49.760><c> the</c><00:02:50.080><c> container</c><00:02:50.959><c> is</c><00:02:51.360><c> running</c> 00:02:53.509 --> 00:02:53.519 align:start position:0% now the container is running 00:02:53.519 --> 00:02:59.350 align:start position:0% now the container is running and<00:02:53.760><c> we</c><00:02:54.000><c> can</c><00:02:54.239><c> check</c><00:02:55.280><c> if</c> 00:02:59.350 --> 00:02:59.360 align:start position:0% 00:02:59.360 --> 00:03:02.949 align:start position:0% Prisma<00:03:00.239><c> Studio</c> 00:03:02.949 --> 00:03:02.959 align:start position:0% Prisma Studio 00:03:02.959 --> 00:03:07.270 align:start position:0% Prisma Studio if if<00:03:03.200><c> the</c><00:03:03.440><c> connection</c><00:03:03.920><c> is</c><00:03:04.239><c> right</c><00:03:05.200><c> and</c><00:03:06.480><c> okay</c> 00:03:07.270 --> 00:03:07.280 align:start position:0% if if the connection is right and okay 00:03:07.280 --> 00:03:10.630 align:start position:0% if if the connection is right and okay I'm<00:03:07.519><c> getting</c><00:03:08.000><c> errors</c><00:03:08.400><c> because</c> 00:03:10.630 --> 00:03:10.640 align:start position:0% I'm getting errors because 00:03:10.640 --> 00:03:17.589 align:start position:0% I'm getting errors because I<00:03:10.959><c> need</c><00:03:11.120><c> to</c><00:03:11.360><c> generate</c><00:03:12.720><c> and</c><00:03:13.040><c> I</c><00:03:13.280><c> need</c><00:03:13.440><c> to</c><00:03:13.680><c> migrate</c> 00:03:17.589 --> 00:03:17.599 align:start position:0% 00:03:17.599 --> 00:03:21.030 align:start position:0% Uh<00:03:18.640><c> yeah,</c><00:03:18.959><c> I</c><00:03:19.200><c> was</c><00:03:19.519><c> as</c><00:03:19.760><c> I</c><00:03:20.000><c> said</c><00:03:20.239><c> I</c><00:03:20.400><c> was</c><00:03:20.560><c> trying</c><00:03:20.800><c> to</c> 00:03:21.030 --> 00:03:21.040 align:start position:0% Uh yeah, I was as I said I was trying to 00:03:21.040 --> 00:03:23.589 align:start position:0% Uh yeah, I was as I said I was trying to record<00:03:21.680><c> probably</c><00:03:22.400><c> for</c><00:03:22.800><c> in</c><00:03:23.040><c> the</c><00:03:23.280><c> first</c><00:03:23.440><c> time</c> 00:03:23.589 --> 00:03:23.599 align:start position:0% record probably for in the first time 00:03:23.599 --> 00:03:27.670 align:start position:0% record probably for in the first time that<00:03:23.840><c> you</c><00:03:25.040><c> do</c><00:03:25.680><c> these</c><00:03:26.000><c> comments</c><00:03:26.879><c> will</c><00:03:27.280><c> work</c><00:03:27.519><c> for</c> 00:03:27.670 --> 00:03:27.680 align:start position:0% that you do these comments will work for 00:03:27.680 --> 00:03:33.910 align:start position:0% that you do these comments will work for you.<00:03:28.800><c> I</c><00:03:29.120><c> just</c><00:03:29.360><c> need</c><00:03:29.599><c> to</c><00:03:30.080><c> reset</c><00:03:30.720><c> my</c> 00:03:33.910 --> 00:03:33.920 align:start position:0% 00:03:33.920 --> 00:03:37.190 align:start position:0% my<00:03:34.080><c> my</c> 00:03:37.190 --> 00:03:37.200 align:start position:0% 00:03:37.200 --> 00:03:39.270 align:start position:0% migration. 00:03:39.270 --> 00:03:39.280 align:start position:0% migration. 00:03:39.280 --> 00:03:41.750 align:start position:0% migration. Yes. 00:03:41.750 --> 00:03:41.760 align:start position:0% Yes. 00:03:41.760 --> 00:03:46.550 align:start position:0% Yes. Oh,<00:03:42.799><c> now</c><00:03:43.280><c> I</c><00:03:43.599><c> can</c><00:03:43.760><c> do</c><00:03:43.920><c> the</c><00:03:44.159><c> dev</c><00:03:44.560><c> command.</c> 00:03:46.550 --> 00:03:46.560 align:start position:0% Oh, now I can do the dev command. 00:03:46.560 --> 00:03:49.110 align:start position:0% Oh, now I can do the dev command. Let's<00:03:46.879><c> say</c><00:03:47.200><c> in</c><00:03:47.440><c> it.</c> 00:03:49.110 --> 00:03:49.120 align:start position:0% Let's say in it. 00:03:49.120 --> 00:03:55.350 align:start position:0% Let's say in it. Okay,<00:03:49.920><c> now</c><00:03:50.400><c> it's</c><00:03:50.799><c> working.</c> 00:03:55.350 --> 00:03:55.360 align:start position:0% 00:03:55.360 --> 00:03:58.070 align:start position:0% Okay,<00:03:55.920><c> we</c><00:03:56.159><c> have</c><00:03:56.319><c> the</c><00:03:56.560><c> session</c><00:03:57.040><c> here.</c><00:03:57.519><c> And</c><00:03:57.840><c> what</c> 00:03:58.070 --> 00:03:58.080 align:start position:0% Okay, we have the session here. And what 00:03:58.080 --> 00:04:02.949 align:start position:0% Okay, we have the session here. And what is<00:03:58.239><c> session</c><00:03:58.879><c> is</c><00:03:59.200><c> this</c><00:03:59.519><c> model.</c><00:04:00.959><c> Okay,</c><00:04:02.400><c> we</c><00:04:02.720><c> can</c> 00:04:02.949 --> 00:04:02.959 align:start position:0% is session is this model. Okay, we can 00:04:02.959 --> 00:04:04.789 align:start position:0% is session is this model. Okay, we can now 00:04:04.789 --> 00:04:04.799 align:start position:0% now 00:04:04.799 --> 00:04:06.710 align:start position:0% now create 00:04:06.710 --> 00:04:06.720 align:start position:0% create 00:04:06.720 --> 00:04:09.910 align:start position:0% create sessions<00:04:07.280><c> because</c><00:04:07.599><c> I</c><00:04:07.920><c> like</c><00:04:08.080><c> the</c><00:04:09.040><c> tables</c><00:04:09.680><c> name</c> 00:04:09.910 --> 00:04:09.920 align:start position:0% sessions because I like the tables name 00:04:09.920 --> 00:04:11.830 align:start position:0% sessions because I like the tables name in<00:04:10.159><c> the</c><00:04:10.319><c> plural.</c> 00:04:11.830 --> 00:04:11.840 align:start position:0% in the plural. 00:04:11.840 --> 00:04:15.910 align:start position:0% in the plural. And<00:04:12.159><c> now</c><00:04:12.400><c> we</c><00:04:12.640><c> can</c><00:04:12.879><c> create</c><00:04:13.280><c> the</c><00:04:14.159><c> products</c> 00:04:15.910 --> 00:04:15.920 align:start position:0% And now we can create the products 00:04:15.920 --> 00:04:22.629 align:start position:0% And now we can create the products setting. 00:04:22.629 --> 00:04:22.639 align:start position:0% 00:04:22.639 --> 00:04:26.550 align:start position:0% I<00:04:22.800><c> will</c><00:04:23.040><c> call</c><00:04:23.199><c> it</c><00:04:23.520><c> product</c> 00:04:26.550 --> 00:04:26.560 align:start position:0% 00:04:26.560 --> 00:04:30.070 align:start position:0% Shopify 00:04:30.070 --> 00:04:30.080 align:start position:0% 00:04:30.080 --> 00:04:34.390 align:start position:0% creative<00:04:30.960><c> and</c><00:04:31.440><c> disable.</c><00:04:32.160><c> Yes.</c><00:04:33.138><c> [sighs]</c> 00:04:34.390 --> 00:04:34.400 align:start position:0% creative and disable. Yes. [sighs] 00:04:34.400 --> 00:04:40.629 align:start position:0% creative and disable. Yes. [sighs] Not<00:04:35.120><c> auto</c><00:04:35.440><c> increment.</c><00:04:36.639><c> I</c><00:04:36.960><c> like</c><00:04:37.600><c> UAD.</c> 00:04:40.629 --> 00:04:40.639 align:start position:0% 00:04:40.639 --> 00:04:43.430 align:start position:0% What 00:04:43.430 --> 00:04:43.440 align:start position:0% What 00:04:43.440 --> 00:04:48.390 align:start position:0% What default? 00:04:48.390 --> 00:04:48.400 align:start position:0% 00:04:48.400 --> 00:05:01.350 align:start position:0% Why<00:04:48.720><c> my</c><00:04:49.199><c> UU</c><00:04:49.759><c> ID</c><00:04:50.080><c> is</c><00:04:50.320><c> not</c><00:04:50.639><c> working?</c> 00:05:01.350 --> 00:05:01.360 align:start position:0% 00:05:01.360 --> 00:05:06.870 align:start position:0% You<00:05:01.520><c> know</c><00:05:01.759><c> if</c><00:05:02.000><c> it</c><00:05:02.160><c> be</c><00:05:03.040><c> in</c> 00:05:06.870 --> 00:05:06.880 align:start position:0% 00:05:06.880 --> 00:05:11.590 align:start position:0% Oh,<00:05:07.360><c> is</c><00:05:07.600><c> because</c><00:05:08.080><c> we</c><00:05:08.400><c> okay</c><00:05:08.880><c> string</c><00:05:10.240><c> ID</c><00:05:11.120><c> and</c><00:05:11.440><c> the</c> 00:05:11.590 --> 00:05:11.600 align:start position:0% Oh, is because we okay string ID and the 00:05:11.600 --> 00:05:13.990 align:start position:0% Oh, is because we okay string ID and the full 00:05:13.990 --> 00:05:14.000 align:start position:0% full 00:05:14.000 --> 00:05:27.670 align:start position:0% full ID. 00:05:27.670 --> 00:05:27.680 align:start position:0% 00:05:27.680 --> 00:05:30.113 align:start position:0% valid<00:05:28.240><c> is</c><00:05:28.560><c> not</c><00:05:28.800><c> a</c><00:05:28.960><c> valid</c><00:05:29.440><c> field.</c> 00:05:30.113 --> 00:05:30.123 align:start position:0% valid is not a valid field. 00:05:30.123 --> 00:05:30.710 align:start position:0% valid is not a valid field. [sighs and gasps] 00:05:30.710 --> 00:05:30.720 align:start position:0% [sighs and gasps] 00:05:30.720 --> 00:05:41.830 align:start position:0% [sighs and gasps] Why<00:05:31.120><c> is</c><00:05:31.280><c> not</c><00:05:31.520><c> a</c><00:05:31.680><c> valid</c><00:05:32.080><c> field?</c><00:05:32.880><c> Tell</c><00:05:33.120><c> me</c><00:05:33.600><c> why.</c> 00:05:41.830 --> 00:05:41.840 align:start position:0% 00:05:41.840 --> 00:05:44.629 align:start position:0% Oh,<00:05:42.160><c> it</c><00:05:42.400><c> was</c><00:05:42.639><c> the</c> 00:05:44.629 --> 00:05:44.639 align:start position:0% Oh, it was the 00:05:44.639 --> 00:05:46.390 align:start position:0% Oh, it was the Okay. 00:05:46.390 --> 00:05:46.400 align:start position:0% Okay. 00:05:46.400 --> 00:05:49.189 align:start position:0% Okay. U<00:05:46.960><c> ID</c> 00:05:49.189 --> 00:05:49.199 align:start position:0% U ID 00:05:49.199 --> 00:05:53.830 align:start position:0% U ID and<00:05:49.520><c> now</c><00:05:50.720><c> we</c><00:05:51.039><c> can</c><00:05:52.080><c> actually</c><00:05:52.560><c> need</c><00:05:52.960><c> shop</c><00:05:53.360><c> here</c> 00:05:53.830 --> 00:05:53.840 align:start position:0% and now we can actually need shop here 00:05:53.840 --> 00:05:55.350 align:start position:0% and now we can actually need shop here to 00:05:55.350 --> 00:05:55.360 align:start position:0% to 00:05:55.360 --> 00:05:58.629 align:start position:0% to string. 00:05:58.629 --> 00:05:58.639 align:start position:0% 00:05:58.639 --> 00:06:01.110 align:start position:0% Okay,<00:05:59.039><c> we</c><00:05:59.360><c> changed</c><00:05:59.600><c> it</c><00:06:00.000><c> and</c><00:06:00.400><c> created</c><00:06:00.880><c> the</c> 00:06:01.110 --> 00:06:01.120 align:start position:0% Okay, we changed it and created the 00:06:01.120 --> 00:06:07.909 align:start position:0% Okay, we changed it and created the table<00:06:02.320><c> the</c><00:06:02.639><c> model</c><00:06:03.120><c> actually</c> 00:06:07.909 --> 00:06:07.919 align:start position:0% 00:06:07.919 --> 00:06:12.550 align:start position:0% products<00:06:09.360><c> and</c><00:06:10.639><c> uh</c><00:06:10.800><c> let's</c> 00:06:12.550 --> 00:06:12.560 align:start position:0% products and uh let's 00:06:12.560 --> 00:06:19.029 align:start position:0% products and uh let's yes<00:06:13.120><c> Prisma</c><00:06:13.600><c> generate</c> 00:06:19.029 --> 00:06:19.039 align:start position:0% 00:06:19.039 --> 00:06:21.189 align:start position:0% and 00:06:21.189 --> 00:06:21.199 align:start position:0% and 00:06:21.199 --> 00:06:27.990 align:start position:0% and migrate<00:06:21.840><c> the</c><00:06:22.319><c> added</c><00:06:22.800><c> products</c><00:06:23.360><c> table.</c> 00:06:27.990 --> 00:06:28.000 align:start position:0% 00:06:28.000 --> 00:06:42.710 align:start position:0% Let's<00:06:28.400><c> remove</c><00:06:28.960><c> some</c><00:06:29.759><c> console</c><00:06:30.240><c> logs</c> 00:06:42.710 --> 00:06:42.720 align:start position:0% 00:06:42.720 --> 00:06:46.870 align:start position:0% the<00:06:43.039><c> table.</c><00:06:44.160><c> Let's</c><00:06:44.560><c> remove</c><00:06:44.960><c> it.</c> 00:06:46.870 --> 00:06:46.880 align:start position:0% the table. Let's remove it. 00:06:46.880 --> 00:06:50.710 align:start position:0% the table. Let's remove it. And<00:06:47.199><c> now</c><00:06:48.160><c> what</c><00:06:48.400><c> we</c><00:06:48.720><c> can</c><00:06:48.960><c> do,</c> 00:06:50.710 --> 00:06:50.720 align:start position:0% And now what we can do, 00:06:50.720 --> 00:06:56.710 align:start position:0% And now what we can do, we<00:06:51.039><c> can</c> 00:06:56.710 --> 00:06:56.720 align:start position:0% 00:06:56.720 --> 00:06:59.990 align:start position:0% uh<00:06:57.120><c> fix</c><00:06:57.440><c> that</c><00:06:57.759><c> button</c><00:06:58.240><c> because</c> 00:06:59.990 --> 00:07:00.000 align:start position:0% uh fix that button because 00:07:00.000 --> 00:07:02.950 align:start position:0% uh fix that button because we<00:07:00.240><c> need</c><00:07:00.400><c> to</c><00:07:00.639><c> make</c><00:07:00.880><c> the</c><00:07:01.120><c> action</c><00:07:01.599><c> and</c><00:07:02.000><c> change</c><00:07:02.319><c> it</c> 00:07:02.950 --> 00:07:02.960 align:start position:0% we need to make the action and change it 00:07:02.960 --> 00:07:07.510 align:start position:0% we need to make the action and change it for<00:07:03.520><c> enable,</c><00:07:04.800><c> right?</c><00:07:06.160><c> So</c><00:07:06.800><c> because</c><00:07:07.039><c> for</c><00:07:07.360><c> the</c> 00:07:07.510 --> 00:07:07.520 align:start position:0% for enable, right? So because for the 00:07:07.520 --> 00:07:10.629 align:start position:0% for enable, right? So because for the following<00:07:07.919><c> our</c><00:07:08.160><c> application</c><00:07:09.440><c> all</c><00:07:10.319><c> our</c> 00:07:10.629 --> 00:07:10.639 align:start position:0% following our application all our 00:07:10.639 --> 00:07:14.150 align:start position:0% following our application all our products<00:07:11.280><c> are</c><00:07:12.000><c> enabled.</c> 00:07:14.150 --> 00:07:14.160 align:start position:0% products are enabled. 00:07:14.160 --> 00:07:16.469 align:start position:0% products are enabled. So 00:07:16.469 --> 00:07:16.479 align:start position:0% So 00:07:16.479 --> 00:07:22.629 align:start position:0% So let's<00:07:16.800><c> go.</c><00:07:17.039><c> We</c><00:07:17.280><c> can</c><00:07:17.440><c> create</c><00:07:17.759><c> a</c><00:07:18.880><c> con</c><00:07:19.759><c> handle</c> 00:07:22.629 --> 00:07:22.639 align:start position:0% let's go. We can create a con handle 00:07:22.639 --> 00:07:26.070 align:start position:0% let's go. We can create a con handle date<00:07:23.280><c> products</c> 00:07:26.070 --> 00:07:26.080 align:start position:0% date products 00:07:26.080 --> 00:07:28.550 align:start position:0% date products and<00:07:26.400><c> we</c><00:07:26.800><c> can</c> 00:07:28.550 --> 00:07:28.560 align:start position:0% and we can 00:07:28.560 --> 00:07:31.110 align:start position:0% and we can get<00:07:28.960><c> products.</c> 00:07:31.110 --> 00:07:31.120 align:start position:0% get products. 00:07:31.120 --> 00:07:35.589 align:start position:0% get products. I<00:07:31.280><c> will</c><00:07:31.440><c> say</c><00:07:31.759><c> any</c><00:07:32.080><c> for</c><00:07:32.319><c> now.</c> 00:07:35.589 --> 00:07:35.599 align:start position:0% 00:07:35.599 --> 00:07:39.749 align:start position:0% And<00:07:36.000><c> actually</c><00:07:36.560><c> in</c><00:07:36.880><c> the</c><00:07:37.039><c> table</c><00:07:37.440><c> props</c><00:07:38.479><c> we</c><00:07:38.880><c> can</c> 00:07:39.749 --> 00:07:39.759 align:start position:0% And actually in the table props we can 00:07:39.759 --> 00:07:43.830 align:start position:0% And actually in the table props we can instead<00:07:40.319><c> use</c><00:07:41.039><c> any.</c><00:07:41.759><c> We</c><00:07:42.080><c> can</c> 00:07:43.830 --> 00:07:43.840 align:start position:0% instead use any. We can 00:07:43.840 --> 00:07:49.830 align:start position:0% instead use any. We can copy<00:07:45.039><c> cut</c><00:07:45.360><c> it</c><00:07:45.599><c> here.</c><00:07:46.560><c> Explore</c><00:07:47.360><c> interface</c><00:07:48.560><c> E</c><00:07:49.440><c> I</c> 00:07:49.830 --> 00:07:49.840 align:start position:0% copy cut it here. Explore interface E I 00:07:49.840 --> 00:07:54.710 align:start position:0% copy cut it here. Explore interface E I product 00:07:54.710 --> 00:07:54.720 align:start position:0% 00:07:54.720 --> 00:08:00.469 align:start position:0% in<00:07:55.039><c> here.</c><00:07:56.319><c> I</c><00:07:56.639><c> products.</c><00:07:57.520><c> Okay.</c> 00:08:00.469 --> 00:08:00.479 align:start position:0% in here. I products. Okay. 00:08:00.479 --> 00:08:04.230 align:start position:0% in here. I products. Okay. And<00:08:00.720><c> here</c><00:08:00.960><c> we</c><00:08:01.199><c> can</c><00:08:01.440><c> say</c> 00:08:04.230 --> 00:08:04.240 align:start position:0% And here we can say 00:08:04.240 --> 00:08:06.550 align:start position:0% And here we can say my<00:08:04.479><c> product</c> 00:08:06.550 --> 00:08:06.560 align:start position:0% my product 00:08:06.560 --> 00:08:09.830 align:start position:0% my product we<00:08:06.800><c> can</c><00:08:06.960><c> create</c><00:08:07.280><c> another</c><00:08:07.759><c> fetcher</c> 00:08:09.830 --> 00:08:09.840 align:start position:0% we can create another fetcher 00:08:09.840 --> 00:08:15.830 align:start position:0% we can create another fetcher because<00:08:10.479><c> this</c><00:08:10.800><c> fetcher</c><00:08:12.240><c> will</c><00:08:12.720><c> be</c> 00:08:15.830 --> 00:08:15.840 align:start position:0% 00:08:15.840 --> 00:08:18.390 align:start position:0% just<00:08:16.160><c> for</c><00:08:16.400><c> the</c><00:08:16.479><c> pagination</c> 00:08:18.390 --> 00:08:18.400 align:start position:0% just for the pagination 00:08:18.400 --> 00:08:21.990 align:start position:0% just for the pagination right 00:08:21.990 --> 00:08:22.000 align:start position:0% 00:08:22.000 --> 00:08:25.749 align:start position:0% fetcher.<00:08:23.199><c> Use</c><00:08:23.840><c> fetcher</c> 00:08:25.749 --> 00:08:25.759 align:start position:0% fetcher. Use fetcher 00:08:25.759 --> 00:08:30.550 align:start position:0% fetcher. Use fetcher and<00:08:26.000><c> to</c><00:08:26.240><c> not</c> 00:08:30.550 --> 00:08:30.560 align:start position:0% 00:08:30.560 --> 00:08:35.509 align:start position:0% put<00:08:31.039><c> we</c><00:08:31.360><c> can</c><00:08:31.520><c> set</c><00:08:31.759><c> a</c><00:08:32.080><c> key</c><00:08:32.640><c> to</c><00:08:32.880><c> not</c> 00:08:35.509 --> 00:08:35.519 align:start position:0% put we can set a key to not 00:08:35.519 --> 00:08:40.149 align:start position:0% put we can set a key to not to<00:08:35.919><c> those</c><00:08:36.399><c> should</c><00:08:36.560><c> not</c><00:08:36.800><c> be</c><00:08:36.959><c> the</c><00:08:37.279><c> same</c> 00:08:40.149 --> 00:08:40.159 align:start position:0% to those should not be the same 00:08:40.159 --> 00:08:43.909 align:start position:0% to those should not be the same and<00:08:41.200><c> we</c><00:08:41.519><c> cannot</c> 00:08:43.909 --> 00:08:43.919 align:start position:0% and we cannot 00:08:43.919 --> 00:08:47.350 align:start position:0% and we cannot okay 00:08:47.350 --> 00:08:47.360 align:start position:0% 00:08:47.360 --> 00:08:53.269 align:start position:0% and<00:08:47.680><c> here</c><00:08:48.080><c> we</c><00:08:48.399><c> can</c><00:08:48.720><c> say</c><00:08:49.279><c> like</c> 00:08:53.269 --> 00:08:53.279 align:start position:0% 00:08:53.279 --> 00:08:56.710 align:start position:0% a<00:08:53.440><c> date</c><00:08:54.000><c> product</c><00:08:54.560><c> fetcher</c> 00:08:56.710 --> 00:08:56.720 align:start position:0% a date product fetcher 00:08:56.720 --> 00:09:01.430 align:start position:0% a date product fetcher submit.<00:08:57.920><c> So</c> 00:09:01.430 --> 00:09:01.440 align:start position:0% 00:09:01.440 --> 00:09:05.990 align:start position:0% um 00:09:05.990 --> 00:09:06.000 align:start position:0% 00:09:06.000 --> 00:09:08.710 align:start position:0% no<00:09:06.240><c> we</c><00:09:06.399><c> don't</c><00:09:06.560><c> need</c><00:09:06.880><c> title</c> 00:09:08.710 --> 00:09:08.720 align:start position:0% no we don't need title 00:09:08.720 --> 00:09:10.790 align:start position:0% no we don't need title we<00:09:08.959><c> can</c><00:09:09.200><c> send</c> 00:09:10.790 --> 00:09:10.800 align:start position:0% we can send 00:09:10.800 --> 00:09:15.590 align:start position:0% we can send um<00:09:12.080><c> status</c><00:09:13.279><c> status</c> 00:09:15.590 --> 00:09:15.600 align:start position:0% um status status 00:09:15.600 --> 00:09:20.550 align:start position:0% um status status and<00:09:15.680><c> it</c><00:09:15.839><c> will</c><00:09:16.000><c> be</c><00:09:16.399><c> product.</c> 00:09:20.550 --> 00:09:20.560 align:start position:0% 00:09:20.560 --> 00:09:22.710 align:start position:0% Yeah,<00:09:20.800><c> we</c><00:09:21.040><c> need</c><00:09:21.200><c> to</c><00:09:21.519><c> change</c><00:09:21.920><c> the</c><00:09:22.240><c> product</c> 00:09:22.710 --> 00:09:22.720 align:start position:0% Yeah, we need to change the product 00:09:22.720 --> 00:09:25.509 align:start position:0% Yeah, we need to change the product here.<00:09:23.120><c> We</c><00:09:23.360><c> can</c> 00:09:25.509 --> 00:09:25.519 align:start position:0% here. We can 00:09:25.519 --> 00:09:33.750 align:start position:0% here. We can disabled<00:09:26.959><c> be</c><00:09:27.120><c> a</c><00:09:27.360><c> boolean.</c> 00:09:33.750 --> 00:09:33.760 align:start position:0% 00:09:33.760 --> 00:09:37.110 align:start position:0% Um,<00:09:34.560><c> what</c><00:09:34.880><c> else?</c><00:09:35.760><c> I</c><00:09:36.000><c> think</c><00:09:36.080><c> it's</c><00:09:36.399><c> okay</c><00:09:36.800><c> for</c> 00:09:37.110 --> 00:09:37.120 align:start position:0% Um, what else? I think it's okay for 00:09:37.120 --> 00:09:39.110 align:start position:0% Um, what else? I think it's okay for here. 00:09:39.110 --> 00:09:39.120 align:start position:0% here. 00:09:39.120 --> 00:09:47.829 align:start position:0% here. And<00:09:39.519><c> here</c><00:09:39.839><c> we</c><00:09:40.160><c> can</c><00:09:40.480><c> say</c><00:09:41.680><c> disable</c> 00:09:47.829 --> 00:09:47.839 align:start position:0% 00:09:47.839 --> 00:09:49.829 align:start position:0% status 00:09:49.829 --> 00:09:49.839 align:start position:0% status 00:09:49.839 --> 00:09:54.389 align:start position:0% status and 00:09:54.389 --> 00:09:54.399 align:start position:0% 00:09:54.399 --> 00:10:01.509 align:start position:0% post<00:09:55.360><c> and</c><00:09:55.600><c> I</c><00:09:55.839><c> need</c><00:09:56.080><c> another</c><00:09:56.880><c> route.</c><00:09:58.240><c> So</c><00:09:58.959><c> we</c><00:09:59.360><c> can</c> 00:10:01.509 --> 00:10:01.519 align:start position:0% post and I need another route. So we can 00:10:01.519 --> 00:10:07.110 align:start position:0% post and I need another route. So we can create<00:10:01.839><c> this</c><00:10:02.080><c> route</c><00:10:03.040><c> api.prod.</c> 00:10:07.110 --> 00:10:07.120 align:start position:0% 00:10:07.120 --> 00:10:11.350 align:start position:0% Okay, 00:10:11.350 --> 00:10:11.360 align:start position:0% 00:10:11.360 --> 00:10:13.509 align:start position:0% we<00:10:11.680><c> have</c><00:10:11.760><c> the</c><00:10:12.080><c> action.</c><00:10:12.640><c> Let's</c><00:10:12.959><c> create</c><00:10:13.200><c> the</c><00:10:13.440><c> the</c> 00:10:13.509 --> 00:10:13.519 align:start position:0% we have the action. Let's create the the 00:10:13.519 --> 00:10:19.350 align:start position:0% we have the action. Let's create the the the<00:10:14.399><c> route</c><00:10:15.120><c> now.</c> 00:10:19.350 --> 00:10:19.360 align:start position:0% 00:10:19.360 --> 00:10:21.350 align:start position:0% API 00:10:21.350 --> 00:10:21.360 align:start position:0% API 00:10:21.360 --> 00:10:24.389 align:start position:0% API dot<00:10:22.560><c> product.</c> 00:10:24.389 --> 00:10:24.399 align:start position:0% dot product. 00:10:24.399 --> 00:10:25.910 align:start position:0% dot product. Yes. 00:10:25.910 --> 00:10:25.920 align:start position:0% Yes. 00:10:25.920 --> 00:10:27.990 align:start position:0% Yes. Export 00:10:27.990 --> 00:10:28.000 align:start position:0% Export 00:10:28.000 --> 00:10:30.550 align:start position:0% Export sync<00:10:28.640><c> function</c> 00:10:30.550 --> 00:10:30.560 align:start position:0% sync function 00:10:30.560 --> 00:10:34.949 align:start position:0% sync function action. 00:10:34.949 --> 00:10:34.959 align:start position:0% 00:10:34.959 --> 00:10:38.230 align:start position:0% Sometimes<00:10:35.760><c> that's</c><00:10:36.160><c> not</c><00:10:36.640><c> really</c><00:10:37.200><c> action</c> 00:10:38.230 --> 00:10:38.240 align:start position:0% Sometimes that's not really action 00:10:38.240 --> 00:10:43.350 align:start position:0% Sometimes that's not really action function<00:10:39.360><c> arcs.</c> 00:10:43.350 --> 00:10:43.360 align:start position:0% 00:10:43.360 --> 00:10:44.870 align:start position:0% Uh<00:10:43.872><c> [sighs]</c> 00:10:44.870 --> 00:10:44.880 align:start position:0% Uh [sighs] 00:10:44.880 --> 00:10:48.150 align:start position:0% Uh [sighs] we<00:10:45.279><c> can</c> 00:10:48.150 --> 00:10:48.160 align:start position:0% we can 00:10:48.160 --> 00:10:50.069 align:start position:0% we can con 00:10:50.069 --> 00:10:50.079 align:start position:0% con 00:10:50.079 --> 00:10:52.630 align:start position:0% con session 00:10:52.630 --> 00:10:52.640 align:start position:0% session 00:10:52.640 --> 00:10:55.990 align:start position:0% session a<00:10:52.880><c> wait</c><00:10:53.920><c> of</c> 00:10:55.990 --> 00:10:56.000 align:start position:0% a wait of 00:10:56.000 --> 00:10:58.389 align:start position:0% a wait of authenticates 00:10:58.389 --> 00:10:58.399 align:start position:0% authenticates 00:10:58.399 --> 00:11:02.630 align:start position:0% authenticates admin<00:10:59.040><c> request.</c><00:11:00.079><c> Okay,</c><00:11:01.519><c> we</c><00:11:01.760><c> now</c><00:11:02.000><c> can</c><00:11:02.240><c> get</c><00:11:02.399><c> the</c> 00:11:02.630 --> 00:11:02.640 align:start position:0% admin request. Okay, we now can get the 00:11:02.640 --> 00:11:04.470 align:start position:0% admin request. Okay, we now can get the body 00:11:04.470 --> 00:11:04.480 align:start position:0% body 00:11:04.480 --> 00:11:13.910 align:start position:0% body product<00:11:05.519><c> status</c> 00:11:13.910 --> 00:11:13.920 align:start position:0% 00:11:13.920 --> 00:11:15.509 align:start position:0% or 00:11:15.509 --> 00:11:15.519 align:start position:0% or 00:11:15.519 --> 00:11:18.870 align:start position:0% or it<00:11:15.839><c> can</c><00:11:16.079><c> be</c> 00:11:18.870 --> 00:11:18.880 align:start position:0% it can be 00:11:18.880 --> 00:11:26.630 align:start position:0% it can be false. 00:11:26.630 --> 00:11:26.640 align:start position:0% 00:11:26.640 --> 00:11:30.150 align:start position:0% Uh,<00:11:27.600><c> okay.</c> 00:11:30.150 --> 00:11:30.160 align:start position:0% Uh, okay. 00:11:30.160 --> 00:11:33.590 align:start position:0% Uh, okay. I<00:11:30.399><c> just</c><00:11:30.640><c> see</c><00:11:30.959><c> if</c><00:11:31.200><c> you're</c> 00:11:33.590 --> 00:11:33.600 align:start position:0% I just see if you're 00:11:33.600 --> 00:11:37.750 align:start position:0% I just see if you're getting 00:11:37.750 --> 00:11:37.760 align:start position:0% 00:11:37.760 --> 00:11:43.829 align:start position:0% it<00:11:38.079><c> correct.</c> 00:11:43.829 --> 00:11:43.839 align:start position:0% 00:11:43.839 --> 00:11:47.990 align:start position:0% Shop 00:11:47.990 --> 00:11:48.000 align:start position:0% 00:11:48.000 --> 00:11:51.670 align:start position:0% session<00:11:48.880><c> shop.</c><00:11:49.839><c> Okay.</c> 00:11:51.670 --> 00:11:51.680 align:start position:0% session shop. Okay. 00:11:51.680 --> 00:11:59.910 align:start position:0% session shop. Okay. hang<00:11:51.839><c> in</c><00:11:52.079><c> the</c><00:11:52.320><c> table.</c><00:11:52.720><c> Now</c> 00:11:59.910 --> 00:11:59.920 align:start position:0% 00:11:59.920 --> 00:12:03.590 align:start position:0% I<00:12:00.240><c> think</c><00:12:00.399><c> we</c><00:12:00.720><c> can</c><00:12:01.040><c> create</c><00:12:01.440><c> a</c><00:12:01.839><c> button</c> 00:12:03.590 --> 00:12:03.600 align:start position:0% I think we can create a button 00:12:03.600 --> 00:12:07.350 align:start position:0% I think we can create a button element. 00:12:07.350 --> 00:12:07.360 align:start position:0% 00:12:07.360 --> 00:12:27.829 align:start position:0% You<00:12:07.600><c> can</c><00:12:08.079><c> pass</c><00:12:08.880><c> product.</c> 00:12:27.829 --> 00:12:27.839 align:start position:0% 00:12:27.839 --> 00:12:31.430 align:start position:0% Oh, 00:12:31.430 --> 00:12:31.440 align:start position:0% 00:12:31.440 --> 00:12:34.949 align:start position:0% okay. 00:12:34.949 --> 00:12:34.959 align:start position:0% 00:12:34.959 --> 00:12:37.590 align:start position:0% button 00:12:37.590 --> 00:12:37.600 align:start position:0% button 00:12:37.600 --> 00:12:45.350 align:start position:0% button and<00:12:37.920><c> here</c><00:12:38.160><c> we</c><00:12:38.399><c> can</c><00:12:39.440><c> button</c><00:12:40.000><c> element</c><00:12:40.959><c> product.</c> 00:12:45.350 --> 00:12:45.360 align:start position:0% 00:12:45.360 --> 00:12:49.910 align:start position:0% It<00:12:45.680><c> should</c><00:12:46.560><c> keep</c><00:12:47.839><c> my</c><00:12:48.160><c> application</c><00:12:48.880><c> working.</c> 00:12:49.910 --> 00:12:49.920 align:start position:0% It should keep my application working. 00:12:49.920 --> 00:12:52.870 align:start position:0% It should keep my application working. Let's<00:12:50.240><c> just</c><00:12:50.639><c> check.</c> 00:12:52.870 --> 00:12:52.880 align:start position:0% Let's just check. 00:12:52.880 --> 00:12:56.790 align:start position:0% Let's just check. Okay. 00:12:56.790 --> 00:12:56.800 align:start position:0% 00:12:56.800 --> 00:13:01.829 align:start position:0% Yes,<00:12:57.360><c> it's</c><00:12:57.760><c> all</c><00:12:58.079><c> working.</c> 00:13:01.829 --> 00:13:01.839 align:start position:0% 00:13:01.839 --> 00:13:06.550 align:start position:0% And<00:13:02.160><c> now</c><00:13:02.320><c> we</c><00:13:02.639><c> can</c><00:13:03.040><c> say</c><00:13:04.043><c> [sighs and gasps]</c> 00:13:06.550 --> 00:13:06.560 align:start position:0% 00:13:06.560 --> 00:13:09.430 align:start position:0% products 00:13:09.430 --> 00:13:09.440 align:start position:0% products 00:13:09.440 --> 00:13:11.110 align:start position:0% products disabled. 00:13:11.110 --> 00:13:11.120 align:start position:0% disabled. 00:13:11.120 --> 00:13:15.509 align:start position:0% disabled. If<00:13:11.440><c> the</c><00:13:11.680><c> product</c><00:13:12.079><c> is</c><00:13:13.200><c> disabled,</c> 00:13:15.509 --> 00:13:15.519 align:start position:0% If the product is disabled, 00:13:15.519 --> 00:13:19.990 align:start position:0% If the product is disabled, so<00:13:16.079><c> we</c><00:13:16.320><c> can</c><00:13:16.639><c> show</c><00:13:17.360><c> enabled</c> 00:13:19.990 --> 00:13:20.000 align:start position:0% so we can show enabled 00:13:20.000 --> 00:13:25.269 align:start position:0% so we can show enabled or<00:13:21.040><c> disable.</c> 00:13:25.269 --> 00:13:25.279 align:start position:0% 00:13:25.279 --> 00:13:27.670 align:start position:0% Yes,<00:13:25.760><c> exactly.</c> 00:13:27.670 --> 00:13:27.680 align:start position:0% Yes, exactly. 00:13:27.680 --> 00:13:32.870 align:start position:0% Yes, exactly. And<00:13:28.000><c> here</c> 00:13:32.870 --> 00:13:32.880 align:start position:0% 00:13:32.880 --> 00:13:37.990 align:start position:0% product<00:13:33.680><c> is</c><00:13:34.480><c> disabled.</c><00:13:35.519><c> I</c><00:13:35.839><c> want</c><00:13:36.079><c> to</c><00:13:36.320><c> show</c><00:13:37.760><c> the</c> 00:13:37.990 --> 00:13:38.000 align:start position:0% product is disabled. I want to show the 00:13:38.000 --> 00:13:39.750 align:start position:0% product is disabled. I want to show the product<00:13:38.240><c> is</c><00:13:38.399><c> disabled.</c><00:13:38.720><c> I</c><00:13:38.959><c> need</c><00:13:39.040><c> to</c><00:13:39.200><c> enable.</c> 00:13:39.750 --> 00:13:39.760 align:start position:0% product is disabled. I need to enable. 00:13:39.760 --> 00:13:43.670 align:start position:0% product is disabled. I need to enable. So<00:13:40.079><c> I</c><00:13:40.399><c> need</c><00:13:40.639><c> show</c><00:13:41.519><c> success.</c> 00:13:43.670 --> 00:13:43.680 align:start position:0% So I need show success. 00:13:43.680 --> 00:13:46.870 align:start position:0% So I need show success. And<00:13:43.920><c> here</c><00:13:44.399><c> are</c><00:13:44.639><c> critical.</c> 00:13:46.870 --> 00:13:46.880 align:start position:0% And here are critical. 00:13:46.880 --> 00:13:48.710 align:start position:0% And here are critical. Correct. 00:13:48.710 --> 00:13:48.720 align:start position:0% Correct. 00:13:48.720 --> 00:13:52.790 align:start position:0% Correct. I<00:13:48.959><c> need</c><00:13:49.120><c> the</c><00:13:49.519><c> same</c> 00:13:52.790 --> 00:13:52.800 align:start position:0% 00:13:52.800 --> 00:14:01.670 align:start position:0% for<00:13:53.200><c> this</c><00:13:53.600><c> one.</c> 00:14:01.670 --> 00:14:01.680 align:start position:0% 00:14:01.680 --> 00:14:07.350 align:start position:0% in<00:14:02.480><c> here</c> 00:14:07.350 --> 00:14:07.360 align:start position:0% 00:14:07.360 --> 00:14:14.870 align:start position:0% active. 00:14:14.870 --> 00:14:14.880 align:start position:0% 00:14:14.880 --> 00:14:18.710 align:start position:0% Maybe<00:14:15.440><c> they</c><00:14:15.839><c> have</c><00:14:16.160><c> some</c><00:14:17.040><c> active.</c> 00:14:18.710 --> 00:14:18.720 align:start position:0% Maybe they have some active. 00:14:18.720 --> 00:14:22.870 align:start position:0% Maybe they have some active. Yes,<00:14:19.279><c> status</c><00:14:20.000><c> active.</c> 00:14:22.870 --> 00:14:22.880 align:start position:0% Yes, status active. 00:14:22.880 --> 00:14:28.069 align:start position:0% Yes, status active. So<00:14:24.000><c> here</c><00:14:24.320><c> we</c><00:14:24.639><c> can</c><00:14:24.959><c> say</c> 00:14:28.069 --> 00:14:28.079 align:start position:0% 00:14:28.079 --> 00:14:32.470 align:start position:0% enable 00:14:32.470 --> 00:14:32.480 align:start position:0% 00:14:32.480 --> 00:14:34.310 align:start position:0% status 00:14:34.310 --> 00:14:34.320 align:start position:0% status 00:14:34.320 --> 00:14:39.990 align:start position:0% status active<00:14:35.600><c> and</c><00:14:35.745><c> [snorts]</c><00:14:36.079><c> saved.</c> 00:14:39.990 --> 00:14:40.000 align:start position:0% 00:14:40.000 --> 00:14:43.590 align:start position:0% So<00:14:40.240><c> it</c><00:14:40.560><c> should</c><00:14:40.880><c> keep</c><00:14:41.279><c> working.</c> 00:14:43.590 --> 00:14:43.600 align:start position:0% So it should keep working. 00:14:43.600 --> 00:14:51.269 align:start position:0% So it should keep working. Perfect.<00:14:44.240><c> It's</c><00:14:44.480><c> all</c><00:14:44.800><c> working.</c> 00:14:51.269 --> 00:14:51.279 align:start position:0% 00:14:51.279 --> 00:15:04.870 align:start position:0% And<00:14:51.760><c> here</c> 00:15:04.870 --> 00:15:04.880 align:start position:0% 00:15:04.880 --> 00:15:07.030 align:start position:0% neutral. 00:15:07.030 --> 00:15:07.040 align:start position:0% neutral. 00:15:07.040 --> 00:15:10.629 align:start position:0% neutral. Okay. 00:15:10.629 --> 00:15:10.639 align:start position:0% 00:15:10.639 --> 00:15:14.470 align:start position:0% So<00:15:10.959><c> now</c><00:15:11.440><c> we</c><00:15:12.160><c> let's</c><00:15:12.560><c> see</c><00:15:12.959><c> if</c> 00:15:14.470 --> 00:15:14.480 align:start position:0% So now we let's see if 00:15:14.480 --> 00:15:19.189 align:start position:0% So now we let's see if uh<00:15:14.720><c> our</c><00:15:15.120><c> routes</c><00:15:16.160><c> will</c><00:15:16.880><c> get</c><00:15:17.839><c> let's</c><00:15:18.240><c> close</c><00:15:18.800><c> let's</c> 00:15:19.189 --> 00:15:19.199 align:start position:0% uh our routes will get let's close let's 00:15:19.199 --> 00:15:21.189 align:start position:0% uh our routes will get let's close let's close 00:15:21.189 --> 00:15:21.199 align:start position:0% close 00:15:21.199 --> 00:15:24.069 align:start position:0% close uh<00:15:21.760><c> here</c><00:15:22.399><c> yeah</c><00:15:22.639><c> we</c><00:15:22.880><c> have</c><00:15:23.040><c> a</c><00:15:23.279><c> console</c><00:15:23.680><c> log</c> 00:15:24.069 --> 00:15:24.079 align:start position:0% uh here yeah we have a console log 00:15:24.079 --> 00:15:26.230 align:start position:0% uh here yeah we have a console log product<00:15:24.480><c> ID</c> 00:15:26.230 --> 00:15:26.240 align:start position:0% product ID 00:15:26.240 --> 00:15:30.629 align:start position:0% product ID product<00:15:26.560><c> ID</c><00:15:26.880><c> and</c><00:15:27.440><c> status</c><00:15:28.399><c> let's</c><00:15:28.720><c> see</c><00:15:30.079><c> if</c><00:15:30.399><c> we</c> 00:15:30.629 --> 00:15:30.639 align:start position:0% product ID and status let's see if we 00:15:30.639 --> 00:15:34.550 align:start position:0% product ID and status let's see if we click<00:15:31.680><c> we</c><00:15:32.000><c> should</c><00:15:32.240><c> be</c><00:15:32.399><c> able</c><00:15:32.639><c> to</c><00:15:32.959><c> see</c> 00:15:34.550 --> 00:15:34.560 align:start position:0% click we should be able to see 00:15:34.560 --> 00:15:38.310 align:start position:0% click we should be able to see the<00:15:35.360><c> product</c><00:15:35.920><c> ID</c> 00:15:38.310 --> 00:15:38.320 align:start position:0% the product ID 00:15:38.320 --> 00:15:43.350 align:start position:0% the product ID disabled<00:15:39.120><c> true</c><00:15:40.480><c> for</c><00:15:41.040><c> my</c><00:15:41.440><c> shop.</c><00:15:42.079><c> So,</c><00:15:42.959><c> it's</c> 00:15:43.350 --> 00:15:43.360 align:start position:0% disabled true for my shop. So, it's 00:15:43.360 --> 00:15:45.590 align:start position:0% disabled true for my shop. So, it's everything<00:15:43.920><c> right</c> 00:15:45.590 --> 00:15:45.600 align:start position:0% everything right 00:15:45.600 --> 00:15:51.910 align:start position:0% everything right here.<00:15:46.880><c> Okay,</c><00:15:48.000><c> it's</c><00:15:48.399><c> working</c><00:15:49.519><c> fine.</c> 00:15:51.910 --> 00:15:51.920 align:start position:0% here. Okay, it's working fine. 00:15:51.920 --> 00:15:55.189 align:start position:0% here. Okay, it's working fine. Now,<00:15:52.079><c> we</c><00:15:52.320><c> need</c><00:15:52.480><c> to</c><00:15:52.720><c> save</c><00:15:53.040><c> this</c><00:15:53.360><c> change,</c><00:15:53.920><c> right?</c> 00:15:55.189 --> 00:15:55.199 align:start position:0% Now, we need to save this change, right? 00:15:55.199 --> 00:15:58.069 align:start position:0% Now, we need to save this change, right? Where<00:15:55.519><c> we</c><00:15:55.759><c> can</c><00:15:56.000><c> save</c><00:15:56.320><c> it.</c><00:15:56.959><c> Where</c><00:15:57.519><c> we</c><00:15:57.839><c> can</c> 00:15:58.069 --> 00:15:58.079 align:start position:0% Where we can save it. Where we can 00:15:58.079 --> 00:15:59.829 align:start position:0% Where we can save it. Where we can create 00:15:59.829 --> 00:15:59.839 align:start position:0% create 00:15:59.839 --> 00:16:02.150 align:start position:0% create uh<00:16:00.000><c> I</c><00:16:00.240><c> already</c><00:16:00.560><c> created</c><00:16:01.120><c> here</c><00:16:01.440><c> but</c><00:16:01.680><c> there</c><00:16:01.920><c> is</c> 00:16:02.150 --> 00:16:02.160 align:start position:0% uh I already created here but there is 00:16:02.160 --> 00:16:04.310 align:start position:0% uh I already created here but there is nothing<00:16:02.480><c> inside.</c><00:16:03.199><c> We</c><00:16:03.440><c> can</c><00:16:03.600><c> create</c><00:16:03.759><c> a</c><00:16:04.000><c> folder</c> 00:16:04.310 --> 00:16:04.320 align:start position:0% nothing inside. We can create a folder 00:16:04.320 --> 00:16:06.470 align:start position:0% nothing inside. We can create a folder called<00:16:04.720><c> repositories</c> 00:16:06.470 --> 00:16:06.480 align:start position:0% called repositories 00:16:06.480 --> 00:16:08.870 align:start position:0% called repositories and<00:16:06.720><c> inside</c><00:16:07.120><c> we</c><00:16:07.360><c> can</c><00:16:07.519><c> create</c><00:16:07.759><c> a</c><00:16:08.160><c> product</c> 00:16:08.870 --> 00:16:08.880 align:start position:0% and inside we can create a product 00:16:08.880 --> 00:16:11.350 align:start position:0% and inside we can create a product repository 00:16:11.350 --> 00:16:11.360 align:start position:0% repository 00:16:11.360 --> 00:16:13.430 align:start position:0% repository yes 00:16:13.430 --> 00:16:13.440 align:start position:0% yes 00:16:13.440 --> 00:16:18.949 align:start position:0% yes con<00:16:14.000><c> repository</c> 00:16:18.949 --> 00:16:18.959 align:start position:0% 00:16:18.959 --> 00:16:22.870 align:start position:0% for<00:16:19.680><c> the</c><00:16:19.839><c> full</c><00:16:20.959><c> repository.</c><00:16:22.079><c> I</c><00:16:22.320><c> like</c><00:16:22.560><c> to</c> 00:16:22.870 --> 00:16:22.880 align:start position:0% for the full repository. I like to 00:16:22.880 --> 00:16:25.189 align:start position:0% for the full repository. I like to create 00:16:25.189 --> 00:16:25.199 align:start position:0% create 00:16:25.199 --> 00:16:29.269 align:start position:0% create an<00:16:25.680><c> index</c><00:16:26.800><c> file.</c> 00:16:29.269 --> 00:16:29.279 align:start position:0% an index file. 00:16:29.279 --> 00:16:34.310 align:start position:0% an index file. Here<00:16:29.600><c> we</c><00:16:29.839><c> can</c><00:16:30.160><c> export</c><00:16:31.199><c> the</c><00:16:31.519><c> full</c><00:16:32.639><c> as</c><00:16:33.839><c> product</c> 00:16:34.310 --> 00:16:34.320 align:start position:0% Here we can export the full as product 00:16:34.320 --> 00:16:37.910 align:start position:0% Here we can export the full as product repository.<00:16:35.519><c> Exactly.</c> 00:16:37.910 --> 00:16:37.920 align:start position:0% repository. Exactly. 00:16:37.920 --> 00:16:44.310 align:start position:0% repository. Exactly. And<00:16:38.560><c> now</c><00:16:39.040><c> we</c><00:16:39.360><c> can</c><00:16:39.759><c> create</c><00:16:40.480><c> our</c><00:16:41.360><c> methods.</c> 00:16:44.310 --> 00:16:44.320 align:start position:0% And now we can create our methods. 00:16:44.320 --> 00:16:46.389 align:start position:0% And now we can create our methods. Find 00:16:46.389 --> 00:16:46.399 align:start position:0% Find 00:16:46.399 --> 00:16:48.870 align:start position:0% Find actually<00:16:46.880><c> is</c><00:16:47.120><c> the</c> 00:16:48.870 --> 00:16:48.880 align:start position:0% actually is the 00:16:48.880 --> 00:16:54.310 align:start position:0% actually is the oops<00:16:49.120><c> search</c> 00:16:54.310 --> 00:16:54.320 align:start position:0% 00:16:54.320 --> 00:16:57.829 align:start position:0% um 00:16:57.829 --> 00:16:57.839 align:start position:0% 00:16:57.839 --> 00:17:02.949 align:start position:0% by<00:16:58.240><c> shop.</c> 00:17:02.949 --> 00:17:02.959 align:start position:0% 00:17:02.959 --> 00:17:06.949 align:start position:0% So<00:17:04.079><c> this</c><00:17:04.400><c> one</c> 00:17:06.949 --> 00:17:06.959 align:start position:0% So this one 00:17:06.959 --> 00:17:12.309 align:start position:0% So this one we<00:17:07.280><c> can</c> 00:17:12.309 --> 00:17:12.319 align:start position:0% 00:17:12.319 --> 00:17:15.909 align:start position:0% send 00:17:15.909 --> 00:17:15.919 align:start position:0% 00:17:15.919 --> 00:17:19.189 align:start position:0% data<00:17:16.400><c> will</c><00:17:16.720><c> be</c> 00:17:19.189 --> 00:17:19.199 align:start position:0% data will be 00:17:19.199 --> 00:17:24.150 align:start position:0% data will be Prisma 00:17:24.150 --> 00:17:24.160 align:start position:0% 00:17:24.160 --> 00:17:26.710 align:start position:0% product 00:17:26.710 --> 00:17:26.720 align:start position:0% product 00:17:26.720 --> 00:17:32.789 align:start position:0% product creating<00:17:27.439><c> puts.</c> 00:17:32.789 --> 00:17:32.799 align:start position:0% 00:17:32.799 --> 00:17:36.310 align:start position:0% Okay. 00:17:36.310 --> 00:17:36.320 align:start position:0% 00:17:36.320 --> 00:17:41.430 align:start position:0% So<00:17:36.799><c> we</c><00:17:37.120><c> can</c><00:17:37.440><c> return.</c> 00:17:41.430 --> 00:17:41.440 align:start position:0% 00:17:41.440 --> 00:17:45.190 align:start position:0% I<00:17:41.679><c> need</c><00:17:42.080><c> every</c><00:17:42.320><c> time</c><00:17:42.480><c> I</c><00:17:42.720><c> need</c><00:17:42.880><c> to</c><00:17:43.120><c> check</c><00:17:43.600><c> Prisma</c> 00:17:45.190 --> 00:17:45.200 align:start position:0% I need every time I need to check Prisma 00:17:45.200 --> 00:17:49.350 align:start position:0% I need every time I need to check Prisma up<00:17:45.600><c> search</c> 00:17:49.350 --> 00:17:49.360 align:start position:0% 00:17:49.360 --> 00:17:55.029 align:start position:0% up<00:17:49.679><c> search.</c> 00:17:55.029 --> 00:17:55.039 align:start position:0% 00:17:55.039 --> 00:18:07.590 align:start position:0% Okay.<00:17:56.080><c> We</c><00:17:56.320><c> need</c><00:17:56.559><c> to</c> 00:18:07.590 --> 00:18:07.600 align:start position:0% 00:18:07.600 --> 00:18:12.390 align:start position:0% here<00:18:07.840><c> we</c><00:18:08.080><c> need</c><00:18:08.400><c> to</c> 00:18:12.390 --> 00:18:12.400 align:start position:0% 00:18:12.400 --> 00:18:23.110 align:start position:0% where 00:18:23.110 --> 00:18:23.120 align:start position:0% 00:18:23.120 --> 00:18:29.029 align:start position:0% Shopify<00:18:23.919><c> ID</c><00:18:25.360><c> shop.</c> 00:18:29.029 --> 00:18:29.039 align:start position:0% 00:18:29.039 --> 00:18:46.150 align:start position:0% Um, 00:18:46.150 --> 00:18:46.160 align:start position:0% 00:18:46.160 --> 00:18:48.070 align:start position:0% Shopify 00:18:48.070 --> 00:18:48.080 align:start position:0% Shopify 00:18:48.080 --> 00:18:59.750 align:start position:0% Shopify ID 00:18:59.750 --> 00:18:59.760 align:start position:0% 00:18:59.760 --> 00:19:01.430 align:start position:0% Oh 00:19:01.430 --> 00:19:01.440 align:start position:0% Oh 00:19:01.440 --> 00:19:06.549 align:start position:0% Oh yeah.<00:19:02.080><c> return</c><00:19:02.960><c> Prisma</c> 00:19:06.549 --> 00:19:06.559 align:start position:0% 00:19:06.559 --> 00:19:09.190 align:start position:0% from<00:19:06.880><c> RDB</c><00:19:07.600><c> server</c> 00:19:09.190 --> 00:19:09.200 align:start position:0% from RDB server 00:19:09.200 --> 00:19:12.310 align:start position:0% from RDB server uh<00:19:09.679><c> products</c> 00:19:12.310 --> 00:19:12.320 align:start position:0% uh products 00:19:12.320 --> 00:19:23.990 align:start position:0% uh products search. 00:19:23.990 --> 00:19:24.000 align:start position:0% 00:19:24.000 --> 00:19:27.270 align:start position:0% H<00:19:24.480><c> let</c><00:19:24.640><c> me</c> 00:19:27.270 --> 00:19:27.280 align:start position:0% H let me 00:19:27.280 --> 00:19:33.270 align:start position:0% H let me okay<00:19:28.160><c> this</c><00:19:28.400><c> is</c><00:19:28.880><c> a</c><00:19:29.200><c> little</c><00:19:30.000><c> strange.</c><00:19:31.120><c> Okay.</c> 00:19:33.270 --> 00:19:33.280 align:start position:0% okay this is a little strange. Okay. 00:19:33.280 --> 00:19:38.630 align:start position:0% okay this is a little strange. Okay. Where<00:19:34.320><c> Shopify</c><00:19:35.039><c> ID?</c> 00:19:38.630 --> 00:19:38.640 align:start position:0% 00:19:38.640 --> 00:19:41.830 align:start position:0% Create<00:19:39.120><c> Shopify</c><00:19:39.760><c> ID</c><00:19:40.160><c> in</c><00:19:40.400><c> shop.</c><00:19:40.720><c> Shopy</c><00:19:41.280><c> ID</c><00:19:41.600><c> in</c> 00:19:41.830 --> 00:19:41.840 align:start position:0% Create Shopify ID in shop. Shopy ID in 00:19:41.840 --> 00:19:44.870 align:start position:0% Create Shopify ID in shop. Shopy ID in shop. 00:19:44.870 --> 00:19:44.880 align:start position:0% 00:19:44.880 --> 00:19:47.270 align:start position:0% Right. 00:19:47.270 --> 00:19:47.280 align:start position:0% Right. 00:19:47.280 --> 00:19:51.270 align:start position:0% Right. Shopy<00:19:48.160><c> disabled</c><00:19:49.520><c> in</c><00:19:49.760><c> shop.</c><00:19:50.480><c> No,</c><00:19:50.720><c> I</c><00:19:50.880><c> need</c><00:19:51.120><c> it</c> 00:19:51.270 --> 00:19:51.280 align:start position:0% Shopy disabled in shop. No, I need it 00:19:51.280 --> 00:19:53.270 align:start position:0% Shopy disabled in shop. No, I need it disabled. 00:19:53.270 --> 00:19:53.280 align:start position:0% disabled. 00:19:53.280 --> 00:19:55.909 align:start position:0% disabled. So 00:19:55.909 --> 00:19:55.919 align:start position:0% So 00:19:55.919 --> 00:20:05.190 align:start position:0% So disabled. 00:20:05.190 --> 00:20:05.200 align:start position:0% 00:20:05.200 --> 00:20:09.270 align:start position:0% and<00:20:05.520><c> disabled.</c> 00:20:09.270 --> 00:20:09.280 align:start position:0% 00:20:09.280 --> 00:20:12.950 align:start position:0% And<00:20:09.600><c> here</c><00:20:10.240><c> we</c><00:20:10.559><c> can</c> 00:20:12.950 --> 00:20:12.960 align:start position:0% And here we can 00:20:12.960 --> 00:20:21.590 align:start position:0% And here we can pass<00:20:13.280><c> the</c><00:20:13.520><c> upsert</c><00:20:14.160><c> by</c><00:20:14.240><c> Shopify</c><00:20:14.960><c> ID.</c> 00:20:21.590 --> 00:20:21.600 align:start position:0% 00:20:21.600 --> 00:20:23.510 align:start position:0% And<00:20:21.919><c> now</c> 00:20:23.510 --> 00:20:23.520 align:start position:0% And now 00:20:23.520 --> 00:20:29.909 align:start position:0% And now in<00:20:23.760><c> the</c><00:20:25.039><c> API</c><00:20:26.240><c> what</c><00:20:26.480><c> we</c><00:20:26.720><c> can</c><00:20:26.960><c> do</c><00:20:27.840><c> is</c> 00:20:29.909 --> 00:20:29.919 align:start position:0% in the API what we can do is 00:20:29.919 --> 00:20:32.789 align:start position:0% in the API what we can do is basically 00:20:32.789 --> 00:20:32.799 align:start position:0% basically 00:20:32.799 --> 00:20:35.590 align:start position:0% basically product<00:20:34.080><c> a</c> 00:20:35.590 --> 00:20:35.600 align:start position:0% product a 00:20:35.600 --> 00:20:39.029 align:start position:0% product a product<00:20:36.320><c> repository</c> 00:20:39.029 --> 00:20:39.039 align:start position:0% product repository 00:20:39.039 --> 00:20:42.710 align:start position:0% product repository and<00:20:39.360><c> we</c><00:20:39.679><c> can</c><00:20:39.919><c> pass</c> 00:20:42.710 --> 00:20:42.720 align:start position:0% and we can pass 00:20:42.720 --> 00:20:49.190 align:start position:0% and we can pass Shopify<00:20:43.440><c> ID</c><00:20:44.240><c> as</c><00:20:44.640><c> product</c><00:20:45.039><c> ID</c><00:20:46.480><c> shop</c> 00:20:49.190 --> 00:20:49.200 align:start position:0% Shopify ID as product ID shop 00:20:49.200 --> 00:20:50.870 align:start position:0% Shopify ID as product ID shop and 00:20:50.870 --> 00:20:50.880 align:start position:0% and 00:20:50.880 --> 00:20:53.750 align:start position:0% and status.<00:20:51.120><c> status</c> 00:20:53.750 --> 00:20:53.760 align:start position:0% status. status 00:20:53.760 --> 00:20:55.430 align:start position:0% status. status making 00:20:55.430 --> 00:20:55.440 align:start position:0% making 00:20:55.440 --> 00:21:06.390 align:start position:0% making status<00:20:56.799><c> boolean</c> 00:21:06.390 --> 00:21:06.400 align:start position:0% 00:21:06.400 --> 00:21:09.270 align:start position:0% so<00:21:06.799><c> it's</c><00:21:07.200><c> true</c><00:21:07.760><c> false</c> 00:21:09.270 --> 00:21:09.280 align:start position:0% so it's true false 00:21:09.280 --> 00:21:13.510 align:start position:0% so it's true false I'm<00:21:09.679><c> saying</c><00:21:10.240><c> as</c><00:21:10.960><c> um</c> 00:21:13.510 --> 00:21:13.520 align:start position:0% I'm saying as um 00:21:13.520 --> 00:21:18.310 align:start position:0% I'm saying as um okay 00:21:18.310 --> 00:21:18.320 align:start position:0% 00:21:18.320 --> 00:21:25.029 align:start position:0% let's<00:21:18.640><c> close</c><00:21:18.960><c> in</c><00:21:19.280><c> here</c><00:21:19.520><c> I</c><00:21:20.000><c> And</c> 00:21:25.029 --> 00:21:25.039 align:start position:0% 00:21:25.039 --> 00:21:28.149 align:start position:0% oh 00:21:28.149 --> 00:21:28.159 align:start position:0% 00:21:28.159 --> 00:21:32.230 align:start position:0% here 00:21:32.230 --> 00:21:32.240 align:start position:0% 00:21:32.240 --> 00:21:35.669 align:start position:0% sometimes<00:21:32.880><c> I</c><00:21:33.200><c> hate</c><00:21:33.679><c> copilot.</c> 00:21:35.669 --> 00:21:35.679 align:start position:0% sometimes I hate copilot. 00:21:35.679 --> 00:21:39.029 align:start position:0% sometimes I hate copilot. Let's<00:21:36.000><c> just</c><00:21:36.320><c> check</c><00:21:36.640><c> the</c> 00:21:39.029 --> 00:21:39.039 align:start position:0% Let's just check the 00:21:39.039 --> 00:21:50.149 align:start position:0% Let's just check the type<00:21:39.360><c> of</c><00:21:40.000><c> tax</c><00:21:40.480><c> boo</c> 00:21:50.149 --> 00:21:50.159 align:start position:0% 00:21:50.159 --> 00:21:55.510 align:start position:0% and<00:21:50.400><c> here.</c> 00:21:55.510 --> 00:21:55.520 align:start position:0% 00:21:55.520 --> 00:21:59.029 align:start position:0% Yeah,<00:21:55.840><c> it's</c><00:21:56.080><c> a</c><00:21:56.320><c> boolean.</c> 00:21:59.029 --> 00:21:59.039 align:start position:0% Yeah, it's a boolean. 00:21:59.039 --> 00:22:00.950 align:start position:0% Yeah, it's a boolean. Um, 00:22:00.950 --> 00:22:00.960 align:start position:0% Um, 00:22:00.960 --> 00:22:05.350 align:start position:0% Um, so<00:22:01.360><c> everything</c><00:22:01.919><c> now</c><00:22:02.799><c> should</c><00:22:03.200><c> be</c> 00:22:05.350 --> 00:22:05.360 align:start position:0% so everything now should be 00:22:05.360 --> 00:22:10.470 align:start position:0% so everything now should be working<00:22:06.480><c> really</c><00:22:07.600><c> fine.</c> 00:22:10.470 --> 00:22:10.480 align:start position:0% working really fine. 00:22:10.480 --> 00:22:15.669 align:start position:0% working really fine. Products 00:22:15.669 --> 00:22:15.679 align:start position:0% 00:22:15.679 --> 00:22:19.510 align:start position:0% sorry 00:22:19.510 --> 00:22:19.520 align:start position:0% 00:22:19.520 --> 00:22:22.470 align:start position:0% and 00:22:22.470 --> 00:22:22.480 align:start position:0% and 00:22:22.480 --> 00:22:25.270 align:start position:0% and status. 00:22:25.270 --> 00:22:25.280 align:start position:0% status. 00:22:25.280 --> 00:22:28.950 align:start position:0% status. Okay.<00:22:26.240><c> Okay.</c><00:22:26.640><c> Okay.</c><00:22:27.200><c> And</c><00:22:27.520><c> now</c><00:22:27.679><c> we</c><00:22:28.080><c> need</c><00:22:28.400><c> to</c><00:22:28.640><c> get</c> 00:22:28.950 --> 00:22:28.960 align:start position:0% Okay. Okay. Okay. And now we need to get 00:22:28.960 --> 00:22:30.789 align:start position:0% Okay. Okay. Okay. And now we need to get back 00:22:30.789 --> 00:22:30.799 align:start position:0% back 00:22:30.799 --> 00:22:34.870 align:start position:0% back the<00:22:31.280><c> response</c><00:22:32.080><c> of</c><00:22:32.480><c> this</c><00:22:32.720><c> action.</c><00:22:33.760><c> So</c><00:22:34.400><c> we</c><00:22:34.720><c> need</c> 00:22:34.870 --> 00:22:34.880 align:start position:0% the response of this action. So we need 00:22:34.880 --> 00:22:36.630 align:start position:0% the response of this action. So we need another 00:22:36.630 --> 00:22:36.640 align:start position:0% another 00:22:36.640 --> 00:22:41.270 align:start position:0% another use<00:22:37.039><c> effect</c> 00:22:41.270 --> 00:22:41.280 align:start position:0% 00:22:41.280 --> 00:22:45.510 align:start position:0% where<00:22:41.600><c> we</c><00:22:42.000><c> can</c> 00:22:45.510 --> 00:22:45.520 align:start position:0% 00:22:45.520 --> 00:22:49.830 align:start position:0% get<00:22:45.840><c> this</c><00:22:46.159><c> guy</c> 00:22:49.830 --> 00:22:49.840 align:start position:0% 00:22:49.840 --> 00:22:53.270 align:start position:0% data. 00:22:53.270 --> 00:22:53.280 align:start position:0% 00:22:53.280 --> 00:23:03.830 align:start position:0% Yes. 00:23:03.830 --> 00:23:03.840 align:start position:0% 00:23:03.840 --> 00:23:07.669 align:start position:0% Let's<00:23:04.159><c> see.</c> 00:23:07.669 --> 00:23:07.679 align:start position:0% 00:23:07.679 --> 00:23:10.549 align:start position:0% Oh,<00:23:08.720><c> I</c><00:23:08.960><c> think</c><00:23:09.120><c> I</c><00:23:09.280><c> know</c><00:23:09.440><c> the</c><00:23:09.760><c> problem.</c><00:23:10.240><c> The</c> 00:23:10.549 --> 00:23:10.559 align:start position:0% Oh, I think I know the problem. The 00:23:10.559 --> 00:23:14.950 align:start position:0% Oh, I think I know the problem. The problem<00:23:10.720><c> is</c><00:23:11.039><c> because</c><00:23:11.520><c> every</c><00:23:11.840><c> time</c><00:23:12.000><c> that</c><00:23:12.240><c> I</c> 00:23:14.950 --> 00:23:14.960 align:start position:0% problem is because every time that I 00:23:14.960 --> 00:23:17.590 align:start position:0% problem is because every time that I change<00:23:15.360><c> my</c><00:23:15.679><c> database,</c><00:23:16.320><c> I</c><00:23:16.559><c> need</c><00:23:16.640><c> to</c><00:23:16.799><c> reset</c><00:23:17.280><c> my</c> 00:23:17.590 --> 00:23:17.600 align:start position:0% change my database, I need to reset my 00:23:17.600 --> 00:23:21.270 align:start position:0% change my database, I need to reset my application. 00:23:21.270 --> 00:23:21.280 align:start position:0% 00:23:21.280 --> 00:23:26.070 align:start position:0% Yeah.<00:23:21.919><c> Let's</c><00:23:22.159><c> see.</c><00:23:22.400><c> Let's</c><00:23:22.720><c> see.</c> 00:23:26.070 --> 00:23:26.080 align:start position:0% 00:23:26.080 --> 00:23:28.549 align:start position:0% And<00:23:26.320><c> here</c><00:23:26.720><c> let's</c><00:23:26.960><c> see</c><00:23:27.039><c> the</c><00:23:27.280><c> Prisma</c><00:23:27.840><c> studio</c><00:23:28.240><c> if</c> 00:23:28.549 --> 00:23:28.559 align:start position:0% And here let's see the Prisma studio if 00:23:28.559 --> 00:23:32.470 align:start position:0% And here let's see the Prisma studio if we<00:23:28.960><c> are</c><00:23:29.440><c> actually</c> 00:23:32.470 --> 00:23:32.480 align:start position:0% 00:23:32.480 --> 00:23:34.710 align:start position:0% have<00:23:32.720><c> the</c><00:23:32.960><c> product</c><00:23:33.360><c> table</c><00:23:33.840><c> but</c><00:23:34.080><c> we</c><00:23:34.320><c> don't</c><00:23:34.559><c> have</c> 00:23:34.710 --> 00:23:34.720 align:start position:0% have the product table but we don't have 00:23:34.720 --> 00:23:36.870 align:start position:0% have the product table but we don't have any 00:23:36.870 --> 00:23:36.880 align:start position:0% any 00:23:36.880 --> 00:23:46.390 align:start position:0% any row<00:23:37.840><c> yet.</c> 00:23:46.390 --> 00:23:46.400 align:start position:0% 00:23:46.400 --> 00:23:50.549 align:start position:0% Okay,<00:23:46.880><c> I</c><00:23:47.200><c> clicked.</c> 00:23:50.549 --> 00:23:50.559 align:start position:0% 00:23:50.559 --> 00:23:54.630 align:start position:0% Yes,<00:23:51.039><c> but</c><00:23:51.280><c> it's</c><00:23:51.600><c> not</c><00:23:52.000><c> reflecting.</c> 00:23:54.630 --> 00:23:54.640 align:start position:0% Yes, but it's not reflecting. 00:23:54.640 --> 00:23:58.710 align:start position:0% Yes, but it's not reflecting. And<00:23:54.880><c> it</c><00:23:55.039><c> will</c><00:23:55.280><c> not</c><00:23:55.520><c> reflect</c><00:23:56.320><c> if</c><00:23:56.640><c> I</c><00:23:58.080><c> reload</c><00:23:58.480><c> the</c> 00:23:58.710 --> 00:23:58.720 align:start position:0% And it will not reflect if I reload the 00:23:58.720 --> 00:24:01.750 align:start position:0% And it will not reflect if I reload the page<00:23:59.039><c> because</c><00:23:59.360><c> my</c><00:23:59.679><c> loader</c><00:24:00.880><c> I</c><00:24:01.200><c> didn't</c><00:24:01.440><c> change</c> 00:24:01.750 --> 00:24:01.760 align:start position:0% page because my loader I didn't change 00:24:01.760 --> 00:24:04.070 align:start position:0% page because my loader I didn't change my<00:24:02.000><c> loader</c><00:24:02.480><c> yet.</c> 00:24:04.070 --> 00:24:04.080 align:start position:0% my loader yet. 00:24:04.080 --> 00:24:07.110 align:start position:0% my loader yet. So<00:24:04.400><c> why</c><00:24:04.880><c> it's</c><00:24:05.200><c> not</c><00:24:05.600><c> work?</c><00:24:05.840><c> I</c><00:24:06.000><c> think</c><00:24:06.080><c> it's</c><00:24:06.400><c> my</c><00:24:06.799><c> I</c> 00:24:07.110 --> 00:24:07.120 align:start position:0% So why it's not work? I think it's my I 00:24:07.120 --> 00:24:11.990 align:start position:0% So why it's not work? I think it's my I need<00:24:07.280><c> to</c> 00:24:11.990 --> 00:24:12.000 align:start position:0% 00:24:12.000 --> 00:24:14.230 align:start position:0% update<00:24:12.559><c> my</c> 00:24:14.230 --> 00:24:14.240 align:start position:0% update my 00:24:14.240 --> 00:24:16.630 align:start position:0% update my user<00:24:14.720><c> effect.</c> 00:24:16.630 --> 00:24:16.640 align:start position:0% user effect. 00:24:16.640 --> 00:24:19.029 align:start position:0% user effect. Let's<00:24:16.960><c> see.</c><00:24:17.200><c> Let's</c><00:24:17.440><c> see.</c> 00:24:19.029 --> 00:24:19.039 align:start position:0% Let's see. Let's see. 00:24:19.039 --> 00:24:22.470 align:start position:0% Let's see. Let's see. So<00:24:19.279><c> if</c><00:24:19.520><c> I</c><00:24:19.760><c> click</c><00:24:20.080><c> here</c> 00:24:22.470 --> 00:24:22.480 align:start position:0% So if I click here 00:24:22.480 --> 00:24:31.750 align:start position:0% So if I click here the<00:24:22.799><c> data</c><00:24:23.360><c> is</c><00:24:23.600><c> right</c><00:24:24.400><c> ID</c> 00:24:31.750 --> 00:24:31.760 align:start position:0% 00:24:31.760 --> 00:24:38.390 align:start position:0% I<00:24:31.919><c> think</c><00:24:32.159><c> it's</c><00:24:32.559><c> where</c> 00:24:38.390 --> 00:24:38.400 align:start position:0% 00:24:38.400 --> 00:25:01.430 align:start position:0% Shopify<00:24:39.200><c> ID</c><00:24:39.360><c> See?</c> 00:25:01.430 --> 00:25:01.440 align:start position:0% 00:25:01.440 --> 00:25:07.350 align:start position:0% What<00:25:01.840><c> the</c><00:25:02.240><c> heck?</c> 00:25:07.350 --> 00:25:07.360 align:start position:0% 00:25:07.360 --> 00:25:09.510 align:start position:0% No,<00:25:07.600><c> no,</c><00:25:07.840><c> no,</c><00:25:08.000><c> no,</c><00:25:08.159><c> no.</c> 00:25:09.510 --> 00:25:09.520 align:start position:0% No, no, no, no, no. 00:25:09.520 --> 00:25:13.110 align:start position:0% No, no, no, no, no. Wait,<00:25:09.919><c> wait,</c><00:25:10.240><c> wait,</c><00:25:10.480><c> wait,</c><00:25:10.720><c> wait.</c> 00:25:13.110 --> 00:25:13.120 align:start position:0% Wait, wait, wait, wait, wait. 00:25:13.120 --> 00:25:15.269 align:start position:0% Wait, wait, wait, wait, wait. Let's<00:25:13.440><c> see.</c> 00:25:15.269 --> 00:25:15.279 align:start position:0% Let's see. 00:25:15.279 --> 00:25:20.149 align:start position:0% Let's see. Uh,<00:25:15.687><c> [sighs]</c><00:25:16.159><c> it's</c><00:25:16.400><c> because</c><00:25:16.720><c> of</c><00:25:16.960><c> that.</c> 00:25:20.149 --> 00:25:20.159 align:start position:0% 00:25:20.159 --> 00:25:23.750 align:start position:0% Okay,<00:25:21.039><c> it's</c><00:25:21.360><c> saving.</c><00:25:22.000><c> So,</c> 00:25:23.750 --> 00:25:23.760 align:start position:0% Okay, it's saving. So, 00:25:23.760 --> 00:25:26.470 align:start position:0% Okay, it's saving. So, this<00:25:24.400><c> product.</c> 00:25:26.470 --> 00:25:26.480 align:start position:0% this product. 00:25:26.480 --> 00:25:28.789 align:start position:0% this product. Yeah,<00:25:26.960><c> that</c><00:25:27.279><c> is</c> 00:25:28.789 --> 00:25:28.799 align:start position:0% Yeah, that is 00:25:28.799 --> 00:25:32.630 align:start position:0% Yeah, that is I'm<00:25:29.200><c> getting</c><00:25:30.080><c> error</c><00:25:30.559><c> because</c><00:25:31.840><c> I</c><00:25:32.159><c> know</c><00:25:32.320><c> what</c> 00:25:32.630 --> 00:25:32.640 align:start position:0% I'm getting error because I know what 00:25:32.640 --> 00:25:35.830 align:start position:0% I'm getting error because I know what what's<00:25:33.039><c> going</c><00:25:33.279><c> on.</c><00:25:33.679><c> But</c><00:25:33.840><c> let's</c><00:25:34.159><c> see.</c><00:25:34.880><c> Enable,</c> 00:25:35.830 --> 00:25:35.840 align:start position:0% what's going on. But let's see. Enable, 00:25:35.840 --> 00:25:37.269 align:start position:0% what's going on. But let's see. Enable, right? 00:25:37.269 --> 00:25:37.279 align:start position:0% right? 00:25:37.279 --> 00:25:58.630 align:start position:0% right? It<00:25:37.600><c> should</c><00:25:37.840><c> be</c><00:25:38.080><c> disabled.</c><00:25:39.440><c> And</c> 00:25:58.630 --> 00:25:58.640 align:start position:0% 00:25:58.640 --> 00:26:02.390 align:start position:0% maybe<00:25:58.799><c> I</c><00:25:59.120><c> doing</c><00:25:59.440><c> something</c><00:26:00.240><c> really</c> 00:26:02.390 --> 00:26:02.400 align:start position:0% maybe I doing something really 00:26:02.400 --> 00:26:08.630 align:start position:0% maybe I doing something really wrong<00:26:02.799><c> right</c><00:26:03.120><c> here.</c> 00:26:08.630 --> 00:26:08.640 align:start position:0% 00:26:08.640 --> 00:26:11.590 align:start position:0% Let<00:26:08.880><c> me</c><00:26:09.039><c> just</c><00:26:09.360><c> check</c> 00:26:11.590 --> 00:26:11.600 align:start position:0% Let me just check 00:26:11.600 --> 00:26:24.230 align:start position:0% Let me just check if<00:26:11.840><c> I</c><00:26:12.080><c> clicking</c><00:26:12.960><c> disable</c> 00:26:24.230 --> 00:26:24.240 align:start position:0% 00:26:24.240 --> 00:26:38.070 align:start position:0% Shopify.<00:26:25.679><c> This</c><00:26:25.840><c> is</c> 00:26:38.070 --> 00:26:38.080 align:start position:0% 00:26:38.080 --> 00:26:44.470 align:start position:0% Okay,<00:26:38.559><c> that's</c><00:26:38.960><c> correct.</c> 00:26:44.470 --> 00:26:44.480 align:start position:0% 00:26:44.480 --> 00:26:47.110 align:start position:0% Before<00:26:45.039><c> I</c><00:26:45.279><c> change</c><00:26:45.600><c> the</c><00:26:45.919><c> product</c><00:26:46.320><c> list,</c><00:26:46.799><c> let's</c> 00:26:47.110 --> 00:26:47.120 align:start position:0% Before I change the product list, let's 00:26:47.120 --> 00:27:00.390 align:start position:0% Before I change the product list, let's see<00:26:47.279><c> the</c><00:26:47.600><c> product</c><00:26:48.000><c> list.</c> 00:27:00.390 --> 00:27:00.400 align:start position:0% 00:27:00.400 --> 00:27:03.029 align:start position:0% Yeah,<00:27:00.640><c> the</c><00:27:00.880><c> ID</c><00:27:01.360><c> is</c><00:27:01.600><c> the</c><00:27:01.840><c> Shopify</c><00:27:02.400><c> ID</c><00:27:02.640><c> that</c><00:27:02.880><c> I</c> 00:27:03.029 --> 00:27:03.039 align:start position:0% Yeah, the ID is the Shopify ID that I 00:27:03.039 --> 00:27:06.390 align:start position:0% Yeah, the ID is the Shopify ID that I need. 00:27:06.390 --> 00:27:06.400 align:start position:0% 00:27:06.400 --> 00:27:08.470 align:start position:0% But 00:27:08.470 --> 00:27:08.480 align:start position:0% But 00:27:08.480 --> 00:27:19.110 align:start position:0% But something<00:27:08.960><c> really</c><00:27:09.440><c> weird</c> 00:27:19.110 --> 00:27:19.120 align:start position:0% 00:27:19.120 --> 00:27:27.669 align:start position:0% I<00:27:19.360><c> delete</c><00:27:20.159><c> everything.</c> 00:27:27.669 --> 00:27:27.679 align:start position:0% 00:27:27.679 --> 00:27:32.630 align:start position:0% And<00:27:27.919><c> now</c><00:27:28.159><c> let</c><00:27:28.400><c> me</c><00:27:28.640><c> start</c><00:27:28.960><c> it</c><00:27:29.360><c> again.</c> 00:27:32.630 --> 00:27:32.640 align:start position:0% 00:27:32.640 --> 00:27:35.990 align:start position:0% Okay. 00:27:35.990 --> 00:27:36.000 align:start position:0% 00:27:36.000 --> 00:27:38.710 align:start position:0% I<00:27:36.159><c> update</c><00:27:36.720><c> the</c><00:27:36.960><c> product</c> 00:27:38.710 --> 00:27:38.720 align:start position:0% I update the product 00:27:38.720 --> 00:27:42.870 align:start position:0% I update the product is<00:27:39.039><c> disabled.</c><00:27:40.080><c> If</c><00:27:40.320><c> I</c><00:27:40.559><c> try</c><00:27:40.720><c> to</c><00:27:41.039><c> disable</c><00:27:42.320><c> enable</c> 00:27:42.870 --> 00:27:42.880 align:start position:0% is disabled. If I try to disable enable 00:27:42.880 --> 00:28:00.470 align:start position:0% is disabled. If I try to disable enable it<00:27:43.200><c> again</c> 00:28:00.470 --> 00:28:00.480 align:start position:0% 00:28:00.480 --> 00:28:04.470 align:start position:0% another<00:28:01.039><c> ID</c><00:28:02.320><c> it's</c><00:28:02.640><c> saying</c><00:28:02.960><c> actually</c><00:28:03.360><c> it</c><00:28:03.600><c> sent</c> 00:28:04.470 --> 00:28:04.480 align:start position:0% another ID it's saying actually it sent 00:28:04.480 --> 00:28:07.110 align:start position:0% another ID it's saying actually it sent it<00:28:04.880><c> sent</c><00:28:05.520><c> the</c> 00:28:07.110 --> 00:28:07.120 align:start position:0% it sent the 00:28:07.120 --> 00:28:11.190 align:start position:0% it sent the the<00:28:07.600><c> product</c><00:28:08.240><c> ID</c> 00:28:11.190 --> 00:28:11.200 align:start position:0% 00:28:11.200 --> 00:28:20.630 align:start position:0% really<00:28:12.320><c> weird.</c> 00:28:20.630 --> 00:28:20.640 align:start position:0% 00:28:20.640 --> 00:28:45.279 align:start position:0% Oh,<00:28:21.600><c> I</c><00:28:21.919><c> see.</c><00:28:22.159><c> I</c><00:28:22.399><c> see.</c><00:28:22.640><c> I</c><00:28:22.880><c> see.</c> 00:28:45.279 --> 00:28:45.289 align:start position:0% 00:28:45.289 --> 00:28:48.070 align:start position:0% >> [sighs] 00:28:48.070 --> 00:28:48.080 align:start position:0% 00:28:48.080 --> 00:29:23.510 align:start position:0% >> So<00:28:48.480><c> I</c><00:28:48.799><c> need</c><00:28:49.039><c> to</c><00:28:49.279><c> return</c><00:28:49.840><c> the</c><00:28:50.720><c> product</c><00:28:50.960><c> that</c> 00:29:23.510 --> 00:29:23.520 align:start position:0% 00:29:23.520 --> 00:29:26.470 align:start position:0% Now<00:29:24.240><c> it</c><00:29:24.559><c> should</c><00:29:25.039><c> work.</c><00:29:25.840><c> Let's</c><00:29:26.080><c> see.</c><00:29:26.320><c> Let's</c> 00:29:26.470 --> 00:29:26.480 align:start position:0% Now it should work. Let's see. Let's 00:29:26.480 --> 00:29:37.990 align:start position:0% Now it should work. Let's see. Let's see.<00:29:26.720><c> Let's</c><00:29:26.960><c> see.</c> 00:29:37.990 --> 00:29:38.000 align:start position:0% 00:29:38.000 --> 00:29:43.575 align:start position:0% Yes.<00:29:38.399><c> Now</c><00:29:38.640><c> I</c><00:29:38.880><c> have</c><00:29:39.120><c> just</c><00:29:39.520><c> one</c> 00:29:43.575 --> 00:29:43.585 align:start position:0% 00:29:43.585 --> 00:29:45.990 align:start position:0% [cough] 00:29:45.990 --> 00:29:46.000 align:start position:0% 00:29:46.000 --> 00:29:49.029 align:start position:0% one<00:29:46.559><c> row</c><00:29:47.120><c> and</c><00:29:47.360><c> it's</c><00:29:47.679><c> working</c><00:29:48.080><c> fine</c><00:29:48.480><c> as</c><00:29:48.720><c> you</c><00:29:48.880><c> can</c> 00:29:49.029 --> 00:29:49.039 align:start position:0% one row and it's working fine as you can 00:29:49.039 --> 00:29:50.549 align:start position:0% one row and it's working fine as you can see<00:29:49.279><c> guys.</c> 00:29:50.549 --> 00:29:50.559 align:start position:0% see guys. 00:29:50.559 --> 00:29:54.149 align:start position:0% see guys. The<00:29:50.880><c> problem</c><00:29:51.200><c> was</c><00:29:51.600><c> that</c><00:29:51.919><c> I</c><00:29:52.159><c> was</c><00:29:52.399><c> not</c><00:29:52.720><c> updating</c> 00:29:54.149 --> 00:29:54.159 align:start position:0% The problem was that I was not updating 00:29:54.159 --> 00:30:00.710 align:start position:0% The problem was that I was not updating AI.<00:29:55.520><c> Uh</c><00:29:56.159><c> you</c><00:29:56.399><c> need</c><00:29:56.480><c> to</c><00:29:56.720><c> pay</c><00:29:56.880><c> attention.</c><00:29:57.679><c> So</c> 00:30:00.710 --> 00:30:00.720 align:start position:0% 00:30:00.720 --> 00:30:03.750 align:start position:0% it's<00:30:01.200><c> working</c><00:30:01.600><c> really</c><00:30:02.000><c> fine.</c><00:30:02.720><c> And</c><00:30:02.880><c> now</c><00:30:03.520><c> you</c> 00:30:03.750 --> 00:30:03.760 align:start position:0% it's working really fine. And now you 00:30:03.760 --> 00:30:08.630 align:start position:0% it's working really fine. And now you need<00:30:03.919><c> to</c><00:30:04.080><c> sh</c><00:30:04.480><c> change</c><00:30:04.880><c> the</c> 00:30:08.630 --> 00:30:08.640 align:start position:0% 00:30:08.640 --> 00:30:11.590 align:start position:0% load<00:30:09.520><c> right.</c> 00:30:11.590 --> 00:30:11.600 align:start position:0% load right. 00:30:11.600 --> 00:30:14.870 align:start position:0% load right. Basically<00:30:12.559><c> is</c><00:30:12.720><c> super</c><00:30:13.120><c> simple.</c><00:30:14.320><c> What</c><00:30:14.559><c> you</c><00:30:14.720><c> need</c> 00:30:14.870 --> 00:30:14.880 align:start position:0% Basically is super simple. What you need 00:30:14.880 --> 00:30:20.149 align:start position:0% Basically is super simple. What you need to<00:30:15.120><c> do</c><00:30:15.760><c> is</c><00:30:16.559><c> going</c><00:30:17.200><c> you</c><00:30:17.440><c> need</c><00:30:17.600><c> to</c><00:30:17.760><c> go</c><00:30:18.000><c> to</c><00:30:18.240><c> the</c> 00:30:20.149 --> 00:30:20.159 align:start position:0% to do is going you need to go to the 00:30:20.159 --> 00:30:22.710 align:start position:0% to do is going you need to go to the you<00:30:20.399><c> don't</c><00:30:20.559><c> need</c><00:30:20.720><c> to</c> 00:30:22.710 --> 00:30:22.720 align:start position:0% you don't need to 00:30:22.720 --> 00:30:27.110 align:start position:0% you don't need to uh<00:30:23.120><c> touching</c><00:30:23.919><c> table</c><00:30:24.720><c> anymore.</c> 00:30:27.110 --> 00:30:27.120 align:start position:0% uh touching table anymore. 00:30:27.120 --> 00:30:31.350 align:start position:0% uh touching table anymore. We<00:30:27.440><c> need</c><00:30:27.600><c> to</c><00:30:28.000><c> create</c><00:30:29.279><c> a</c><00:30:29.600><c> new</c><00:30:30.000><c> method</c><00:30:30.640><c> here</c> 00:30:31.350 --> 00:30:31.360 align:start position:0% We need to create a new method here 00:30:31.360 --> 00:30:32.950 align:start position:0% We need to create a new method here called 00:30:32.950 --> 00:30:32.960 align:start position:0% called 00:30:32.960 --> 00:30:42.470 align:start position:0% called con<00:30:33.600><c> find</c><00:30:34.320><c> by</c><00:30:35.120><c> Shopify</c><00:30:36.240><c> ID.</c> 00:30:42.470 --> 00:30:42.480 align:start position:0% 00:30:42.480 --> 00:30:45.909 align:start position:0% Exactly.<00:30:43.520><c> Where</c><00:30:43.760><c> Shopify</c><00:30:44.320><c> ID?</c><00:30:45.120><c> Yeah,</c><00:30:45.520><c> that's</c> 00:30:45.909 --> 00:30:45.919 align:start position:0% Exactly. Where Shopify ID? Yeah, that's 00:30:45.919 --> 00:30:48.789 align:start position:0% Exactly. Where Shopify ID? Yeah, that's right. 00:30:48.789 --> 00:30:48.799 align:start position:0% right. 00:30:48.799 --> 00:30:51.669 align:start position:0% right. And<00:30:49.039><c> here</c><00:30:49.279><c> in</c><00:30:49.440><c> the</c><00:30:49.760><c> settings,</c> 00:30:51.669 --> 00:30:51.679 align:start position:0% And here in the settings, 00:30:51.679 --> 00:30:53.750 align:start position:0% And here in the settings, where<00:30:51.840><c> is</c><00:30:52.080><c> models</c> 00:30:53.750 --> 00:30:53.760 align:start position:0% where is models 00:30:53.760 --> 00:30:59.830 align:start position:0% where is models settings<00:30:54.799><c> and</c><00:30:55.039><c> loader?</c> 00:30:59.830 --> 00:30:59.840 align:start position:0% 00:30:59.840 --> 00:31:03.110 align:start position:0% We<00:31:00.159><c> need</c><00:31:00.320><c> to</c><00:31:00.559><c> get</c> 00:31:03.110 --> 00:31:03.120 align:start position:0% We need to get 00:31:03.120 --> 00:31:12.310 align:start position:0% We need to get products. 00:31:12.310 --> 00:31:12.320 align:start position:0% 00:31:12.320 --> 00:31:15.190 align:start position:0% Oh,<00:31:12.480><c> wait.</c> 00:31:15.190 --> 00:31:15.200 align:start position:0% Oh, wait. 00:31:15.200 --> 00:31:19.590 align:start position:0% Oh, wait. Product<00:31:15.919><c> repository</c><00:31:17.279><c> by</c><00:31:18.240><c> find</c><00:31:18.640><c> my</c><00:31:18.960><c> Shopify</c> 00:31:19.590 --> 00:31:19.600 align:start position:0% Product repository by find my Shopify 00:31:19.600 --> 00:31:22.710 align:start position:0% Product repository by find my Shopify ID. 00:31:22.710 --> 00:31:22.720 align:start position:0% 00:31:22.720 --> 00:31:25.830 align:start position:0% Actually,<00:31:23.120><c> you</c><00:31:23.440><c> can</c><00:31:23.600><c> use</c><00:31:24.000><c> a</c><00:31:24.320><c> find</c><00:31:24.799><c> many</c><00:31:25.679><c> by</c> 00:31:25.830 --> 00:31:25.840 align:start position:0% Actually, you can use a find many by 00:31:25.840 --> 00:31:29.430 align:start position:0% Actually, you can use a find many by Shopify<00:31:26.480><c> ID.</c> 00:31:29.430 --> 00:31:29.440 align:start position:0% Shopify ID. 00:31:29.440 --> 00:31:33.029 align:start position:0% Shopify ID. Let<00:31:29.679><c> me</c><00:31:29.840><c> change</c><00:31:30.080><c> it.</c><00:31:30.880><c> Find</c> 00:31:33.029 --> 00:31:33.039 align:start position:0% Let me change it. Find 00:31:33.039 --> 00:31:51.110 align:start position:0% Let me change it. Find many<00:31:33.520><c> by</c> 00:31:51.110 --> 00:31:51.120 align:start position:0% 00:31:51.120 --> 00:31:55.750 align:start position:0% I<00:31:51.440><c> think</c><00:31:51.600><c> I'm</c><00:31:52.000><c> missing</c><00:31:52.480><c> something</c><00:31:53.120><c> here.</c> 00:31:55.750 --> 00:31:55.760 align:start position:0% I think I'm missing something here. 00:31:55.760 --> 00:31:57.509 align:start position:0% I think I'm missing something here. H 00:31:57.509 --> 00:31:57.519 align:start position:0% H 00:31:57.519 --> 00:31:59.830 align:start position:0% H Prisma 00:31:59.830 --> 00:31:59.840 align:start position:0% Prisma 00:31:59.840 --> 00:32:02.070 align:start position:0% Prisma find 00:32:02.070 --> 00:32:02.080 align:start position:0% find 00:32:02.080 --> 00:32:08.549 align:start position:0% find mini 00:32:08.549 --> 00:32:08.559 align:start position:0% 00:32:08.559 --> 00:32:18.789 align:start position:0% Oh,<00:32:08.960><c> I</c><00:32:09.360><c> I</c><00:32:09.600><c> think</c><00:32:09.679><c> it's</c><00:32:10.080><c> right.</c> 00:32:18.789 --> 00:32:18.799 align:start position:0% 00:32:18.799 --> 00:32:21.909 align:start position:0% Yeah,<00:32:19.200><c> that's</c><00:32:19.600><c> right.</c><00:32:20.080><c> I'm</c><00:32:20.320><c> not</c> 00:32:21.909 --> 00:32:21.919 align:start position:0% Yeah, that's right. I'm not 00:32:21.919 --> 00:32:26.389 align:start position:0% Yeah, that's right. I'm not I'm<00:32:22.159><c> not</c><00:32:22.480><c> crazy.</c> 00:32:26.389 --> 00:32:26.399 align:start position:0% 00:32:26.399 --> 00:32:32.710 align:start position:0% I<00:32:26.640><c> can</c><00:32:27.600><c> find</c><00:32:28.080><c> meaning.</c> 00:32:32.710 --> 00:32:32.720 align:start position:0% 00:32:32.720 --> 00:32:54.470 align:start position:0% What? 00:32:54.470 --> 00:32:54.480 align:start position:0% 00:32:54.480 --> 00:32:58.549 align:start position:0% No,<00:32:54.799><c> I</c><00:32:55.039><c> will</c><00:32:55.279><c> let</c><00:32:55.600><c> us</c><00:32:56.000><c> any</c><00:32:56.320><c> for</c><00:32:56.640><c> now.</c> 00:32:58.549 --> 00:32:58.559 align:start position:0% No, I will let us any for now. 00:32:58.559 --> 00:33:00.389 align:start position:0% No, I will let us any for now. Uh 00:33:00.389 --> 00:33:00.399 align:start position:0% Uh 00:33:00.399 --> 00:33:05.110 align:start position:0% Uh but<00:33:00.880><c> we</c><00:33:01.120><c> can</c><00:33:01.440><c> check</c><00:33:01.919><c> if</c><00:33:02.880><c> we</c><00:33:03.200><c> have</c><00:33:03.519><c> all</c><00:33:04.880><c> the</c> 00:33:05.110 --> 00:33:05.120 align:start position:0% but we can check if we have all the 00:33:05.120 --> 00:33:08.789 align:start position:0% but we can check if we have all the products<00:33:05.840><c> ids</c><00:33:06.159><c> here.</c> 00:33:08.789 --> 00:33:08.799 align:start position:0% products ids here. 00:33:08.799 --> 00:33:15.190 align:start position:0% products ids here. Let's<00:33:09.120><c> see.</c><00:33:09.440><c> Let's</c><00:33:09.760><c> see.</c> 00:33:15.190 --> 00:33:15.200 align:start position:0% 00:33:15.200 --> 00:33:19.029 align:start position:0% We<00:33:15.360><c> need</c><00:33:15.519><c> to</c><00:33:16.159><c> check</c><00:33:16.640><c> here.</c><00:33:17.279><c> And</c><00:33:17.679><c> we</c><00:33:18.080><c> got</c><00:33:18.559><c> a</c> 00:33:19.029 --> 00:33:19.039 align:start position:0% We need to check here. And we got a 00:33:19.039 --> 00:33:31.190 align:start position:0% We need to check here. And we got a problem. 00:33:31.190 --> 00:33:31.200 align:start position:0% 00:33:31.200 --> 00:33:33.430 align:start position:0% Yes, 00:33:33.430 --> 00:33:33.440 align:start position:0% Yes, 00:33:33.440 --> 00:33:42.470 align:start position:0% Yes, but 00:33:42.470 --> 00:33:42.480 align:start position:0% 00:33:42.480 --> 00:33:51.830 align:start position:0% the<00:33:42.880><c> ideas</c><00:33:43.279><c> are</c><00:33:43.519><c> working.</c> 00:33:51.830 --> 00:33:51.840 align:start position:0% 00:33:51.840 --> 00:33:54.950 align:start position:0% If<00:33:52.080><c> you</c><00:33:52.240><c> reload</c><00:33:52.559><c> the</c><00:33:52.799><c> page</c><00:33:53.200><c> now,</c><00:33:54.453><c> [snorts]</c><00:33:54.640><c> you</c> 00:33:54.950 --> 00:33:54.960 align:start position:0% If you reload the page now, [snorts] you 00:33:54.960 --> 00:33:57.830 align:start position:0% If you reload the page now, [snorts] you should<00:33:55.120><c> be</c><00:33:55.200><c> able</c><00:33:55.519><c> to</c><00:33:55.760><c> see</c><00:33:55.919><c> the</c><00:33:56.320><c> ids.</c><00:33:56.720><c> Yes,</c> 00:33:57.830 --> 00:33:57.840 align:start position:0% should be able to see the ids. Yes, 00:33:57.840 --> 00:34:01.430 align:start position:0% should be able to see the ids. Yes, product<00:33:58.320><c> IDs.</c> 00:34:01.430 --> 00:34:01.440 align:start position:0% 00:34:01.440 --> 00:34:11.190 align:start position:0% Find<00:34:02.080><c> many.</c> 00:34:11.190 --> 00:34:11.200 align:start position:0% 00:34:11.200 --> 00:34:16.149 align:start position:0% Let<00:34:11.359><c> me</c><00:34:11.599><c> close</c><00:34:11.919><c> the</c><00:34:12.159><c> table</c><00:34:12.560><c> interface</c> 00:34:16.149 --> 00:34:16.159 align:start position:0% 00:34:16.159 --> 00:34:19.430 align:start position:0% here.<00:34:16.560><c> Find</c><00:34:16.960><c> me</c><00:34:17.359><c> by</c><00:34:17.679><c> Shopify's</c> 00:34:19.430 --> 00:34:19.440 align:start position:0% here. Find me by Shopify's 00:34:19.440 --> 00:34:23.270 align:start position:0% here. Find me by Shopify's ID.<00:34:20.800><c> Shopify</c> 00:34:23.270 --> 00:34:23.280 align:start position:0% ID. Shopify 00:34:23.280 --> 00:34:33.088 align:start position:0% ID. Shopify ids 00:34:33.088 --> 00:34:33.098 align:start position:0% 00:34:33.098 --> 00:34:40.069 align:start position:0% [groaning] 00:34:40.069 --> 00:34:40.079 align:start position:0% 00:34:40.079 --> 00:34:43.030 align:start position:0% this<00:34:40.399><c> guy</c><00:34:40.879><c> in.</c> 00:34:43.030 --> 00:34:43.040 align:start position:0% this guy in. 00:34:43.040 --> 00:34:57.670 align:start position:0% this guy in. I<00:34:43.440><c> knew</c><00:34:43.679><c> it.</c> 00:34:57.670 --> 00:34:57.680 align:start position:0% 00:34:57.680 --> 00:35:12.230 align:start position:0% I<00:34:58.000><c> just</c><00:34:58.160><c> forgot</c><00:34:58.560><c> about</c><00:34:58.880><c> the</c> 00:35:12.230 --> 00:35:12.240 align:start position:0% 00:35:12.240 --> 00:35:33.109 align:start position:0% Okay. 00:35:33.109 --> 00:35:33.119 align:start position:0% 00:35:33.119 --> 00:35:35.349 align:start position:0% I'm<00:35:33.359><c> trying</c><00:35:33.599><c> to</c><00:35:33.760><c> find</c><00:35:34.000><c> the</c><00:35:34.160><c> documentation</c><00:35:35.040><c> to</c> 00:35:35.349 --> 00:35:35.359 align:start position:0% I'm trying to find the documentation to 00:35:35.359 --> 00:35:39.910 align:start position:0% I'm trying to find the documentation to show<00:35:35.680><c> you</c><00:35:35.920><c> guys,</c><00:35:36.560><c> but</c> 00:35:39.910 --> 00:35:39.920 align:start position:0% 00:35:39.920 --> 00:35:41.910 align:start position:0% as<00:35:40.160><c> you</c><00:35:40.400><c> can</c><00:35:40.560><c> see,</c><00:35:40.800><c> is</c><00:35:41.040><c> are</c><00:35:41.200><c> really</c><00:35:41.440><c> hard</c><00:35:41.680><c> to</c> 00:35:41.910 --> 00:35:41.920 align:start position:0% as you can see, is are really hard to 00:35:41.920 --> 00:35:47.430 align:start position:0% as you can see, is are really hard to find.<00:35:42.480><c> But</c><00:35:42.720><c> yeah,</c><00:35:43.200><c> we</c><00:35:43.520><c> can</c><00:35:44.160><c> search</c><00:35:44.480><c> for</c> 00:35:47.430 --> 00:35:47.440 align:start position:0% find. But yeah, we can search for 00:35:47.440 --> 00:35:49.589 align:start position:0% find. But yeah, we can search for all<00:35:47.760><c> the</c> 00:35:49.589 --> 00:35:49.599 align:start position:0% all the 00:35:49.599 --> 00:35:53.270 align:start position:0% all the IDs<00:35:50.400><c> like</c><00:35:50.800><c> this.</c><00:35:51.760><c> Okay.</c> 00:35:53.270 --> 00:35:53.280 align:start position:0% IDs like this. Okay. 00:35:53.280 --> 00:36:03.430 align:start position:0% IDs like this. Okay. So<00:35:53.520><c> now</c><00:35:53.760><c> we</c><00:35:54.240><c> should</c><00:35:54.640><c> be</c><00:35:54.880><c> able</c><00:35:55.200><c> to</c><00:35:55.520><c> work</c><00:35:55.920><c> here</c> 00:36:03.430 --> 00:36:03.440 align:start position:0% 00:36:03.440 --> 00:36:10.710 align:start position:0% products<00:36:03.839><c> DB.</c><00:36:04.640><c> We</c><00:36:05.599><c> were</c><00:36:05.839><c> able</c><00:36:06.079><c> to</c><00:36:06.240><c> find</c><00:36:06.640><c> one</c> 00:36:10.710 --> 00:36:10.720 align:start position:0% 00:36:10.720 --> 00:36:16.310 align:start position:0% product.<00:36:11.599><c> So</c><00:36:12.160><c> with</c><00:36:12.480><c> this</c><00:36:12.800><c> information</c><00:36:13.520><c> now</c> 00:36:16.310 --> 00:36:16.320 align:start position:0% product. So with this information now 00:36:16.320 --> 00:36:21.030 align:start position:0% product. So with this information now we<00:36:16.720><c> can</c> 00:36:21.030 --> 00:36:21.040 align:start position:0% 00:36:21.040 --> 00:36:23.270 align:start position:0% create 00:36:23.270 --> 00:36:23.280 align:start position:0% create 00:36:23.280 --> 00:36:28.870 align:start position:0% create merged<00:36:23.839><c> products.</c> 00:36:28.870 --> 00:36:28.880 align:start position:0% 00:36:28.880 --> 00:36:32.230 align:start position:0% Yes,<00:36:29.680><c> exactly.</c><00:36:30.480><c> You</c><00:36:30.720><c> can</c><00:36:30.880><c> create</c><00:36:31.359><c> a</c><00:36:31.599><c> merged</c> 00:36:32.230 --> 00:36:32.240 align:start position:0% Yes, exactly. You can create a merged 00:36:32.240 --> 00:36:37.270 align:start position:0% Yes, exactly. You can create a merged products<00:36:33.520><c> which</c><00:36:33.920><c> will</c><00:36:34.400><c> will</c><00:36:34.560><c> be</c> 00:36:37.270 --> 00:36:37.280 align:start position:0% products which will will be 00:36:37.280 --> 00:36:40.150 align:start position:0% products which will will be ID<00:36:38.560><c> is</c> 00:36:40.150 --> 00:36:40.160 align:start position:0% ID is 00:36:40.160 --> 00:36:46.710 align:start position:0% ID is product<00:36:40.720><c> ID.</c> 00:36:46.710 --> 00:36:46.720 align:start position:0% 00:36:46.720 --> 00:36:51.750 align:start position:0% Yes,<00:36:47.920><c> product</c><00:36:48.320><c> ID.</c><00:36:48.800><c> And</c><00:36:49.040><c> here's</c><00:36:49.440><c> the</c><00:36:49.599><c> disable.</c> 00:36:51.750 --> 00:36:51.760 align:start position:0% Yes, product ID. And here's the disable. 00:36:51.760 --> 00:36:56.390 align:start position:0% Yes, product ID. And here's the disable. And<00:36:52.240><c> here</c><00:36:52.560><c> we</c><00:36:53.040><c> can</c><00:36:53.359><c> just</c> 00:36:56.390 --> 00:36:56.400 align:start position:0% 00:36:56.400 --> 00:36:59.270 align:start position:0% pass<00:36:57.200><c> like</c><00:36:57.520><c> this</c><00:36:58.000><c> in</c><00:36:58.240><c> here</c><00:36:58.560><c> in</c><00:36:58.800><c> the</c><00:36:58.960><c> product</c> 00:36:59.270 --> 00:36:59.280 align:start position:0% pass like this in here in the product 00:36:59.280 --> 00:37:01.910 align:start position:0% pass like this in here in the product handle.<00:36:59.839><c> We</c><00:37:00.000><c> need</c><00:37:00.160><c> to</c><00:37:00.640><c> change</c><00:37:01.119><c> because</c><00:37:01.440><c> now</c><00:37:01.680><c> we</c> 00:37:01.910 --> 00:37:01.920 align:start position:0% handle. We need to change because now we 00:37:01.920 --> 00:37:05.670 align:start position:0% handle. We need to change because now we have<00:37:02.160><c> disabled.</c> 00:37:05.670 --> 00:37:05.680 align:start position:0% 00:37:05.680 --> 00:37:09.750 align:start position:0% It's<00:37:05.920><c> a</c><00:37:06.160><c> boolean</c> 00:37:09.750 --> 00:37:09.760 align:start position:0% 00:37:09.760 --> 00:37:19.270 align:start position:0% disabled<00:37:10.800><c> here.</c> 00:37:19.270 --> 00:37:19.280 align:start position:0% 00:37:19.280 --> 00:37:22.310 align:start position:0% Yeah,<00:37:20.160><c> it's</c><00:37:20.800><c> always</c><00:37:21.280><c> be</c><00:37:21.520><c> false.</c><00:37:21.920><c> We</c><00:37:22.079><c> don't</c> 00:37:22.310 --> 00:37:22.320 align:start position:0% Yeah, it's always be false. We don't 00:37:22.320 --> 00:37:26.950 align:start position:0% Yeah, it's always be false. We don't need<00:37:22.560><c> this</c><00:37:23.200><c> or</c> 00:37:26.950 --> 00:37:26.960 align:start position:0% 00:37:26.960 --> 00:37:30.550 align:start position:0% And<00:37:27.200><c> now</c> 00:37:30.550 --> 00:37:30.560 align:start position:0% 00:37:30.560 --> 00:37:36.069 align:start position:0% I<00:37:30.720><c> think</c><00:37:30.960><c> now</c><00:37:31.760><c> it</c><00:37:32.079><c> should</c><00:37:32.880><c> work.</c> 00:37:36.069 --> 00:37:36.079 align:start position:0% 00:37:36.079 --> 00:37:40.150 align:start position:0% Disable<00:37:36.640><c> crow.</c> 00:37:40.150 --> 00:37:40.160 align:start position:0% 00:37:40.160 --> 00:37:43.829 align:start position:0% Yes,<00:37:40.560><c> now</c><00:37:40.800><c> it's</c><00:37:41.359><c> everything</c><00:37:42.800><c> works.</c><00:37:43.440><c> If</c><00:37:43.680><c> we</c> 00:37:43.829 --> 00:37:43.839 align:start position:0% Yes, now it's everything works. If we 00:37:43.839 --> 00:37:46.230 align:start position:0% Yes, now it's everything works. If we click<00:37:44.160><c> here,</c><00:37:45.359><c> here,</c><00:37:45.671><c> [snorts]</c> 00:37:46.230 --> 00:37:46.240 align:start position:0% click here, here, [snorts] 00:37:46.240 --> 00:37:49.510 align:start position:0% click here, here, [snorts] and<00:37:46.560><c> here.</c><00:37:47.359><c> Now</c><00:37:47.599><c> I</c><00:37:47.839><c> will</c><00:37:47.920><c> reload</c><00:37:48.320><c> the</c><00:37:48.560><c> page.</c><00:37:49.200><c> We</c> 00:37:49.510 --> 00:37:49.520 align:start position:0% and here. Now I will reload the page. We 00:37:49.520 --> 00:37:54.310 align:start position:0% and here. Now I will reload the page. We should<00:37:49.760><c> be</c><00:37:49.920><c> able</c><00:37:50.160><c> to</c><00:37:50.320><c> see</c><00:37:51.200><c> those</c><00:37:52.480><c> changes.</c><00:37:53.440><c> And</c> 00:37:54.310 --> 00:37:54.320 align:start position:0% should be able to see those changes. And 00:37:54.320 --> 00:37:57.589 align:start position:0% should be able to see those changes. And here<00:37:54.720><c> is</c><00:37:55.040><c> how</c><00:37:55.359><c> you</c><00:37:55.680><c> can</c><00:37:56.000><c> save</c> 00:37:57.589 --> 00:37:57.599 align:start position:0% here is how you can save 00:37:57.599 --> 00:38:01.670 align:start position:0% here is how you can save the<00:37:57.839><c> disabled</c><00:37:58.480><c> products</c><00:37:59.200><c> in</c><00:37:59.520><c> your</c><00:37:59.839><c> database.</c> 00:38:01.670 --> 00:38:01.680 align:start position:0% the disabled products in your database. 00:38:01.680 --> 00:38:07.990 align:start position:0% the disabled products in your database. Uh<00:38:02.240><c> now</c><00:38:02.480><c> for</c><00:38:02.720><c> the</c><00:38:02.960><c> next</c><00:38:03.280><c> class,</c><00:38:04.240><c> we</c><00:38:04.720><c> will</c> 00:38:07.990 --> 00:38:08.000 align:start position:0% 00:38:08.000 --> 00:38:13.750 align:start position:0% save<00:38:08.400><c> the</c><00:38:09.200><c> current</c><00:38:09.680><c> plane</c><00:38:10.000><c> for</c><00:38:10.240><c> the</c><00:38:10.480><c> merchant.</c> 00:38:13.750 --> 00:38:13.760 align:start position:0% 00:38:13.760 --> 00:38:16.470 align:start position:0% And 00:38:16.470 --> 00:38:16.480 align:start position:0% And 00:38:16.480 --> 00:38:18.790 align:start position:0% And yeah,<00:38:16.960><c> I</c><00:38:17.200><c> think</c><00:38:17.280><c> it's</c><00:38:17.599><c> going</c><00:38:17.680><c> to</c><00:38:17.760><c> be</c><00:38:17.920><c> that</c><00:38:18.480><c> it's</c> 00:38:18.790 --> 00:38:18.800 align:start position:0% yeah, I think it's going to be that it's 00:38:18.800 --> 00:38:20.790 align:start position:0% yeah, I think it's going to be that it's the<00:38:19.040><c> better</c><00:38:19.200><c> option.</c><00:38:19.760><c> And</c><00:38:19.920><c> after</c><00:38:20.240><c> that,</c><00:38:20.560><c> we</c> 00:38:20.790 --> 00:38:20.800 align:start position:0% the better option. And after that, we 00:38:20.800 --> 00:38:24.069 align:start position:0% the better option. And after that, we can<00:38:21.040><c> see</c><00:38:21.760><c> how</c><00:38:22.000><c> we</c><00:38:22.240><c> can</c><00:38:22.400><c> create</c><00:38:22.720><c> the</c><00:38:23.280><c> extension</c> 00:38:24.069 --> 00:38:24.079 align:start position:0% can see how we can create the extension 00:38:24.079 --> 00:38:26.790 align:start position:0% can see how we can create the extension to<00:38:24.480><c> hander</c><00:38:25.200><c> the</c><00:38:25.520><c> button</c><00:38:25.920><c> on</c><00:38:26.160><c> the</c><00:38:26.400><c> product</c> 00:38:26.790 --> 00:38:26.800 align:start position:0% to hander the button on the product 00:38:26.800 --> 00:38:30.390 align:start position:0% to hander the button on the product page.<00:38:28.079><c> Okay,</c><00:38:29.040><c> thank</c><00:38:29.200><c> you</c><00:38:29.440><c> guys</c><00:38:29.760><c> for</c><00:38:30.079><c> watching</c> 00:38:30.390 --> 00:38:30.400 align:start position:0% page. Okay, thank you guys for watching 00:38:30.400 --> 00:38:33.589 align:start position:0% page. Okay, thank you guys for watching this<00:38:30.800><c> video.</c><00:38:31.359><c> Let</c><00:38:31.520><c> a</c><00:38:31.760><c> like,</c><00:38:32.000><c> a</c><00:38:32.240><c> comment</c><00:38:32.560><c> below.</c> 00:38:33.589 --> 00:38:33.599 align:start position:0% this video. Let a like, a comment below. 00:38:33.599 --> 00:38:36.950 align:start position:0% this video. Let a like, a comment below. If<00:38:33.760><c> you</c><00:38:33.920><c> have</c><00:38:34.160><c> any</c><00:38:34.480><c> questions,</c><00:38:35.599><c> just</c><00:38:36.560><c> send</c><00:38:36.800><c> me</c> 00:38:36.950 --> 00:38:36.960 align:start position:0% If you have any questions, just send me 00:38:36.960 --> 00:38:39.430 align:start position:0% If you have any questions, just send me a<00:38:37.200><c> message</c><00:38:37.839><c> and</c><00:38:38.160><c> I</c><00:38:38.400><c> will</c><00:38:38.560><c> try</c><00:38:38.800><c> my</c><00:38:39.040><c> best</c><00:38:39.200><c> to</c> 00:38:39.430 --> 00:38:39.440 align:start position:0% a message and I will try my best to 00:38:39.440 --> 00:38:43.440 align:start position:0% a message and I will try my best to answer.<00:38:40.000><c> Thank</c><00:38:40.240><c> you</c><00:38:40.480><c> for</c><00:38:40.720><c> watch.</c>