Search field

Dobrison
New Member
2 0 0

Hi community, 

Please help me with the following situation.

When you try to find something in the search field, instead of products I receive some code line.

Please help.

Thank you.

Untitled2.png

0 Likes
LukaszFormela
Excursionist
37 7 13

Hi @Dobrison , that looks like a JSON response, a raw data sent by Shopify to your store, which should be translated by your theme to customer friendly search results. Unfortunately I don't think this can be resolved without accessing your website code, however if you post your website address, we could give you some hints!

Available for part-time theme edits/development | UK timezone
0 Likes
Dobrison
New Member
2 0 0

Hi, 

Thank you for your answer.

The website is https://ssimarine.co.uk

Regards,

Dobrison

 

0 Likes

@Dobrison 

Long story short, the "suggestion" part of your autosearch is broken.

If you got a developer to get that coded in for you, please reach back to him to fix it. If this is from an app or from the theme you've purchased, reach back to the developers as well. Alternatively, you may hire a new developer to assist you and get this fixed.

The code below will hide the issue but will not fix it.

1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > theme.scss.liquid or theme.css and paste this at the bottom of the file:

[id] .autocomplete-suggestions{
    display: none !important;
}



Kind regards,
Diego

◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Tutorials: Minimal theme product pages slideshow | Debut Theme product pages slideshow
◦ Looking to hire an experienced developer? Same day response: ezfycode@gmail.com.
0 Likes