Re: 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?