Opening Shopify Cart

DevDisc32
New Member
1 0 0

Hi,

So I am developing a mobile application for my Shopify store based on flutter, I have come across creating checkout for users on mobile using checkout links and Multipass API. But, I also want to maintain a cart so that I can show the users what all they have added to the cart. Is there any way to open a cart web-view display the products added in the cart?

I tried finding some of the help posts came across the following way:

https://yoursite.com/cart/add?id=VARIANTID1&quantity=1&id=VARIANTID2&quantity=1

But, this way works randomly - sometimes adds multiple products and the remaining times kind of adds only the last product/variant at the end of the url. Is there a better way to achieve this?

Thanks!

Replies 0 (0)