user3004356
user3004356

Reputation: 880

Unable to display products of home page in Magento 1.8.1

After successful installation of Magento 1.8.1 in a system. Everything works fine, but unable to display products on the home page. As posted on Magento website, I modified the home page design using admin interface CMS >> Pages >> Home Page >> Design.
As shown in the Magento Wiki page below lines were added in the second line of home page design -

{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}   

Still, the products are not displayed on home page.
What should be done to display the products on home page.
I'm using Ubuntu 13.04 server, with MySQL 5.5 database and Magento version 1.8.1 downloaded using SVN

Upvotes: 1

Views: 3750

Answers (4)

Antony
Antony

Reputation: 85

I was have the same problem sometimes. Need to check products quantity, status set to enabled, products must be in stock. Also need to re-index data and clear all caches. After all products will be display in the site homepage.

Upvotes: 2

Tanmay Patel
Tanmay Patel

Reputation: 1810

  1. Step 1: Login into your Magento Admin Dashboard;
    1. Step 2: Go to: CMS -> Pages -> And choose Home Page;
    2. Step 3: Now you must see the some edit options which will be applied for the HomePage.
    3. Step 4: Go to: Contet Tab from left;
    4. Step 5: Add following snippet in the WYSIWYG (As know as “What You See Is What You Get”)

;

{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}

Upvotes: 2

Keyur Shah
Keyur Shah

Reputation: 11533

Please check this:

New product doesn’t mean that you’ve recently added them; only products explicitly marked as new using ‘Set Product as New from Date’ and ‘Set Product as New to Date’ options in the ‘General’ product information page in the admin tool will be shown.

First you have to check if product is define new product in manage product or not. If not then you have to assign product as new product then and then it display in new product. Please check image

Image

Then you have to check product is in stock. and don't forgot to clear cache after changes

Let me know it helps you any way

Upvotes: 2

Slimshadddyyy
Slimshadddyyy

Reputation: 4073

In your xml file add this and remove the block from CMS > Home Page section

<cms_index_index>
  <reference name="content">

  <block type="catalog/product_new" name="home.catalog.product.new"  as="product_homepage" template="catalog/product/new.phtml"/>

  </reference>
</cms_index_index>

Upvotes: 4

Related Questions