I'm editing the order in which the cart items appear in the table. I am trying to get the "vendor" super attribute value from each $this->getItems() as $_item. $_item->getProduct()->getId() is returning the simple product's parent configurable product id. I need to obtain values from the simple product in the cart. I'm not sure why $_item->getProduct()->getId() is giving me the parent Id. How do I get the "vendor" value. I have tried the following among other similar methods:
/template/checkout/cart.phtml
foreach($this->getItems() as $_item){
$currentItemVendorId = Mage::getModel('catalog/product')->load($_item->getProduct()->getId())->getData('vendor');
}