Disable unit conversion on specific Columns and Rows

If some columns in your size chart should not be converted when customers switch between inches and centimeters, you can disable unit conversion for specific column titles.

For example, in the size chart below, the Size column should remain the same regardless of the selected unit.

In this example below, the USA, UK, EUR, AUS, JPN, and MEX columns represent shoe sizes rather than measurements, so they should also remain unchanged when the unit conversion is switched.

To disable unit conversion, add the titles of the columns you want to exclude as a comma-separated list.

For example, the code below disables unit conversion for the Size, USA, UK, EUR, AUS, JPN, and MEX columns.|

You can place this code after the <head> tag in your theme.liquid file. More info

<script>
var sizeChartsRelentless = {
disableConversionColumns: 'Size, USA, UK, EUR, AUS, JPN, MEX',
};
</script>

If you also need to disable unit conversion for specific rows, please contact our support team and we’ll provide the appropriate code.

Was this article helpful?
Dislike