📖
Sizebay
  • Initial page
  • Virtual Fitting Room
    • Introduction
    • Implementation directly on your code
    • Implementation via Tag Manager
    • Implementation (via API)
    • Implementation on Vtex IO
    • Implementation on Shopify
    • Checking the Installation
    • Custom Implantation Events
    • Configuration Profiles
    • Understanding Responsivity
  • Data Integration
    • XML Feed Product Integration
    • API Product Integration
    • Onpage Product Integration
    • Return Data Integration
    • Product Variants Integration
      • V1
    • Categories accepted by the Integration
    • Size Tailor
  • Shopping tracker
    • Introduction
    • Sizebay Tracker Script (Client Implementation)
    • Sizebay Tracker Script (Sizebay Implementation)
    • Sizebay Tracker via API (Easy Setup)
    • Sizebay Tracker - Supported Countries and Currencies
    • Platforms
      • Shopify
        • Technical Note
      • Prestashop
      • Magento
      • WooCommerce
Powered by GitBook
On this page
  • Getting Started
  • My Sizebay Admin
  • Virtual Fitting Room
  • Usage
  • Virtual Fitting Room
  • eCommerce Integration

Was this helpful?

  1. Data Integration

Size Tailor

Improve your store integration with Sizebay even further by extending the user measures experience.

Last updated 3 years ago

Was this helpful?

Getting Started

My Sizebay Admin

If you don't have access to MySizebay Admin, contact our team at support@sizebay.com

First, you'll have to enable Size Tailor in a Category.

You can do that by going to https://my.sizebay.com/categories and clicking on a Category (or creating a new one) like we're showing here:

Virtual Fitting Room

After enabling it through MySizebay, simply add to your VFR 4 configuration file the following snippet:

config_v4.json
{
    ... ommitted config file ...

    general: {
        ... ommitted general object ...

        sizeTailor: true, // globally enables Size Tailor

        ... ommitted general object ...
    }

    ... ommitted config file ...
}

It can take a few minutes to reflect the update. Contact our development team at support@sizebay.com for any further issues.

Usage

Virtual Fitting Room

When enabled, Size Tailor will become available as a button through the "Fallback Measures" step. It looks something like this:

eCommerce Integration

As a result of using Size Tailor, our service will store into the window a new object called sizeTailor containing the profile measurements, available through window.sizebayParams.sizeTailor. This can be used to facilitate the integration between VFR and your eCommerce, allowing the measurements calculated by Sizebay to be used outside our webapp.

PS: The values shown in the object are measured in centimeters and can't be configured to return as other conversion types.

This is what our object looks like:

// window.SizebayParams.sizeTailor
{
  "id": "szb-compose-size-tailor",
  "measures": {
    "waist": 91,
    "chest": 102,
    "hip": 106,
    "sleeve": 42,
    "length": 0,
    "insideLeg": 48,
    "neck": 41,
    "fist": 0,
    "underBust": 0,
    "poundWeight": null
  }
}

Size Tailor configuration through the Categories page
Size Tailor being toggled whilst editing/creating a Category
Size Tailor button experience
Size Tailor step experience