I want to display products unit of measurement at the frontend. For that I have created weight_unit
attribute in admin panel and I am adding it to products like gram, kilogram, liter, etc. But I can't show it at frontend. I use following code to display at frontend:
<?php echo $_product->getAttributeText('weight_unit'); ?>
Still I am not getting proper show of product unit. Please can anyone suggest me how to show it? Is there any other methods to represent the product unit?