Re: Migrate Asset API to Theme App Extension

Solved

Migrate Asset API to Theme App Extension

xao0isb
Shopify Partner
7 0 1

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
Community Manager
3108 341 881

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 5 (5)

Liam
Community Manager
3108 341 881

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
Community Manager
3108 341 881

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

 

mobyink
Shopify Partner
1 0 0

hello Liam, 

i am creating an wishlist app where i have added an proxy page something like "apps/wishlist" and also showing some data over there. now i want to show header and footer of the same store on that custom page i tried to pull the header file through asset api call but it shows the code file insted of header on that page. so can you help me how can i acheive such thing in which i can get the header and the footer of the website and between of them can add the content of my app. i am sharing both of the screen shots like what i am getting and what i want to achieve.

Screenshot 2024-08-05 at 6.34.57 PM.pngScreenshot 2024-08-05 at 6.35.08 PM.png