Solved

Migrate Asset API to Theme App Extension

xao0isb
Shopify Partner
4 0 0

Since the Asset API works until april 2024 we have to migrate to the Theme App Extension.

 

Our app is currently creating new .liquid files and change them using the Asset API. But how can I achieve the same functionality through Theme App Extension? I didn't find any info in the documentation and across google.

 

Thanks!

Accepted Solution (1)

Liam
Shopify Staff
2731 301 778

This is an accepted solution.

Hi Xao0isb,

 

With theme app extensions, you won't be able to create new liquid files - instead your app will need to integrate within a liquid template as a block that can be added to a section. This is an intended limitation to ensure merchants who install apps from the Shopify app store continue to have performant stores. If your app cannot migrate without losing functionality you can apply for an exemption to this requirement on this form.

 

Hope this helps,

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

View solution in original post

Replies 4 (4)

Liam
Shopify Staff
2731 301 778

This is an accepted solution.

Hi Xao0isb,

 

With theme app extensions, you won't be able to create new liquid files - instead your app will need to integrate within a liquid template as a block that can be added to a section. This is an intended limitation to ensure merchants who install apps from the Shopify app store continue to have performant stores. If your app cannot migrate without losing functionality you can apply for an exemption to this requirement on this form.

 

Hope this helps,

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

ChessGambit
Shopify Partner
2 0 0

Hello Liam,

 

is this form only for current apps looking to migrate or also for new apps that require to create liquid files?

 

Liam
Shopify Staff
2731 301 778

This form is just for existing apps on the Shopify App Store. For new apps you'll need to contact partner support directly from your partner dashboard to request an exemption. 

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

ChessGambit
Shopify Partner
2 0 0

Thank you for the clarification