Magento Themes and Magento Extensions

Magento Project Stratus

Share
Posted on June 24th, 2011 | Posted by admin

Guido Jansen recently broke the news of the new landing page at Magento’s official website that promotes so far unannounced service under the name of “Project Stratus“. This appears to be Magento in the cloud.

The project appears to be preparing for a closed beta testing and they are accepting applications. You can also enter your email to receive more information about the project once it becomes available.

The rumors of some sort of official Magento SaaS solution were out there for a while. I think I first read about such ideas more than a year ago. First time I heard of it, I was kind of worried that such a solution would significantly reduce the amount of work companies such as ourselves receive, since our work is mostly related to customizing Magento, and I didn’t know if there would be any way for us to continue doing this in a SaaS world.

Magento custom model with custom validation rules

Share
Posted on June 24th, 2011 | Posted by admin

Creating your own Magento module usually goes along with creating your own models within the module. Either you write one or multiple models per module, its a good idea to implement model validation method which you might/should call prior to model save. Good example of Magento’s model that use validation are Mage_Customer_Model_Customer and Mage_Customer_Model_Address_Abstract models. Quick look into the “public function validate()” methods of those two models reveal the simplicity of validation process.

Usually the validation is done by utilizing the available Zend validation method “Zend_Validate::is($filter)” with various built in filters. Here are few examples:

IE9 fix for Magento

Share
Posted on June 24th, 2011 | Posted by admin

Microsoft and The Internet Explorer team just released IE9 which, like every release, comes with a slew of improvements as well as a slew of problems for overworked web developers. The Magento ecommerce system uses and older version of the Prototype Javascript framework for ajax and DOM manipulation, and some usershave reported problems with their stores and systems.

Whatever you may think of Microsoft Inc., their strategy, and the software it creates, there’s still a focus on providing some mechanism for backwards compatibility within their corporate culture. This includes the Internet Explorer team, which provides a custom <meta/> tag that will tell Internet Explorer to render things as though it was an older version of itself

Listing products by attribute

Share
Posted on June 23rd, 2011 | Posted by admin

This is step by step tutorial for the beginners that will show you how to list products by attribute.
I will start with functions that Magento already has built-in: New products and Promotional products.
All the instructions below is made from Magento Professional 1.9.0.0

Listing products with attribute New

You can find settings for defining New attribute in Magento administration under Manage products in Products management. For this tutorial I will use CMS page called Homepage as example.
In CMS Page layout -> Layout Update XML is defined template for CMS page by

MySQL – Left, Right, Outer or Inner Join? No – the SELF JOIN

Share
Posted on June 23rd, 2011 | Posted by admin

Hi to all of you! Today, I’m going to explain SELF JOIN in MySQL – I’ll answer why and then how should you use it.

But first, a short explanation. I’m going to explain a non often used SQL that came in hand recently. If you are still learning MySQL, please refer to some basics first – a good start. And now, to the fun part. :D

Why do anyone need SELF JOIN?

Well, SQL self-join is very useful when you want to retrieve related data stored in one table such as organizational structure. Its basically an inner join with reference on the table itself.