How to get header and footer in a custom page

Hi all,

I’m creating a Shopify App in Remix and using App proxy to visit a custom page. Does anyone have an idea how to get header and footer from the active storefront theme on a custom page? Appreciate your help.

Hi Shangao-070,

You should be able to use the Asset API to make a Get request that will return the content of individual theme files, so you could make separate calls to get the header and footer content of a store.

Hope this helps,

Hi Liam,

Thanks for your advice. Will take a look.