I am working on product collection. Here is my query:
$_product = Mage::getModel('catalog/product')->addWebsiteFilter($allWebsiteIds)->load($productid);
But this is not working.
As reference check this link. I want to load detail in this line
$product = Mage::getModel('catalog/product')->load(YOUR_PRODUCT_ID);
but with "addWebsiteFilter" also.Any one know how i can achieve this.