App frontend with API

Yeq
Shopify Partner
10 0 1

Hi i got a question see a lot of tutorials for create admin app with admin page but how i can create app with front page that can be used by customers ? 

 

I want create custom page in front with my API app template     like a page call myshop.myshopify.com/mypage

 

Do you have tutorials link plz ? Php if possible

 

Thanks

Reply 1 (1)

hassain
Shopify Staff (Retired)
624 104 187

Hi @Yeq ,

 

It sounds like what you want to do can be accomplished if you build a Shopify App that uses the App Proxy functionality. With an App Proxy enabled for your Shopify app you can route requests from your shop’s domain to any url of the app’s choosing. For example you can route from https://your-shop.myshopifycom/apps/test-app could become a direct link to https://your-own-php-website.com. Now when customers go to your Shopify store and visit that link on your store, they will see all the content from https://your-own-php-website.com without leaving your store.

 

There are unfortunately no PHP examples to share, but there are plenty of helpful documents:

https://shopify.dev/tutorials/display-data-on-an-online-store-with-an-application-proxy-app-extensio...

https://medium.com/shop-sheriff/what-is-a-shopify-application-proxy-and-how-can-i-use-it-153bf99d1a9...

https://github.com/mikeyhew/shopify-app-proxy-example

To learn more visit the Shopify Help Center or the Community Blog.