Ad

Shopify After APP Installation In Store / Show Iframe To Every Client Without Login

- 1 answer

After I installed my APP in Google Chrome, I noticed that if I open the Store in Safari, It show a Install the APP page in my Iframe. I don't want my clients to see that Installation Process. If someone Installed the APP in the Store, I want to check if the Store has Installed the APP and show the Iframe without authentication.

The Iframe query the Price of the Product with Heroku to another API. I use Rails, as shown in the 5 minute APP.

See this image showing the message:

Shopify Store Product Page Installation

and this one without (desired):

Shopify Store Product Page - API Call to Price

Ad

Answer

If an iframe works (your information is scrictly informational) then its src attribute should be to a root relative proxy url. The application proxy can return liquid that Shopify will interpret for you.

Ad
source: stackoverflow.com
Ad