Category: Programming Quickies
Back in they day, I ran a Tumblr blog named Magento Quickies where I’d post shorter, less in-depth posts about my travels through Magento’s source code. This Programming Quickies categories is the successor to that Tumblr blog. You’ll find all the old Magento Quickies content here, as well as new short posts about programming in general.
This section has its own RSS feed, the old Magento Quickies feed should should be redirecting, and we’re cross posting notifications for new posts over to magento-quickies.tumblr.com. In other words, you shouldn’t need to know any of this, but the duct tape that keeps the internet held together isn’t aging well, so your mileage may vary.
Below you'll find all the Programming Quickies articles on the site.
Crash Course in Magento Models for a Java Developerastorm
The public Magento Wiki is a mess of mixed content, but it’s worth subscribing to the RSS feed of recent changes. The more dedicated members of the community tend to keep their articles up to date on changes to Community Edition, and it can sometimes save you from being blindsided when considering a new version.astorm
You’re cruising along, your module has come together. The last step between you and total Magento Connect domination is packaging your extension. You bravely enter System -> Magento Connect -> Package Extension, and with victory in your grasp … FAILURE! With no clear path forward, you commit seppuku rather than face [...]astorm
On the Subject of Finding the PHP Code that Runs During a Magento API Method Callastorm
Magento Version: 184.108.40.206 Let’s say you have a product object $p = Mage::getProduct('catalog/product')->load(3425); You can get the value of the product’s status with the magic getter method or the getData method. $p->getStatus() $p->getData('status'); However, the return value of this method is not a boolean. The [...]astorm
Checking shipping availability from zipcode in Magento.astorm
Need to know the name of an EAV table that an attribute is stored in? Get an instance of the model class, $customer = Mage::getModel('customer/customer'); then get a reference to its resource object, $entity = $customer->getResource(); and use the eav/config service model’s getCollectionAttribute method to create an instance of [...]astorm
Need to know the name of an EAV table that an attribute is stored in? Get an instance of the model class $customer = Mage::getModel('customer/customer'); and then get a reference to its resource object $entity = $customer->getResource(); use the eav/config service model’s getCollectionAttribute method to create an instance of [...]astorm
Welcome Magento Commerce Blog Readers! If you like these little tidbits of information you may be interested in the full length articles I write over on my personal blog. You should also checkout Pulse Storm’s Magento products. There’s Commerce Bug, a Magento debugging extension that demystifies the system for newbies, and [...]astorm