Month: February 2010
Custom attributes for categories in Magento
Sometimes there is a requirement to have custom attributes for a category, but it isn't that straightforward to add, at least not through the GUI. The method, for a text input, is: 1 Create the new attribute via admin, or … Continue reading
How to disable WYSIWYG on Magento 1.4
The new WYSIWYG feature is brilliant ... for non-developers, but for the rest of us, Magento popping P tags left right and centre is no fun. It can be easily disabled by going to Admin > System > Configuration > … Continue reading
Magento 1.4 Install Errors
We imagine there is going to be a few, but here are the ones we have come across so far: 1 Unsupported operand types ... Hostname.php Solution: Comment out line +471 in ./lib/Zend/Validate/Hostname.php #$regexChars += include($this->_validIdns[strtoupper($this->_tld)]); 2 Invalid mode for … Continue reading
Quick script to mass enable categories in Magento
Just another easy one if you are looking to enable categories by ID - we usually incorporate this script into our product insertion API, so that it enables a category automatically for a product upon insertion. But it can also … Continue reading