Show Attributes on checkout page in Magento

Just go to the Admin section, select products->Attributes->Manage Attributes.

Then just click on “Add New Attribute” on the top right hand side.

Once you have added it, clear the magento cache, and edit a product.

You will see the attribute in the General tab being available for editing.

ensure you enable it for the Front End too, to display it.

The use code like below in the template that displays the item:


<?php $_item = $this->getItem()?>
<?php $_product= Mage::getSingleton('catalog/product')->load($_item->getProductId()) ?>
<?php echo $_product->getResource()->getAttribute('attribute_code')->getFrontend()->getValue($_product); ?>

Leave a Reply

Your email address will not be published. Required fields are marked *

17 + eleven =