Tags » Magento

Magento Interview Questions and Answers

Ans. Magento is a feature-rich eCommerce platform built on open-source technology that provides online merchants with unprecedented flexibility and control over the look, content and functionality of their eCommerce store.

2,092 more words


show product attribute detail in order details in magento



$product = Mage::getModel(‘catalog/product’)

->loadByAttribute(‘sku’, $_item->getSku(), array(‘x’));

echo $product->getX();

Place this code in app/design/adminhtml/default/default/templates/sales/items/column/name.phtml where x is the code for your attribute – replace it with your attribute code. 28 more words


CE events in magento

The following is a list of many Magento Community Edition events with module and parameters. Note that some events are dispatched with dynamically-calculated names, so this list is and always will be “incomplete”. 3,040 more words


Custom Product Option and its use-case in Magento

Custom Product Option and its use-case in Magento

This post is actually short tutorial on how to create custom option for product and how to extend Magento Sale Order grid to show custom option as “Delivery Date”. 2,334 more words


add products programmatically 2

create simple products
/ There’s some more advanced logic above the foreach loop which determines how to define $configurable_attribute,
// which is beyond the scope of this article. 1,094 more words


add product programmatically

error_reporting(E_ALL | E_STRICT);
$mageFilename = ‘app/Mage.php';
require_once $mageFilename;
$app = Mage::app(‘default’);

ini_set(‘display_errors’, 1);

$api = new Mage_Catalog_Model_Product_Api();

$attribute_api = new Mage_Catalog_Model_Product_Attribute_Set_Api();
$attribute_sets = $attribute_api->items(); 399 more words