For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
shopify app generate extension
Hi WeNexus,
Do you already have other theme app extensions associated with this app project?
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
How many extentions are currently associated with this app, and are you hitting any of the limits outlined in our docs?
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, there is only one app block under "online store > Theme extension."
Also, We're not hitting any limits outlined in your doc : https://shopify.dev/docs/apps/online-store/theme-app-extensions/extensions-framework#file-and-conten...
@Liam Yes. We finished a theme extension."Trust Badge app block," and want to make another. When we went to do it, it showed this error: Online Store > "Theme extension limit reached."
That is strange if it's just one existing block so far and you're looking to add a second. How large are the Liquid files for the first block?
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
I've just stumbled upon the same. I am not hitting any limits and I have only 1 app block extension currently with merely 20 lines of code. Is this a bug and how can it be worked around?
I'm experiencing the same issue. I've only created a small theme extension, and now I can't add another one. Hoping for a solution soon!
Same situation, already just have one extension(simple, and folder size just only 40KB), when create secondary extension then the option that "Create Theme extension" is disable.
Hi, same here. I have an app with the "product rating" block extension which has 2 files and 10 lines of code only and I want to create another block extension but says "limit reached". Any solution?
I am still encountering the same issue. Has anyone found any solutions or fixes?
You can only have one extension, but you can have multiple .liquid files inside:
For anyone looking, this is the correct answer 👍
What if someone needs to use the two or three different targets (section, head, body).
How much lines of code can help to do that using one theme-app-extension?
Please reply if you can help.
Hello @Sahood 🙂
You can duplicate the liquid files with the same schema and uses but on each file select different targets. 🙂
It's will be like a trigger.liquid with a target section and a trigger_embed.liquid to the embed body for example.
To avoid duplicating code, use liquid includes - https://shopify.dev/docs/api/liquid/tags/include
For me, it's worked like expected. 🙂 Hope that this could help you.