[英]Is it posible for Shopify web app to communicate with custom web app?
I have a Shopify website where all my products are available, and where the user is logged in. I also have a custom web app (in angular) that can, from a series of questions make an order with the Shopify API. On the Shopify web app, there is a button that takes the user to the custom web app.我有一个 Shopify 网站,我的所有产品都在该网站上可用,并且用户已登录。我还有一个自定义 web 应用程序(角度),可以根据一系列问题使用 Shopify API 下订单。在 Shopify web 应用程序,有一个按钮可将用户带到自定义 web 应用程序。 The problem is I want the customer_id, email, or some other form of identification from Shopify to the custom web app after the user pressed the button.问题是在用户按下按钮后,我想要 customer_id、email 或从 Shopify 到自定义 web 应用程序的某种其他形式的标识。 One idea I had was for the button to use the url: https://generate-app/customer_id=[customer_id]我的一个想法是让按钮使用 url:https://generate-app/customer_id=[customer_id]
The problem with this is I'm not sure how to make a button with a redirect URL that has the customer_id.这个问题是我不确定如何制作一个带有 customer_id 的重定向 URL 的按钮。
Can you explain perhaps a little better what is going on here?你能解释一下这里发生了什么吗? What is the Shopify web app? Shopify web 应用程序是什么? What does it have to do with Shopify?和Shopify有什么关系? You know you could just build your customizer out as a theme app extension, and therefore have a lot more integrated control with the customer and the shopping experience?您知道您可以将定制器构建为主题应用程序扩展,从而对客户和购物体验进行更多的集成控制吗? Anyway, without a lot more details from you, I do not think your question is even remotely answerable.无论如何,如果没有您提供更多详细信息,我认为您的问题甚至无法回答。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.