0

Magento Import and Export clarifications

posted on , by Muthupandi

Reference: http://blog.mag-manager.com/2013/01/101-magento-import-questions.ht ...

0

Magento Sample EAV tables

posted on , by Muthupandi

-- first our items table: CREATE TABLE `items` ( `id` int(11) NOT NULL auto_increment, `item_name` varchar(50) default NULL, PRIMARY KEY (`id`) ); -- now our item attributes CREATE TABLE `item_attributes` ( `id` int(11) NOT NULL auto_increment, `item_id` int(11) NOT NULL default '0', `attribute_name` varchar(50) default NULL, PRIMARY KEY (`id`), KEY `item_id_attribute_name` (`item_id`,`attribute_name`) ); -- now finally our attribute values CREATE TABLE `attribute_values` ( `attribute_id` ...

1

Magento:Adding store view multi-selection to admin module

posted on , by Muthupandi

Reference: http://www.demacmedia.com/magento-commerce/mini-tutorial-adding-store-view-selection-to-your-modules-adminhtm ...

0

Magento - custom (non eav) model, load by multiple fields?

posted on , by Muthupandi

Step 1: $attributes = array('name'=> $name'store_id'=> store_id); $model = mage::getmodel('module/modelname')->loadbyattributes($attributes); Step 2: public function loadbyattributes($attributes) { $this->setdata($this->getresource()->loadbyattributes($this,$attributes)); return $this; } Step 3: public function loadbyattributes(Custom_Ccms_Model_Ccms $ccmsObj, $attributes) { $adapter = $this->_getreadadapter(); $where = array(); foreach ($attributes as $attributecode=> ...

0

List of All Observer-Events in Magento 1.8

posted on , by Muthupandi

Reference : https://huztechbuzz.wordpress.com/2014/04/26/complete-list-of-all-events-in-magent ...

0

How do get module, route, controller and action name in magento ?

posted on , by Muthupandi

Module name Mage::app()->getRequest()->getModuleName(); Route name Mage::app()->getRequest()->getRouteName(); Controller name Mage::app()->getRequest()->getControllerName(); Action name Mage::app()->getRequest()->getActionName( ...

0

How do install extension using magento connect in magento ?

posted on , by Muthupandi

Consider extension 'Redirect Visitors by Country IP' Get this extension key from the http://www.magentocommerce.com/magento-connect/redirect-visitors-by-country-ip.html Go System -> Magento connect -> Magento Connect Manager Paste your extension key in the 'Paste extension key to install' text box and click instal button After clicking install button, you can view 'Extension ...

0

Create Sub Admin and provide CMS access only in Magento

posted on , by Muthupandi

1. Go System -> Permissions -> Roles 2. Give Role Name in the 'Role Name' Text field. 3. Select 'Custom' from the Resource Access drop-down and select 'CMS' from the list of resources 4. In First three steps, we created Roles and selected resources to those role. 5. The next steps explain about create user from admin and assign Role to those user. 6. Go System -> Permissions ...

1

How to get shipping address by shipping address id?

posted on , by Muthupandi

Reference: http://magento.stackexchange.com/questions/8444/how-to-get-shipping-address-by-shipping-address- ...

0

How to get customer address in magento by cutomer id

posted on , by Muthupandi

Reference: http://www.w3bdeveloper.com/how-to/how-to-get-customer-address-in-magento-by-cutomer-i ...

0

Apply default shipping address on shipping estimation in Magento

posted on , by Muthupandi

Reference : http://www.arscommunity.com/wiki/magento/default-address-for-shipping-estimati ...

0

Get Product Custom Options Label & Id in magento

posted on , by Muthupandi

$product = Mage::getModel(“catalog/product”)->load($product_id); $theoptions = $product->getOptions(); foreach($theoptions as $opkey=> $opval) { echo $opval->getOptionId().’|’.$opval->getTitle(); ...