Hacker News new | ask | show | jobs
by wic8 2238 days ago
I made a shopify global search [https://snapshop.netlify.app]. Hastily completed just for this post but it should work.
6 comments

Nice! I'd use something like this, but it's not very useful to me currently if I can't search by region or country.
Planning to do that, try searching for "product <location>" for now. Should work to some extent.
This is a great search UI but when you click a link the provided URL is cut off. IE search for journals, click a link and you get sent to the following url:

https://www.oberondesign.com/collections/journals...

which the website reports as a 404

Thanks for feedback. I fixed that, have another try :)
Much better!
I initially jokingly searched for pizza, but was blown away when I found a ton of great looking frozen pizzas. There seems to be a shortage of chicken breasts in my area right now as well and some of the options here look nice. This app seems very useful to me and I will probably be ordering some items today!
Haha great, enjoy your food! I wonder how do you structure your search term?
Searched for "elastic laces", and 2 out of 3 results are 404. For other keywords, there's a very high ration of 404s.

I'd also like to filter by region, since I don't want to buy small, cheap items from the other side of the world.

Yeah, it's quite fragile and hacky at the moment. A quick abstract from a portion of an old project. Will probably do this properly this weekend. Filter by region/country is doable.
Give it a test; the short-form URLs shown in each card are also referred in each href, so "website.com/your_prod..." is what's literally provided as the url when you click through.
Thanks for that, fixed now
thats a good start but it would be nice to get individual items directly with price
Yup agreed, what i had in mind for proper version, price and pic are absolute must.