2

I use the file: app\design\frontend\rwd\default\template\catalog\product\price.phtml

<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
     <?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true) ?>
</span>

enter image description here

1

you can get like that

    <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
         <?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true) ?>
    </span>
    <span>
<?php $pro=Mage::getModel('catalog/product')->load($_product->getEntityId()); ?>
        <?php echo  $pro->getWeight(); ?><?php echo $this->__('gram');?></span>
  • Please write where to insert this line? – Sylon Nov 16 '15 at 18:50
  • done now add it and feedback.. – Qaisar Satti Nov 16 '15 at 19:04
  • Unfortunately, nothing happens...:-( I added code in price.phtml. – Sylon Nov 16 '15 at 19:19
  • update answer kindly check.. – Qaisar Satti Nov 16 '15 at 19:54
  • Checked, unfortunately, nothing has changed...:-( – Sylon Nov 16 '15 at 20:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.