I would like to add the custom attribute i created (delivery) to show on the shipping method section of the checkout page.
I have the following code working but when more than one item is being purchased it just lists all the delivery times next to each other. like 3 days 5 days 1 week
<?php $cartItems = Mage::getSingleton('checkout/session')
->getQuote()
->getAllItems();
foreach ($cartItems as $item) {
$ean = Mage::getModel('catalog/product')->load($item->getProduct()->getId())->getAttributeText('delivery');
echo $ean;
}?>
I would then want to pull the product name so What im looking for is
Product Name:Delivery Time or if multiple items Product Name:Delivery Time Product Name:Delivery Time