Adding a custom product to cart from an external web app

Hello,

I’m trying to build the following:

  1. Button in our Shopify site that redirects user to an external web app.

  2. In that app the user fills out specific product dimensions and views a preview design.

  3. After confirming this product, they’re then redirected back to Shopify with the new ‘one-time’ product added to their cart.

I’m stuck at the point of attempting to pass a cartId or user information necessary to create a new cart to the external app. The reason the app is external is that it’s somewhat complicated design software and the price may vary drastically depending on the users design choices.

Has anyone encountered something like this before, or perhaps another way of achieving the same result?

Thanks a lot.

2 Likes

Hey @AnalyzingAnt111 , did you manage to solve this problem? I am looking at how we can do this too. I have some ideas if you’d like to pair on this

could you do this?, I’m trying something similar but I can’t find any useful information, and I’m confused if this can be done using the storefront api.

Hi @AnalyzingAnt111
Were you able to find a solution for this? I am looking to do something similar.