FROM CACHE - zh-cn_header

Abandoned Checkouts error when I use checkoutCreate

Abandoned Checkouts error when I use checkoutCreate

lizehan
Shopify Partner
3 0 0

I call checkoutCreate from the shopping cart because it lets the user see the checkout information ahead of time. For example, use discountcode to checkout information. But this will cause checkout to appear on Abandoned Checkouts. Is there a good way to solve this

1 条回复1

lizehan
Shopify Partner
3 0 0

https://codesandbox.io/s/immutable-fog-fjlctp?file=/src/index.js

That's how I got the checkout information in my cart page, so I could type discountcode in my cart page