Categories


Recent Posts


Archives


July, 2011 20

Magento Caches Database Columns

When you’re creating custom Magento models, it’s common to to add and remove fields to and from a database table during development before finalizing a set of columns for the setup resource/migration file. One thing to keep in mind while you’re doing this is that Magento will cache the list of table columns each model [...]

astorm

Consistant Config Node Naming

When you first have that ah-ha moment with the Magento System Configuration creator, your first instinct is to start creating a lot of extra configuration values for your features and modules. It’s easy enough to think “hey, I’d like to add another email address to the Store Email Addresses section” There’s [...]

astorm

Half FYI for new Commerce Bug users, half shameless plug. This screencast covers the programable access control list features of Commerce Bug. That is, it shows you how you can hide Commerce Bug from certain users (Managers!) and show it to others (Developers!) (Source: https://www.youtube.com/)

astorm

Customer Confirmation

This one’s a little un-intuitive. At first. There are times where you’ll want to programmatically check if a customer is confirmed. To do this you’d instantiate a customer object like this $customer = Mage::getModel('customer/customer')->getCollection() ->addFieldToFilter('entity_id','197') ->getFirstItem(); or [...]

astorm

Addresses from the Customer Object

The Magento object for interacting with customers (Mage_Customer_Model_Customer, alias customer/customer) has three address fetching methods, but you probably only want one of them. The first, and least useful, is getAddressCollection. You might think this method would return a Magento Address collection containing address objects [...]

astorm

Betting Long on Palm, HP, and WebOS

There is no company capable of releasing a tablet computer device that can compete head on with Apple Inc.'s iPad. Apple's core technology (touchscreen, responsive UI), deals with the entertainment industry (Record Labels, Pandora, Netflix, and their ilk), and ability to skip the

astorm
email hidden; JavaScript is required