You're currently running our Online Sizing v1 widget? Great! We're glad to welcome a long time customer.
This guide shows you how to uninstall v1 and install v2. Let's get started!
Step 1: Remove onlineSizer config
Somewhere in your page you defined the
onlineSizer config object which looks something like this:
You can remove that – but maybe copy paste it somewhere to pick parts from it in future steps.
If you defined callback functions to i.e. select the frame size after the widget closes, you can keep those in place and continue to use them.
Step 2: Remove scripts
If you added jQuery to your shop back then just for Online Sizing, you can go ahead and safely remove that:
Then there's the actual
onlinesizer.js script which can be safely removed as well:
Step 3: Remove HTML elements
Now you can go ahead and delete the last missing pieces of HTML from your product page related to OZ v1:
You can keep the button if you like – we can use that for the new version of Online Sizing.
Step 4: Install the new widget
Now that you've uninstalled v1 you can follow our new Getting Started Guide to setup v2 🎉.