VISENZE - Unable to install this Image recognition tool in my header

Hi everyone,

I am unable to install this Image recognition/ Visual search tool in my header ( Visenze).

They provided the code to install in my header

I went to the theme editing section but i don’t know where to past the povided code down.

Can anyone help? I would like to be able to put it on the search bar.

Best regards,

Hey @MyBaddie ,

Can I have the link to your store and if possible the code to add to the header

Thank you for your answer:

My URL is: mybaddiecloset.com

and the code is :

The placement mentionned is:

3821

Homepage_searchbar

I have just strated to build this tore so don’t judge the appaearence

Hey @MyBaddie ,

If you go to your theme’s “Edit Code” Option, then in the search bar type “header-search.liquid”
Below the tag “” tag (Around line 104) paste the code.

Screenshot attached for reference.

The final result looked like this for me

Thank you for your precious help!

I unfortunately don’t have the “header-search.liquid” file as it shows on the screenshot.

How can i do in this case please?


Here is the screenshot

Hey @MyBaddie ,

What theme are you using?

I am using Dawn 8.0

Shall I create the file " header-search.liquid" myself?

I think i found where to paste it. In “main-search. Liquid”

I try and keep you updated if it works.

Thanks again

Oh dear @MyBaddie ,

Took me a ton of searching and finally managed to find dawn version 8 to install haha.

Anyway I found it. It’s header.liquid and paste the code after the “” tag (Around line 620).

and voila, give it a minute or two and it’ll appear

Thank you for putting so much time and effort in this task !

I tried 10 minutes ago and it still don’t show anything. It did not work again :(((

Did you do any action prior pasting this code?

Hey @MyBaddie ,

You’re at line 391. This is the wrong line. (I think this could be mobile, so you can leave it there as well) There’s another portion of the code that’s the same at around line 620 which I mentioned earlier that is for desktop.

[RESOLVED]

The line 391 worked on none, i should have read you better. The line 620 worked perefctly on mobile and desktop. Thanks a lot!!!