How to list all discounted items in Magento
Submitted by Richeh on Thu, 08/20/2009 - 14:49.I've been doing some work on Magento recently; it's my first ecommerce package, so I've not much for comparison, but it seems like an excellent and flexible program. Mind you, it has its share of bugs, and is well-known for having zero documentation to help prospective developers. This thing has a learning curve like a cliff.
Well, there's only one way to fix that.
Here's a little trick to fix one of Magento's more obvious shortcomings; the lack of inbuilt support for a list of items on sale. This isn't going to hack any core Magento files and doesn't even involve editing your precious, precious template files; we're just going to add one extra file, and reference that from a CMS page.
First, we need to create that file; we'll call it "/app/design/frontend/default/default/template/salesearch/list.phtml". You need to create that file with your favourite text editor, and save the following code in it:
Y HALO THAR
Submitted by Richeh on Tue, 06/23/2009 - 23:05.Er, well, yeah. Thirteen months. Nuff said. Suffice to say the attraction of a blog managed for me and with readers piped in from the aether dragged me away from my baby. Still, contrived plans still in hand, god knows how many new pointless things to spout off about... let's rawk.
And if I've forwarded you here to demonstrate my devastating technical prowess, don't judge me on the fucks per paragraph.
Back once again, with tha ill behavyah
Submitted by Richeh on Sat, 04/05/2008 - 18:10.I've finally had time to fix this thang, now new and improved and with more new stuff to bolt on soon. (as always, more ideas than time to implement them)
I've decided, since events seem to be conspiring to keep me working on Drupal sites for the time being - not that I mind that at all - to make a repository for what Drupal wisdom I've gleaned, since I've gain some level of expertise in the subject and if anything needs more documentation for noobs, it's Drupal.
Other recent transpirations include a kick into the freelance career I've wanted for a long time, and by god I like the flavour. If anyone's impressed by my Drupal craftings, and in the market for a website, holla at me; help make a scruffy man's work-from-home dream come true.
Haaa hahahahahaha
Submitted by Richeh on Sun, 12/02/2007 - 23:57."you've got to laugh, or else you cry..."
In passing, I just hit the "update" button on my Fantastico panel, and wiped my theme out. See now, am I not a glorious bellend?
Eh well, it needed redeveloping for XHTML anyway.
Beeps, grunts and farts
Submitted by Richeh on Wed, 11/14/2007 - 23:35.
I've been playing the lovely Knytt Stories, the sequel to one of my all-time favourite indie games. It's damned good, although I still prefer the purity and imaginitive simplicity of the original.
If you're into slightly alternative gameplay, minimalist pixel art or platformers, I highly reccommend giving it a go, it'll probably devour your afternoon.
It also opened my eyes to the beauty of chiptunes; that is, music composed to be orchestrable on the synthesisers built into the consoles of yesteryear. It's got a pleasing retro vibe to it, and I've been particularly enjoying the work of Nurykabe. VNV Nation, eat your heart out.
