Customer facing javascript

Shopify Partner
18 2 7

Hey all,

I'm looking for advice on how to build UI on the storefront for shop owners' customers.

The embedded/admin apps for shops have decent guidance with Polaris design, but I haven't found the same resources for the storefront.

Current flow:

  • We write javascript, enough for basic communication with our servers and styling
  • Shop owners need to install a code snippet for where they want our app to load/render
  • We use ScriptTags to add storefront functionality

I was looking into webpack to write in React and compile to javascript instead of directly javascript.

For the installation, I want to automate it with theme detection and have manual/guided installation as a backup.

Any feedback would be greatly appreciated. If I could help anyone by explaining our process, please ask questions.

Take care all!

Replies 2 (2)
79 1 3

Are you trying to create a public app or private app that modifies the store pages?

Shopify Partner
18 2 7

Public apps primarily