问题
I have a static (non-Shopify) HTML and JS website with a shopping cart where its functionality is carried out using JS and Jquery. I need to pass my cart values to Shopify and take the user directly to the Shopify Checkout page when user clicks on the checkout button on my site. I need to pass cart values to Shopify and load the checkout page on the browser. How can I do this? I'm new to Shopify and I need some guidance on how to do this.
回答1:
If you have access to variant ids and quantities in the cart, you can use a permalinks for this purpose. Example - http://yourstore.com/cart/70881412:1,70881382:1
More details here - https://community.shopify.com/c/Shopify-Design/Cart-Use-permalinks-to-pre-load-the-cart/td-p/613702
来源:https://stackoverflow.com/questions/65038747/shopify-pass-values-from-non-shopify-site-to-shopify-checkout-and-get-url