Magento Forum

   
How can i show the last added product to my home page
 
Nikunj Joshi
Member
 
Avatar
Total Posts:  59
Joined:  2008-12-05
SR. PHP Developer
 

Hi Friends,

i want to know that how can i display the last added product to my home page?

can you give me any idea about it? any help is greatly appreciated!

Thanks

Nikunj

 
Magento Community Magento Community
Magento Community
Magento Community
 
Damian Culotta
Enthusiast
 
Total Posts:  878
Joined:  2008-12-10
Argentina
 

You can activate the /app/design/frontend/package/theme/template/catalog/new.phtml template.

There are a few threads on the forms.
You can start, for example, here: http://www.magentocommerce.com/boards/viewthread/8623/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Nikunj Joshi
Member
 
Avatar
Total Posts:  59
Joined:  2008-12-05
SR. PHP Developer
 

Hi Friend,

I tried that but it gives 5 products only, i want to display 10 products on my home page?

have you any idea to display 10 products on home page?

Please Replay me as soon as posible?

Thanks,

Nikunj

 
Magento Community Magento Community
Magento Community
Magento Community
 
Damian Culotta
Enthusiast
 
Total Posts:  878
Joined:  2008-12-10
Argentina
 

I don’t remember right now.
I know that there’s an IF on the phtml, inside a FOREACH.
MAyer you need to change that values.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Nikunj Joshi
Member
 
Avatar
Total Posts:  59
Joined:  2008-12-05
SR. PHP Developer
 

Hi Friends,

I tried to change the foreach loop but there is a getSize() function in foreach loop,

but i don’t know getSize() is located,

can you help me to know about it?

Thanks,

Nikunj

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top