Ad

Integrate Laravel Application Into 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.

Ad

Answer

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.

Ad
source: stackoverflow.com
Ad