For store owners
Paste this on your site.
Paste the script on a product page. It reads that page’s product photo, name, and price from schema.org or the share image, then opens try-on for that garment. Pairing uses the other products published on the same page. On this shop, a product page already publishes its id, so the outfit is built from Atelier.
Shoppers can only load the script from a public address. If the snippet says localhost, it works on this computer. A live store needs this app deployed, with NEXT_PUBLIC_APP_URL set to that address. The product photo must be a public https image, because YouCam fetches it.
Embed code
<!-- AuraFit virtual fitting room --> <script src="/embed.js" data-store="demo-atelier" data-base="" ></script>



