Magento:How to use ExtJs in Magento
Magento Module Development : ExtJs is a wonderful library for the RIA(Rich internet applications) , but to use in the magento is little tricky .
How to include
In most of the cases extjs gives the data in JSON format , we can use that data in this way in magento
foreach ($collection as $product) {
$Product = Mage::getModel('catalog/product');
$Product->load($product->getId());
$i++;
echo '[true, false, '.$i.', "'.$Product->getName().'", '.$Product->getPrice().', "'.$Product->getImageUrl().'", "'.$Product->getProductUrl().'", "", "", , ],';
enjoy
Related Posts:
No related posts.

Leave a Comment