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 Answer 1

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>
9
  • Please write where to insert this line?
    – Sylon
    Nov 16, 2015 at 18:50
  • done now add it and feedback.. Nov 16, 2015 at 19:04
  • Unfortunately, nothing happens...:-( I added code in price.phtml.
    – Sylon
    Nov 16, 2015 at 19:19
  • update answer kindly check.. Nov 16, 2015 at 19:54
  • Checked, unfortunately, nothing has changed...:-(
    – Sylon
    Nov 16, 2015 at 20:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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