Skip to main content
15 events
when toggle format what by license comment
Oct 21, 2016 at 10:58 comment added Murtuza Zabuawala I think There may be another 500 error debug that
Oct 21, 2016 at 10:55 comment added Sarvesh Tiwari now i have fixed my error i used this code <?php $itemproduct = Mage::getModel('catalog/product')->load($_item->getProductId‌​($_item)); ?> <?php echo $product->getPrice(); ?> but now order email is totally blank
Oct 21, 2016 at 6:46 comment added Murtuza Zabuawala have you miss semicolon or something please check
Oct 21, 2016 at 6:44 comment added Sarvesh Tiwari Parse error: syntax error, unexpected '??' (T_COALESCE) in C:\xampp\htdocs\giftingideas\app\design\frontend\base\default\template\email\order\items\order\default.phtml on line 52
Oct 21, 2016 at 6:11 comment added Murtuza Zabuawala first echo this code $_item->getProductId‌​‌​() have you got the product id
Oct 21, 2016 at 6:09 comment added Sarvesh Tiwari i update my code with <?php $itemproduct = Mage::getModel('catalog/product')->load($_item->getProductId‌​()); echo $itemproduct->getPrice(); ?> but its not working
Oct 21, 2016 at 6:07 history edited Murtuza Zabuawala CC BY-SA 3.0
added 9 characters in body
Oct 21, 2016 at 6:04 comment added Qaisar Satti @MurtuzaZabuawala this will return $_item->getId() item id not the product id for product id use $_item->getProductId‌​()
Oct 21, 2016 at 5:55 comment added Sarvesh Tiwari <?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore())) { $itemprice = $this->helper('checkout')->getPriceInclTax($_item) ; echo $this->helper('checkout')->formatPrice($itemprice); } else { echo $this->helper('checkout')->formatPrice($_item->getPrice()) ; } where should i paste your code
Oct 21, 2016 at 5:55 comment added Sarvesh Tiwari <?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore())) { $itemprice = $this->helper('checkout')->getPriceInclTax($_item) ; echo $this->helper('checkout')->formatPrice($itemprice); } else { echo $this->helper('checkout')->formatPrice($_item->getPrice()) ; }
Oct 20, 2016 at 12:41 review Low quality posts
Oct 20, 2016 at 12:47
Oct 20, 2016 at 12:26 comment added Sarvesh Tiwari okay lets me check ...
Oct 20, 2016 at 12:25 comment added Murtuza Zabuawala just place this code in php $item loop instead your code , I have used $_item varibale and load orignal product and fetch its actual price
Oct 20, 2016 at 12:24 comment added Sarvesh Tiwari i am asking about order email template...
Oct 20, 2016 at 12:23 history answered Murtuza Zabuawala CC BY-SA 3.0