<tys-fit>
The inline element as a tag: sign-in and “your body is ready” in your page.
Attributes
Section titled “Attributes”publishable-keystringRequiredYour publishable key.
productstringRequiredYour product ID or SKU.
localestringOptionalBCP 47 language.
demo-bodystringOptionalTest keys only: demo mode on a sample body, e.g. sample-female-165.
Example
Section titled “Example”<tys-fit publishable-key="pk_test_…" product="STRAIGHT-JEANS"></tys-fit><script> document.querySelector("tys-fit").addEventListener("tys:size", (e) => selectVariant(e.detail.size));</script>Was this page helpful?
Thank you. We read every answer.