Any webmaster will understand very much about how important to show featured product on homepage for their shopping website. In this tutorial I will show you how to Set up featured products in Homepage for Magento.

featured-products-for-magento

1. Use magento extension to show featured products homepage

This is easiest way to do and I think almost you guys will use this way. I love this extension and just install and then look at the easy document here with Featured products 2.0

2. Manual configuration to show featured products homepage

If you don’t want to install the extension, here is step by step to finish this job.

Step 1: Create new Featured attribute

Create a new attribute by going to Catalog > Attributes > Manage Attributes > Add New Attribute.

Attribute Properties

Attribute Identifier: featured
Scope: Store View
Catalog Input Type for Store Owner: Yes/No
Unique Value (not shared with other products): No
Values Required: No
Input Validation for Store Owner: None
Apply To: All Product Types

Front End Properties

Use in quick search: No
Use in advanced search: Yes
Comparable on Front-end: No
Use In Layered Navigation (Can be used only with catalog input type ‘Dropdown’): No
Visible on Catalog Pages on Front-end: Yes

Manage Label/Options

Default: Featured Product
English: Featured Product
Save the new attribute and go to Catalog ? Attributes ? Manage Attributes Sets to add the attribute to the default feature set.

Step 2: Create new block class that will instantiate the featured product

Create a new file, and directories: app/code/local/MyCompany/Catalog/Block/Product/Featured.php

 

Step 3: Extend Mage_Page_Block_Html

Create a new file, and directories: app/code/local/MyCompany/Page/Block/Html.php

 

Step 4: Add new blocks to the app/etc/local.xml

Add the following inside the config global tag:

 

Step 6: Add Featured Products block to the frontpage

As the last step, you have to place featured product box to the frontpage. So, go to Magento administration to CMS > Manage Pages and select home page (or any other if you wish to place featured products in separate page)

Place the following line in Content area:

 

One thought on “Set featured products Homepage for Magento

  1. Thanks for this valuable information I have found many features Magento 1. x & Magento 2 extensions that will be useful for us. In that’s are Advanced Newsletter Popup, Advanced Category Slider, Most Viewed & Sold Product Count, Size Chart, Our Services – Extension for Magento® 2 that I like the most https://goo.gl/rC9Ira .

Leave a Reply