json - How to get autocomplete product suggestion in shopify including price and sku
I'm trying to get products to autocomplete search in front store with suggestions that include product Title, Price, SKU, URL and Product Image,
I got succeed to get Title, Image, and URL,
with admin I can get all but again that can't be used over the front store, please give suggestions.
this URL I was using before that is working fine but at front store doesn't work.
var searchURL = '/admin/products/search.json?query=' + term;
and with this I'm getting only 3 things, Title, Image, and URL
var searchURL = '/search?type=product&q=' + term;
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.