Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Can't generate Theme App Extension

WeNexus
Shopify Partner
4 0 0
Hi, I'm building a Shopify App using Remix, I've created one Theme App Extension so far which is an App Block, and now I'm trying to generate an App Embed Block but when I run
 
shopify app generate extension
I can't select Theme App Extension, it says "limit reached", why I'm am not able to generate another Theme App Extension?
 
Screenshot from 2023-11-03 12-39-30.png

 

Replies 13 (13)

Liam
Shopify Staff
2677 288 736

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

WeNexus
Shopify Partner
4 0 0
Yes Liam,
Liam
Shopify Staff
2677 288 736

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

WeNexus
Shopify Partner
4 0 0

@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...

WeNexus
Shopify Partner
4 0 0

@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."

 
Can you help me understand why it happened... as far as I know, many apps are making 40+ promotional theme extensions (e.g.: Vitals app); when we're going to make then, why its showing limitations...
Liam
Shopify Staff
2677 288 736

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

delyanpeev
Shopify Partner
5 1 0

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?

yehudit
Shopify Partner
1 0 0

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!

NickShi
Shopify Partner
25 3 3

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.

- If helpful then please Likes and make it as a Solution.
- If you want to develop a store/app, or need custom software development services Email Me
Fabian_Martinez
Shopify Partner
9 0 2

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?

Sahood
Shopify Partner
6 0 0

I am still encountering the same issue. Has anyone found any solutions or fixes?

delyanpeev
Shopify Partner
5 1 0

You can only have one extension, but you can have multiple .liquid files inside:

delyanpeev_0-1705581813486.png

 

Sahood
Shopify Partner
6 0 0

What if someone needs to use the two or three different targets (sectionheadbody).
How much lines of code can help to do that using one theme-app-extension?


Please reply if you can help.