Sunday, 24 November 2013

Get product attribute on cart page magento

 
Hi to get the product atribute on cart page 
 
place the below code in 
 
in app/design/frontend/default/your_theme/template/checkout/cart/item/default.phtml 
 
<?php 
$_item = $this->getItem();
$_product = $_item->getProduct()->load();
?>
<?php echo $_product->getCustomAttribute(); ?>// place ths where ever you show 
and replace the CustomAttribute  with your attribute code
 
 
thanks 

add arrow to the div through css

Hi to add the css to your div at any position you can folow the below link

http://cssarrowplease.com/

here you will find the live demo and you can customize the css according to your need online.


hope this will help somebody
thanks