Wednesday, February 26, 2014

8:13 AM
In this article, we are going to discuss about How to load a categort or a product by an attribute. Most of the developers are often searching for how to load a product by a particular attribute. This article is quite easy to achieve this in Magento and can be done using Magento collections.

Load a Product By SKU

In magento, we have lot of pre defined product attributes. SKU is a static attribute. This means that instead of being stored in one of the products EAV tables, it is stored in the main product entity table (catalog_product_entity). This makes loading a product based on it's SKU much easier and efficient.

To read more about this article Click Here

For Demo Click Here