Questions and discussions about using the Shopify CLI and Shopify-built libraries.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi all,
I am using the theme app extension. but shopify CLI 3.0 there is no any .env file I can find the extension_id
based on that extension_id my deep link working.
https://shopify.dev/docs/apps/online-store/theme-app-extensions/extensions-framework#deep-linking
any one can help for the deep link with CLI 3.0 !
Solved! Go to the solution
This is an accepted solution.
Hi, if you don't see an env file in your project, there is one workaround how to get UUID you are looking for. BTW are you sure you connected your project with the Shopify dev account? Anyway...
Install the app in the dev store. Go to the theme editor -> select "App embeds" from the left-hand menu -> if you have installed the app and extension correctly, your extension should be listed there. Press the right mouse button over the extension name and choose Inspect from the context menu. In the source code, find the phrase "&app_embed_uuid=xxxxx" - this is your UUID. If you have installed more than one app, make sure you copy the proper UUID of your extension.
Let me know if it works for you. Best!
Hi Sanjay,
I'm not 100% sure if you do need the extension_id for setting up a deep link. Is it possible you are looking for the sectionID (the ID of the section to which the app block should be added) which is mentioned in the deep linking docs here? There's also more info on Section data in these docs too.
Let me know if this is what you're looking for, if not we'll dig into this a bit more!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
@Liam Thanks for the your answer .
As per the DOC all are working fine before the may 2023.
"uuid" I can find in .env with shopify CLI 2.0x but I can see the CLI 2.0x was sun set 31 May 2023.
now i am using the CLI 3.0x I can see the any .env file into project folder structure.
npm run shopify app env show
https://shopify.dev/docs/apps/tools/cli/commands#env-show
I try with the show --env it was show the naming not any ID or UUID
can you please help this was high issue facing our app user.
@Liam can you please look into this issue. I read CLi 3.0 answer so i am tagging you here @ShopifyDevSup
This is an accepted solution.
Hi, if you don't see an env file in your project, there is one workaround how to get UUID you are looking for. BTW are you sure you connected your project with the Shopify dev account? Anyway...
Install the app in the dev store. Go to the theme editor -> select "App embeds" from the left-hand menu -> if you have installed the app and extension correctly, your extension should be listed there. Press the right mouse button over the extension name and choose Inspect from the context menu. In the source code, find the phrase "&app_embed_uuid=xxxxx" - this is your UUID. If you have installed more than one app, make sure you copy the proper UUID of your extension.
Let me know if it works for you. Best!
Hi, how do we get the UUID of a theme app extension? Not an embedded one