I am trying to get the websites ids against each product on cart page like this but didn't work.
<?php foreach($this->getItems() as $_item): echo "<pre/>"; $product = Mage::getModel('catalog/product')->load($_item->getId()); print_r($product->getWebsiteIds()); echo $this->getItemHtml($_item) ?> <?php endforeach ?>
It showing output with
1 result.Some product belongs to website 2
Array (  => 1 )