Hello
I've been searching for a few hours and I can't find a solution for an issue that seems to me that should be pretty simple to solve...
I've built an app that allows the end user to insert texts and create a new product with the texts he/she inserted.
From the app, on the remote server, I manage to create an image of the product with the new texts and then create the product itself with this image on the Shopify website.
However, I can't find a way to add this product to the user's shopping cart from the app.
I tried using cart/add.json but it doesn't work. I tried sending AJAX request using cart/add.js but it doesn't work either.
Can it be done? If so, how?
Thank you,
Ofek Cohany