I'm trying to add the product price to the share wishlist email but I am not having any luck.

Here's what I have tried so far:


I've done a var_dump of the $_product variable and can see that price is available so I have added this code to line 38

<p><?php echo $_product = $item->getProduct(['price']) ?></p>

This hasn't worked so I would like to know if there is a better way to do it?

  • 1
    try $item->getProduct()->getData('price') – Amit Bera Mar 19 '15 at 10:23
  • And to get it formatted: <?php echo Mage::helper('core')->currency($item->getProduct()->getData('price')) ?> – user1704524 Mar 19 '15 at 10:35

Please try this


For getting proper ways try this

<?php echo Mage::helper('core')->currency($item->getProduct()->getPrice()) ?>
|improve this answer|||||

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.