Hi, I suppose you can use the following code from that post:
Thank you so much!
The actual writing on the product.tpl was a bit different...
Maybe you can help so if I change the measurement it automatically changes on the page aswell.
This is what Ive put in
<tr>
<td><b><?php echo "Length:"; ?></b></td>
<td><?php echo $product_info['length'] . "mm"; ?></td>
</tr>
<tr>
<td><b><?php echo "Width:"; ?></b></td>
<td><?php echo $product_info['width'] . "mm"; ?></td>
</tr>
<tr>
<td><b><?php echo "Height:"; ?></b></td>
<td><?php echo $product_info['height'] . "mm"; ?></td>
</tr>
As you can see Ive wrote . "mm"; ?>
How can I change that so if one of the measurements in is cm then it would change
MLCS, please look at my post above again.
I propose to change model and gets "length_class_name" from $product_info array.
After that you need write <?php echo $product_info['height'] . $product_info['length_class_name']; ?>