I started working on our Minis when I was in France and everything was working just fine. But now that I am in Algeria, the hook useProductSearch isn’t working anymore.
I don’t know if it has something to do with my current location? I tried to use a VPN (CyberGhost) on my phone (iOS) but I’m still getting 0 product. How can I fix this?
your default shipping address in your Shop app account settings may impact that; please try changing it and see if it makes a difference
Thanks for your quick reply. I’ve updated the address in my Shop app account and tested both with and without a VPN, but the issue still persists.
Could you please suggest any alternative solution so we can continue our development?
Are you using the search hook directly or using the search component?
Can you try starting a new Mini from scratch by running the init command from docs, then only implement the search component and let me know if that works?
hi @Walidzm1! Also, please ensure that you marked the “Set as default address” flag in your main address before testing the API
Thanks @Quique-Shopify everything works fine now. I started a new Mini and tested both the search hook and the search component, and they’re both working properly.