Show Products on Homepage Using Magento Filter Collection By Attribute,Field ??
Today, Magesolution comes back with the Magento tutorial about some effective methods to show Products on Homepage Using Magento Filter Collection By Attribute,Field
First, explain how Magento filter a collection. Use this to explain how Magento filter a collection by attribute, field in a model, so that people can learn to write their own collections.
addAttributeToFilter() is a function that can be called on a collection in Magento. In
short, it adds a condition to the WHERE part of the MySQL query used to extract a collection from the database.
CLICK TO READ MORE : Show Products on Homepage Using Magento Filter Collection By Attribute,Field