magento widgets

After Reading magento widgets blog you will be very happy to know, indeed it’s really worth reading this blog. yet another good feature develop by the magento called “magento widgets” may be very unknown / never explored / lack of information on this feature. Its really very good featured of magento. we can use this […]

Magento add product to shopping cart using ajax

In this blog we are going to discuss on how to add product to shopping cart using ajax. After little search i found some valuable information on how to add product to the cart without reloading the page. The different approach you can try are as follows. Method 1: Create out of box script and […]

Magento: How to get all images in product view

Following code should help you to get all images of the product. <?$_images = Mage::getModel(‘catalog/product’)->load($_product->getId())->getMediaGalleryImages();?> <?if($_images){?> <?$i=0; foreach($_images as $_image){ $i++;?> <a href=”#”><img src=”<?=$this->helper(‘catalog/image’)->init($_product, ‘thumbnail’, $_image->getFile())->resize(200, 130); ?>” width=”200″ height=”130″ alt=”<?=$this->htmlEscape($_image->getLabel());?>” title=”<?=$this->htmlEscape($_image->getLabel());?>” /></a> <?}?> <?}?>