Setup
This guide assumes that you have already installed the Modi app from the Shopify App Store. If not, please do so before proceeding.
Step 1: Insert Config code
<script src="https://modi-fit.s3.us-east-2.amazonaws.com/widgets/production/public-find-my-size.js" defer></script>
<script src="https://modi-fit.s3.us-east-2.amazonaws.com/widgets/production/public-reviews.js" defer></script>
<script>
const StoreId = '{{ shop.id }}'
const StoreDomain = '{{ shop.permanent_domain }}'
const StoreName = '{{ shop.name }}'
const ProductId = '{{ product.id }}'
const ProductName = '{{ product.title }}'
const ProductImage = '{{ product.featured_image | image_url }}'
const ProductVariants = {{ product.variants | json }}
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
Step 2: Locate where you want the Find My Size button to show in the theme files
Step 3: Insert "Find your size" code:
Last updated