Timeline for Fatal error: Call to a member function getId() on a non-object in
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 9, 2015 at 7:10 | comment | added | Minesh Patel | Let us continue this discussion in chat. | |
Dec 9, 2015 at 7:09 | comment | added | Baby in Magento | we are using an extension : we are displaying list of product information there. myproductlist.phtml page | |
Dec 9, 2015 at 7:07 | comment | added | Minesh Patel | i say on which page ???? | |
Dec 9, 2015 at 7:06 | comment | added | Baby in Magento | i am trying the same code..... | |
Dec 9, 2015 at 7:05 | comment | added | Baby in Magento | this code worked for price : <input type = "text" id = "specialprice_<?php echo $products->getId(); ?>" onkeydown="validateNumbers(event)" "name = "price" value = "<?php echo $products->getSpecialPrice(); ?>" style = "display:none"/> | |
Dec 9, 2015 at 7:04 | comment | added | Minesh Patel | if you are getting product id then use Mage::getModel('catalog/product')->load($product_id); | |
Dec 9, 2015 at 7:03 | comment | added | Minesh Patel | on which page you want this ? do you get product id on that page ? | |
Dec 9, 2015 at 7:03 | comment | added | Baby in Magento | what code i have to replace now... | |
Dec 9, 2015 at 7:02 | history | answered | Minesh Patel | CC BY-SA 3.0 |