duannuochi3549 2017-10-06 08:15
浏览 143
已采纳

将Laravel应用程序集成到Shopify Storefront中

Are there any Shopify "Embedded App SDK" in the Shopify Storefront rather than in the Shopify Admin?

Like in the illustration below, Letter A is already available in the Shopify SDK (https://help.shopify.com/api/sdks/shopify-apps/embedded-app-sdk). But currently as of this writing, what we would like to do is illustrated in letter B

enter image description here

Is this possible? Or do you guys have any suggestions on how to handle this?

Thank you very much.

  • 写回答

1条回答 默认 最新

  • dongli4711 2017-10-06 18:39
    关注

    Yes, you can incorporate your app into a storefront using app proxies or ScriptTags.

    ScriptTags allow your app to load third-party JavaScript on existing pages of the store. This is useful if you want to render a widget (like a live chat system) on product pages, collection pages and/or the homepage.

    If you register an app proxy then that will create a path on the storefront (e.g. kith.com/apps/your-app) that is specific to your app. Shopify will proxy those requests to your server and you can respond with the content that should be served to the customer.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?