Enable Category Pages to Display Subcategories

Thinking of being able to set different Magento Categories to display its sub-categories which can be controllable in the Magento admin i.e. You might be interested in using or viewing the zipped file here;subcat

Display out-of-stock products part of a Configurable Product

In a situation where you want Magento to display out of stock product options of a configurable products, overriding getAllowProducts() function in Mage_Catalog_Block_Product_View_Type_Configurable is where you should be looking, change if ($product->isSaleable()) { $products[] = $product; } to $products[] = $product; Bingo!!!

phpMyAdmin Increase Tables Displayed in Left Column

If you are using the latest version of phpMyAdmin you have no doubt spotted the nice javascript table select system that allows you to type keywords that filter the list of tables down to the one you are looking for. However if you are dealing with a system that has a lot of tables, the list is paged and unfortunately this javascript system does not filter the entire table list, just the current page. Read On →

Tip: Should have run that in screen? now you can!

Ever started a long process running that you thought wouldn’t take long and then thought “I should have run that in screen”? Well, thanks to an ingenious programmer, you can actually do that! The app is called reptyr, is at https://github.com/nelhage/reptyr and there’s a ubuntu ppa here Note: I compiled from scratch as the ppa didn’t seem to work for me. So, all you need to do is open a terminal (press Ctrl-Z to stop the task if you only have one and don’t want to open a new one), run screen (or tmux etc) and type “reptyr 1234” where 1234 is the process id (pid) of the program to pull to your current terminal. Read On →

Sales Reporting Zero for Second Store in Magento

If you are running multi site Magento with different currencies and are finding that the sales reports on the stores that don’t use the Magento default currency all show zero this probably means the currency conversion rates have not been configured. Due to the way Magento orders work existing orders will not have there conversion rate updated. There is no way to do this from the admin, the only real option is to update the orders directly in the database.

Netbeans Uppercase, Lowercase and Switch Case - useful key combo

So, this is documented in the manual, but isn’t obvious in any menu :- To uppercase a selection, press Control+U then U. To lowercase a selection, press Control+U then L. and to reverse case in the selection (for when you have typed a whole line of code without checking your caps lock!), press Control+U then S. Really useful but not well known.