To avoid CORS issues while fetching API requests to a server that is outside your control, such as Shopify for instance, run the requests via Next.JS API Routes, the backend of a Next.JS app.
Donations: https://www.paypal.com/donate/?hosted...
Follow me on Twitter: / @johne104
YouTube Channel: / @bluesphere7930
Email: [email protected]