Rendering the Skio Login / Customer Portal in an iFrame Rendering the Skio Login / Customer Portal in an iFrame

Rendering the Skio Login / Customer Portal in an iFrame

 

If your store would like to use the Skio Login / Customer Portal pages outside of the standard Skio URLs, it is now possible to embed those pages inside of an iFrame, allowing them to be used on any page within your Shopify store!

Typically, the Skio Login page exists at "yourdomain.myshopify.com/a/account/login", and the Skio Customer Portal typically exists at "yourdomain.myshopify.com/a/account/subscriptions" (where "yourdomain" is your store's Shopify domain, found in your Shopify admin portal). These URLs are not something that can be changed in the Skio backend, as Skio functionality specifically utilizes these URLs on all merchant stores that have Skio installed and set up.

In order to place the Skio Login / Customer Portal within an iFrame element, the following URL structure should be passed to the <iframe> :

https://storefront.skio.com/a/account/login?hostname=yourdomain.myshopify.com

 

That's it! Please note that if you are using an iFrame to render the Skio Login / Customer Portal, any CSS placed into the DOM will not apply to the elements in the iFrame itself; for this reason, we recommend using Skio's Custom Blocks to add your desired CSS to the Skio Login / Customer Portal.

Add comment

Please sign in to leave a comment.