简体   繁体   English

Shopify web 应用程序是否可以与自定义 web 应用程序通信?

[英]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.

相关问题 Web Api 2中的自定义路由以使用角度应用程序进行调用 - Custom route in Web Api 2 to call with angular app SPA(Angular 2)Web应用程序中用户的自定义主题 - Custom theme for users in a SPA (Angular 2) web app 渐进式网络应用程序和AngularDart - Progressive web app and AngularDart 将Web App迁移到Angular 2 - Migrating Web App to Angular 2 服务人员不适用于 Azure Static Web 应用程序上的自定义域 - Service worker not working for custom domain on Azure Static Web App 来自 angular 应用程序的 vaadin web 组件中的自定义样式 - custom styling in vaadin web component from angular app 使用 NGINX 使用自定义 URL 路径提供 Web 应用程序 - Serve web app using custom URL path using NGINX Angular 应用程序无法识别 StencilJs 自定义 Web 组件的全局样式 - Global styles for StencilJs custom web component not recognized in Angular app 将自定义声明从 Angular 应用程序传递到 dotnet core web api - Passing custom claims from Angular app to dotnet core web api 使用Microsoft在线帐户进行Angular 4/5登录,而无需创建azure ad b2c应用程序并与Web API通信(.net core 2.0) - Angular 4/5 login with microsoft online account without creating a azure ad b2c app and communicate with Web API (.net core 2.0)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM