A space to discuss online store customization, theme development, and Liquid templating.
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,
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
Hi Liam,
Thanks for your advice. Will take a look.