Did you put the Embed API (Javascript tag) on that page? That’s what redirects the user to their admin login page.
That was it. I was rendering embedded apps layout inside my controller, causing it to ask for admins credentials. Thanks a lot Dan.
I have a different issue now though as it’s not rendering my styles with the page. I have stylesheet tag for my stylesheet inside the template, it’s rendering styles on local machine but not one the shopify store. Also I’m rendering front end page as a liquid template.
Any Suggestions?
I’d suggest checking your browser’s developer tools. If there’s some reason the stylesheet is not being loaded, you’d find out there in the console or the network inspector.
Already checked and it doesn’t. Do you have any idea if Shopify strips stylesheets and js for the proxy url pages?
View the page source in your browser and find out. That would take a fraction of a second, where waiting for a stranger to see and reply to your post takes 41 minutes. ![]()
Thanks for the suggestion, I’m already trying to debug it :D. I’m using rails for development so it’s rendering my application.css but it doesn’t have any styles in it. Inline styles are working though.
Fixed it so the issue was it was making relative path for my css file and hence looking in Shopifys assets for that css which wasn’t present there.
Thanks for the help though Dan
Hi
I would like to creat a shopify app which will perform some api calls to get the data.
I need some technical quidelines how can create app and embeded in store. After installing the app, where we can write the logic for app..
provide me some inputs that would be great
I spent about a day trying to understand this. I posted my experience here