Categories


Recent Posts


Archives


magento20

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

Top Level n98-magerun Commands

This article is part of a longer series covering the n98-magerun power tool N98-magerun commands are organized in a tree hierarchy. For example, the extension:list command is actually the list command, under the top level category extension. These categories don’t tie back to any particular Magento system. Instead, they exist to [...]

astorm

Introduction to n98-magerun

This article is part of a longer series covering the n98-magerun power tool I’m starting a new series here on Magento Quickies covering the n98-magerun command line tool. This is a nifty utility that automates a lot of the day-to-day drudgery of working with a Magento system, and is a nice compliment to Commerce Bug’s [...]

astorm

Widget Data and How Hard Can It Be?

Widget Data and How Hard Can It Be? This Stack Overflow question is a nice example of how something that seems simple (querying for and updating a widget instance’s data paramaters) can be harder than you think. Most Magento projects go off the rails because someone assumes something like this is easy, and then modern company [...]

astorm

Quick Script to Generate DB Dump

This is a small PHP shell script that will extract the default connection information from local.xml and construct the correct command-line script to do a no-locking dump of the database. You’ll need to be in the root folder of a system for this to work. Useful if you spend a lot of time debugging different systems. #!/usr/bin/env [...]

astorm

Missing ACL Roles in Admin

If you’ve setup your own API methods and are having some trouble getting the resources to show up in the admin console’s resource list, make sure that each resource ACL group node and each each individual ACL node in api.xml have a module= translation attribute <assign_simple_product_to_configurable translate="title" [...]

astorm

Magento Wiki

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

Failed to Save the Package

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

The Orders Table

Magento Version: 1.5.0.1 More modern version of Magento have abandoned the EAV storage method for sales order information. Don’t worry, there’s still plenty of linked tables to trip you up! One of the most common misunderstandings I’ve seen is that there’s two tables that store primary order information. The more [...]

astorm
email hidden; JavaScript is required