Blog

Load Category/Product by Attribute

If you ever need to manually load a category or product you can do it either by id or by attribute:

Read More

Windows 7 + Rails 3.0 + mysql2 Gem fix

Update: The Mysql2 Gem for windows has been officially released and its working like a charm, thanks to Brian Lopez for creating the gem, to install it just run “gem install mysql2″ and you are good to go. Happy coding!
If you are trying to install Rails on Windows 7, you are probably going to run into some problems most likely it’s going to be with the new mysql2. Read More

, , ,

Displaying a Product Attributes

Depending on where you want to call a product attribute there are different methods for doing it: Read More

Pager toolbar for any Collection

This code will call the toolbar block, pass your collection (previously created) and display the pagination links. It will correctly page through your collection. Read More

Calling a static block inside the template

The following snippet is incredible useful specially when you are implementing custom layouts with menus, static blocks of text and so on the following code should work with any version of Magento Read More

New site, New Beginning

During the weekend I had some time to work my new site and setting up the blog. A lot of things had happen since the last time this I had a working blog, new projects, new clients and a lot of new ideas. Read More

, , ,