To display your TWICE store on your Shopify site, you can embed it using an iframe. Depending on your Shopify plan and theme, you can either insert the script into the theme’s <head>
section or include both snippets directly in a page’s content.
Step 1: Generate Your Embed Code
Go to the TWICE Embed Builder at embed.rentle.shop.
Follow the instructions on the site or read here how to generate the embedding codes for your store. You'll now have
Script Tag
Store Embed Code
Option 1: Add the Script Tag to Your Shopify Theme (Recommended)
This may require a paid Shopify plan and access to specific themes.
Go to your Shopify Admin and navigate to Online Store > Themes.
Click Actions > Edit Code on your active theme.
In the left sidebar, open layout/theme.liquid.
Paste the script tag in the
<head>
</head>
section. It will look something like this:<head>
...
<script type="text/javascript" src="https://cdn.rentle.io/embed/bundle.js" defer></script>
</head>Click Save.
Once the script is added, you can insert the store anywhere using the <twice-store>
tag:
In your Shopify Admin, navigate to Online Store > Pages
Click the page (or create a new page) on which you want to display your TWICE store.
In the content editor, click Show HTML (the
<>
icon)Paste the store embed code. This will look like this:
<twice-store shop="yourshopname" />