Good morning,
I’m trying to insert my search result, returned by search.results, into a JSON.
I researched some topics and tried some solutions but I am not able to use the returned data.
So far, I have the result inside an array but I’m not able to use the information returned in my search.liquid.
I can see the product data in console.log, but I don’t know how to use this data inside the liquid.
For example, if I only wanted to display the product.title of each product on the screen, how to proceed inside the liquid? How to connect the productsData variable with my liquid logic? I tried using {%assign%} but couldn’t se any information.
Thanks