Accessing Commerce product variant dimensions in the template
Dimensions are set and accessed individually:

{% set variant = product.defaultVariant %}

{{ variant.width }}
{{ variant.height }}
{{ variant.length }}
{{ variant.weight }}