Magento Exploit - Stealing Customer Info Including Card Details - Check your site now!

We are seeing client sites running malicious code that is actively stealing customer details including card information on some sites

Read On →

Adding Code Sniffer with Magento Standards to PHP Storm

Improving coding standards with PHP Storm for Magento

Read On →

Fixing product breadcrumbs in Magento

Some times Magento has trouble displaying breadcrumbs for products, there is an override you can added that some times fixes this. Firstly, if you haven’t already. Create a new module if you don’t already have one in either your local or community directories under app/code. Create a new observer and assign it the event catalog_controller_product_init. With your observer ready to go, assign the event target to your method of choice on your observer and throw in some code public function updateBreadCrumb(Varien_Event_Observer $observer) { $current_product = Mage::registry('current_product'); if ($current_product) { $categories = $current_product->getCategoryCollection() ->addAttributeToSelect('name') ->setPageSize(1); foreach ($categories as $category) { Mage::unregister('current_category'); Mage::register('current_category', $category); } } } As the code removes and readds the registered categories it will force Magento to regenerate the breadcrumbs. Read On →

Using Magento 1.9.1's Colour Swatches in your custom theme

A breakown of what you need to do to use Magento's new colour swatches in your custom theme

Read On →

Removing untracked files but not git ignored ones

Removing untracked files but not git ignored ones

Read On →

Preparing Fedora for development with PHP Storm

If you are having issues setting up your favourite IDE this may help

Read On →