Solved

App embed extensions additional questions

emiltr
Shopify Partner
8 0 21

Hello,

I am one of the developers of an app which we offer for Shopify merchants. While making the changes for the Online Store 2.0 compatiblity and the migration from ScriptTag API to App Extensions, we have stumbled upon a few issues, for which we were not able to find any useful information on how to resolve them in the app extensions documentations. 

Below you will find the questions which we currently have in regard to this:

1) We have already set up one theme app extension within the settings of the app > Extensions > Online Store, however, we were not able to connect it with the app extension files that were generated via the "shopify extension create" CLI command. Could you provide more information on how we can push the files in an existing app extension that is already created within the app. Also, there is no option to delete the extension, therefore we should be able to push the files to an existing one.

2) How exactly can we update the app extension from different computers? For example, how can we download the existing app extension files from another computer and push a new version of the extension from there?

3) While doing the tests, we ran the command "shopify extension check" which checked our Javascript file, which we added in the assets folder, that we have loaded previously with the ScriptTag API, however the size of our file is 66KB, and the limit for the JS files is 10KB. What exactly is the solution for cases like this?

4) What should we do with the current way of how the app works with the ScriptTag API? Do we need to remove the logic for adding the scripts via the ScriptTag API or not yet? If we have to remove it, how will the app work with the current themes and stores that are not fully 2.0 compatible yet?

Any information in regard to any of these points will help a lot. 

Thanks in advance for the help. It will be much appreciated.

Accepted Solution (1)

AdrianExpert
Shopify Partner
28 1 1

This is an accepted solution.

Hey,

Not sure if it's still actual but you may do it using the following command:

shopify extension connect

Then you need to pick the existing extension you need to connect.

For you to achieve your goals, visitors must first achieve theirs

View solution in original post

Replies 2 (2)

AdrianExpert
Shopify Partner
28 1 1

This is an accepted solution.

Hey,

Not sure if it's still actual but you may do it using the following command:

shopify extension connect

Then you need to pick the existing extension you need to connect.

For you to achieve your goals, visitors must first achieve theirs
emiltr
Shopify Partner
8 0 21

Hello, 

Thank you for your reply. Yes, we have found the solution and correct, it worked fine with shopify extension connect.