Compaq CQ60 Display Issues – The Unexpected Part 3

I recently had an unexpected part 3 to this tale the other day, when the display went. Again. But this time, different symptoms. This time, the backlight went. Oh sh*t, replacing LCD panels isn’t exactly cheap, and since the backlight diffusers and CCFL’s are fused to the back of the LCD panel itself, there was […]

Adding multiple products to the cart simultaneously in Magento

Some people ask me if it’s possible to do what some other sites do, allowing you to check a box next to a product on a listing page, and then add all selected items to the cart in one go. This is possible in Magento, it’s just not built in. There’s a few ways you […]

Magento Discount Rules – Buy X Get Lowest Priced Item

I figured out today that the discount/promotion rules in Magento aren’t exactly obvious, nor straight forward to apply. If you don’t have the logical mind of a programmer, setting up rules for products that only meet certain criteria can be a tricky one. Take this example: Buy 4 for 3 on any product in [this] […]

Adding shipping costs to the cart automatically in Magento

I’ve come across a handful of sites now that either do (or want to) automatically add a default shipping charge to the cart when it’s created or updated. As I had a bit of trouble finding a method for this, I thought I’d post my exact method here for usefulness and future reference. In order […]

Get the current category in Magento

I’ve come across several places where I’ve needed to get the current category (or information from it) in one way or another. Some blocks have the ability to do this: $_category = $this->getCurrentCategory(); However, if you need to get the current category in a block (or model, helper, whichever) where this method isn’t present, then […]