Use formatted weight and dimensions for variations

Fixes #15327
This commit is contained in:
Mike Jolley 2017-05-29 10:31:31 +01:00
parent 62bcca6cce
commit 2177ef93cd
1 changed files with 2 additions and 2 deletions

View File

@ -195,13 +195,13 @@
}
if ( variation.weight ) {
$weight.wc_set_content( variation.weight );
$weight.wc_set_content( variation.weight_html );
} else {
$weight.wc_reset_content();
}
if ( variation.dimensions ) {
$dimensions.wc_set_content( variation.dimensions );
$dimensions.wc_set_content( variation.dimensions_html );
} else {
$dimensions.wc_reset_content();
}