Hello,
I’m developing a custom Shopify storefront with Next.js and Shopify’s APIs, including product viewing and cart management.
I’m encountering an issue during checkout. Customers are redirected to the default Shopify store’s checkout page as expected. However, when a visitor checks out, they’re prompted to log in due to the store being in development. After entering the login code, they’re redirected to the homepage instead of the checkout page.
This is a critical issue as I’m preparing the storefront for sale. The buyer will choose and pay for a plan, so I don’t plan to disable the password.
I need help to resolve this redirection issue. I’m also open to alternative methods for implementing a custom checkout experience.
I hope this helps! If you need further clarification, feel free to ask.