Tuesday , February 20 2018
Home >> All tutorial (page 33)

All tutorial

Models, Resource Models And Collections In Magento

Models, Resource Models And Collections In Magento All Magento Models inherit from the Mage_Core_Model_Abstract.Magento splits the model layer up into two parts as you’ve recognised, with the Model handling the business-logic, and the Resource part only dealing with talking to the database .The Resource also has two different types one ...

Read More »

Get Customer Group within Magento

Magento is built to work with different groups of users/customers. You can easily find out what group the customer belongs to by the snippet below. // Mage_Customer_Session $session = Mage::getSingleton('customer/session'); // Get the Customer Group ID. $group_id = $session->getCustomerGroupId(); // Get the Group Name the Customer is part of. $group_name ...

Read More »
Heap | Mobile and Web Analytics