Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Theme App Extension - asset_url access to users theme

Theme App Extension - asset_url access to users theme

Celso_White
Shopify Partner
23 0 29

I have an app that currently relies on posting images to a users theme assets folder. The images are displayed via section code in a users theme.

With the introduction of theme app extensions and app blocks it appears we no longer have asset_url access to a users theme. Can app blocks only pull assets from their own /assets folder? Are there any other url or media filters that are scoped just for the app blocks local files?

Replies 3 (3)

seismo
Shopify Partner
5 0 10

Did you find an answer to this question? In my case, I'd be interested in re-using css and locales from the user's theme in my app block but I get a translation missing error if I try e.g. the following in my app-embed.liquid:

{{ 'customer.login_page.email' | t }}

 

 

Celso_White
Shopify Partner
23 0 29

Unfortunately, I didn't find the answer. I've held off on using app blocks until I find a solution.

afleischer
Shopify Partner
4 0 5

Hi, it's been over a year. How have you resolved this issue? Have you heard anything from Shopify on this?