Magento Featured Products: A More Convenient Way To Display Featured Products On The Home Page
About: How To Show / Display Featured Products On The Home Page (Conveniently) Who’s Interested: Informative to the technical gurus What: An alternative direction on how to show featured products on your Magento storefront home page Magento Version Relevance: Any Magento Store Setup: Any My thought: “Why not let the Admin choose what products to display on the home page like every other category?” If you’ve been involved in the community dialogue that constantly evolves through the Magento boards, you may have run across a topic mainly focused on ways for developers to display featured products on the home page. There have been many directions taken with this, including the following as only a few to mention:- Install a extension and configure
- Create an attribute, assign each product a value for that attribute, and then display products based upon the value they contain for that attribute
- Use the CMS template code to display a certain category
I didn’t want to override any other solutions, but simply offer another approach - one that does not do the following:
- Modify any core code
- Require per-product management
- Install any extension
- Create a new “structural block” within Magento (see example, thanks Inchoo)
- Create a (hidden) category within the Magento Admin
- Modify the structural block to display that category in a specific way
- Set the Category Id
Structural Block
- app/design/frontend/*/*/template/catalog/product/featured-products.phtml