Inject files from app to store with ShopifyE xtensions

Inject files from app to store with ShopifyE xtensions

omriWedev
Shopify Partner
12 0 2

Hey everyone!
i am the developer of this app:https://apps.shopify.com/wegifts
for now, we insert some files in the app installation (like section and templates) with the assets api.
any ideas how i replace this with the extensions ?
Thanks !

Replies 2 (2)

PageFly-Theodor
Shopify Partner
691 86 98

Hi @omriWedev ,
This is Theodore from PageFly - Shopify Page Builder App.
For solving the problem about the Inject Files From App To Store With ShopifyE Xtensions, let’s try this solution:
Create your extension assets like sections and templates and save them in your app's /assets folder. Update your app manifest to declare these assets. Submit your updated app for review in the Shopify App Store. Once approved, your extension assets will install on merchants' stores when they add your app. Be sure to test assets thoroughly, provide documentation to merchants, and ensure compatibility with the latest Shopify version. Following these steps to migrate to extensions from the Asset API will allow you to install assets on merchants' stores through the app installation process.


I’ll be so happy if my suggestion can help to solve your problem. If you have any further questions, please feel free to tell me.
Best regards,
Theodore | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

omriWedev
Shopify Partner
12 0 2

Hey, thanks for your answer
i have a problem that my app is not an embedded app( i mean that i have an domain that my frontend seat on)
so i cant create extension with the shopify cli cause i dont use it in my app, so any idea how i can do it ?