Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
New (or category) Products on Frontpage not showing
 
ODB
Sr. Member
 
Avatar
Total Posts:  139
Joined:  2008-02-06
London
 

Hi there

I am using this line to supposedly show the 5 newest products in my store but they aren’t showing, just a blank space. It doesn’t work for showing category products on the frontpage either:

{{block type="catalog/product_new" template="catalog/product/new.phtml"}}

Any clues to why it’s not working? Is it something to do with the templating?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

@ODB: does it work like this?

{{block type="catalog/product_new" name="dummy_name" template="catalog/product/new.phtml"}}

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
stevewar
Jr. Member
 
Total Posts:  20
Joined:  2008-05-24
 

I am having the same problem. I have created categories and products, but the home page is blank. I tried adding this code to the custom design:

{{block type="catalog/product_new" name="dummy_name" template="catalog/product/new.phtml"}}

as suggested, but still nothing there.

I appended it to the begining of the existing code, so it looks like this

{{block type="catalog/product_new" name="dummy_name" template="catalog/product/new.phtml"}} 
<!--<reference name="content">
<
block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page"/>
<
block type="reports/product_viewed" name="home.reports.product.viewed" alias="product_viewed" template="reports/home_product_viewed.phtml" after="product_new"/>
<
block type="reports/product_compared" name="home.reports.product.compared" template="reports/home_product_compared.phtml" after="product_viewed" />
</
reference><reference name="right">
<
action method="unsetChild"><alias>right.reports.product.viewed</alias></action>
<
action method="unsetChild"><alias>right.reports.product.compared</alias></action>
</
reference>-->

the url for the site is magento.topinternetguides.com

Thanks for any advice.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ODB
Sr. Member
 
Avatar
Total Posts:  139
Joined:  2008-02-06
London
 
Moshe - 25 May 2008 10:50 AM

@ODB: does it work like this?

{{block type="catalog/product_new" name="dummy_name" template="catalog/product/new.phtml"}}

Hi Moshe

I pasted the code in exactly as you put above but still nothing. Page renders completely, no products, new or otherwise, show up at all. Recently viewed products in the sidebar is working fine.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ODB
Sr. Member
 
Avatar
Total Posts:  139
Joined:  2008-02-06
London
 

Is this ‘Layout Update XML’ affecting the display of this block in any way? This is on the ‘custom design’ page for the CMS page I am trying to edit:

<!--<reference name="content">
<
block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page"/>
<
block type="reports/product_viewed" name="home.reports.product.viewed" alias="product_viewed" template="reports/home_product_viewed.phtml" after="product_new"/>
<
block type="reports/product_compared" name="home.reports.product.compared" template="reports/home_product_compared.phtml" after="product_viewed" />
</
reference><reference name="right">
<
action method="unsetChild"><alias>right.reports.product.viewed</alias></action>
<
action method="unsetChild"><alias>right.reports.product.compared</alias></action>
</
reference>-->

As far as I know I’ve never touched this code.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ODB
Sr. Member
 
Avatar
Total Posts:  139
Joined:  2008-02-06
London
 

OK I turned the Template path hints on and it’s correctly showing that there should be something there but nothing is showing?

 
Magento Community Magento Community
Magento Community
Magento Community
 
stevewar
Jr. Member
 
Total Posts:  20
Joined:  2008-05-24
 

I got new products to display on the home page, and I got the category list to show up in the top navigation menu, but I haven’t figured out how to display products from a particular category or mixture of categories yet. I’ll post a video tutorial once I get it figured out.

-Steve

 
Magento Community Magento Community
Magento Community
Magento Community
 
jvalen
Member
 
Avatar
Total Posts:  54
Joined:  2007-12-12
Los Angeles
 

Has anyone figured how to display new products on the homepage? I’m having trouble with this.

 Signature 

Converting to Magento
BarbieIsOut

 
Magento Community Magento Community
Magento Community
Magento Community
 
FetchDesigns
Member
 
Avatar
Total Posts:  47
Joined:  2008-04-11
Chicago, IL
 

I haven’t been able to see new items on the home page either.  Does anyone have a solution yet?

 Signature 

Stephanie
Web Design & Development… FetchDesigns.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
alex.bsc
Sr. Member
 
Total Posts:  168
Joined:  2008-06-06
 

i wanna know too… anyone got a solution?

 
Magento Community Magento Community
Magento Community
Magento Community
 
joyously
Guru
 
Total Posts:  357
Joined:  2008-08-21
 

I copied this from the Magento demo store:

{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}
and it works for me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
FetchDesigns
Member
 
Avatar
Total Posts:  47
Joined:  2008-04-11
Chicago, IL
 

Hmmm… that didn’t work for me.  Did anyone else have success?

 Signature 

Stephanie
Web Design & Development… FetchDesigns.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
magpieradio
Jr. Member
 
Total Posts:  30
Joined:  2008-04-27
 

I am not having any luck with this either. 

I added some text so I can be sure the block is functioning, its just there are no items being displayed.

I am on 1.1.6

Anyone?

Image Attachments
hello.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
Greatmedia
Sr. Member
 
Total Posts:  109
Joined:  2008-05-15
The Netherlands
 

have you made the product new from date to date?

 
Magento Community Magento Community
Magento Community
Magento Community
 
magpieradio
Jr. Member
 
Total Posts:  30
Joined:  2008-04-27
 

Ahh yes, that did it.  Thanks Greatmedia!!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53208 users|777 users currently online|107246 forum posts