2 added 124 characters in body
source | link

Please add bellow code in config.xml

  <global>
    <sales>
        <quote>
            <item>
                <product_attributes>
                    <vendor_id/>
                </product_attributes>
            </item>
        </quote>
    </sales>
</global>

Also assigned vendor to product in admin side and clear cash

See screenshot : enter image description here

and (template/checkout/cart.phtml:146-148) try to display frontend:

echo $_item->getProduct()->getVendorId()

Please add bellow code in config.xml

  <global>
    <sales>
        <quote>
            <item>
                <product_attributes>
                    <vendor_id/>
                </product_attributes>
            </item>
        </quote>
    </sales>
</global>

Also assigned vendor to product in admin side and clear cash

See screenshot : enter image description here

Please add bellow code in config.xml

  <global>
    <sales>
        <quote>
            <item>
                <product_attributes>
                    <vendor_id/>
                </product_attributes>
            </item>
        </quote>
    </sales>
</global>

Also assigned vendor to product in admin side and clear cash

See screenshot : enter image description here

and (template/checkout/cart.phtml:146-148) try to display frontend:

echo $_item->getProduct()->getVendorId()
1
source | link

Please add bellow code in config.xml

  <global>
    <sales>
        <quote>
            <item>
                <product_attributes>
                    <vendor_id/>
                </product_attributes>
            </item>
        </quote>
    </sales>
</global>

Also assigned vendor to product in admin side and clear cash

See screenshot : enter image description here