Categories


Recent Posts


Archives


Magento 1.13 and MySQL Triggers

Magento 1.13 and MySQL Triggers I know “no more consulting” was a great business move for Varient/Magento Inc./etc., but the folks building Magento’s core are slowly loosing touch with the day-to-day needs of working developers. I’m glad there’s folks like Robert willing to suffer the slings and arrows of [...]

astorm

Magento Connect Bookmarklet

Stop me if this sounds familiar. Hey look, a Magento Connect extension, let’s try it out Oh, right, I need to be logged in to get the extension key Where’s that password again? [knocks over pills] Waiting for Magento site to log me in [Still waiting] There are, of course (I assume), reasons for Magento to force a sign-in [...]

astorm

Magento CSRF Protection

Maybe if I write this down I’ll remember it. You probably know all Magento admin console URLs need a nonce/key in the URL http://magento.example.com/admin/catalog_product/edit/id/174/key/c4df66cd2118cb5422c9fb5eff7eq4f0/ That’s why we use the Mage::getModel('adminhtml/url') model object to generate URLs. What I always forget [...]

astorm

N98-magerun: Creating Hello World

This article is part of a longer series covering the n98-magerun power tool Now that we’ve got a build environment up and running, we can get to work creating our first n98-magerun command. Our end goal for today is to add a helloworld command to n98-magrun $ ./n98-magerun.phar list //... Available commands: helloworld Displays a [...]

astorm

Vinai/fix-sample-data.php

Vinai/fix-sample-data.php And Vinai’s fix for the duplicate URL problem partially/previously mentioned below. I try not to be hypercritical of Magento Inc./eBay because I know how hard these things are, but it really sounds like they pushed EE 1.13 out the door to have a Magento Imagine announcement. Fortunately the partner firms [...]

astorm

N98-magerun: Database Commands

This article is part of a longer series covering the n98-magerun power tool The database: That which, as Magento programmers, we’re not supposed to touch. Use the native objects is a refrain I’ve sung on more than one occasion, and it’s still what I recommend to people starting out with Magento. Of course, even if we [...]

astorm

N98-magerun: System Commands

This article is part of a longer series covering the n98-magerun power tool Today we’ll be covering the n98-magerun system (or sys) commands. $ n98-magerun.phar list sys sys:check Checks Magento System sys:cron:history Lists last executed jobs sys:cron:list Lists all cronjobs sys:cron:run Runs a cronjob by job code sys:info Prints [...]

astorm

N98-magerun: Customer Commands

This article is part of a longer series covering the n98-magerun power tool Similar to the already covered admin commands, n98-magerun also has commands for managing customer accounts. $ n98-magerun.phar list customer Available commands for the "customer" namespace: customer:change-password Changes the password of a customer. [...]

astorm

N98-Magerun: Config Commands

This article is part of a longer series covering the n98-magerun power tool Magento is a module based system — each code module has a file named config.xml which contains configuration information related to the module. Magento will merge all the config.xml files into a single global configuration tree. This tree is then available for [...]

astorm
email hidden; JavaScript is required