Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $product_sku = $mpn;
- $obj = Mage::getModel('catalog/product');
- $product_id = $obj->getIdBySku( $product_sku );
- $_product = $obj->load($product_id); // this is the problematic line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement