Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Theme Forum HelloCanvas & HelloCanvas iPhone Price in recently viewd box

    This topic contains 1 reply, has 2 voices, and was last updated by  Paul 2 years, 5 months ago.

    Viewing 2 posts - 1 through 2 (of 2 total)
    • Author
      Posts
    • #14981

      Anonymous

      Hello,

      i try to show the product price in the recently viewed box.
      For the box with the related product this works well with the folowing code for simlpe and grouped products:
      <?php echo Mage::helper('core')->currency(number_format($_item->getMinPrice(),2)); ?>

      The code does not work for the recently viewed products, (pasted in reportsproduct_viewed.phtml). Prices are shown with 0.00
      changing
      $_item->getMinPrice()
      to
      $_item->getPrice()

      shows the price only for simple products, but not for grouped products.

      Can you help me with a code that works?

      Many thanks.

      Regards,

      MJ

      #22386

      Paul

      Use

      <?php echo $this->helper(‘catalog/output’)->productAttribute($_item, $_item->getFinalPrice(), ‘name’) ?>

    Viewing 2 posts - 1 through 2 (of 2 total)
    Reply To: Price in recently viewd box
    Your information:





    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">