Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 1 of 2
Um… how do i put products on the homepage? 
 
lindaw
Sr. Member
 
Total Posts:  201
Joined:  2007-12-25
 

This is an embarrassing question as i think it’s probably easy but i just can’t figure it out. I’ve created categories and products but how do I get them to display on the homepage?

I read the designers guide (a lot of it went over my head and I’m very familiar with coding etc) so maybe I missed something.

My test site is here: http://s36105.gridserver.com/magento/index.php/

Help would be appreciated!

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
wickedbob
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2008-02-16
 

Try adding the following code in your homepage under the CMS section:

{{block type="catalog/product_list" category_id="CATEGORY NUMBER HERE"}}

You can find the category number by going to the Catalog section and clicking on URL Rewrite Management.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lindaw
Sr. Member
 
Total Posts:  201
Joined:  2007-12-25
 

Thank you!

That is what I was fearing.

Correct me if I’m wrong, but my clients will have to learn code to put products on the homepage? if that is the case, there is no way i will be able to use Magento for most of them. They can barely use a mouse.

Do you know, is there not going to be any “promote to front page” type option?

 
Magento Community Magento Community
Magento Community
Magento Community
 
wickedbob
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2008-02-16
 

Sorry I don’t know much about Magento’s future development and it is very early days too.

You can manually insert images and links to particular products into the homepage using the CMS section.
But I fear if your audience is struggling with mice, they will also struggle with that.
At the moment there is no WYSIWYG editor for any of the sections either.
Although there is word of these coming in future versions.

Magento, at this stage, looks geared towards web-designers and system administrators.
It does not appear to have the functionality for average-joes to fully administer their own stores easily.

Like I said..  early days though..  you never know what is coming.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lindaw
Sr. Member
 
Total Posts:  201
Joined:  2007-12-25
 

Yeah of course, thanks for your help. Well a WYSIWYG would definitely be appreciated.

 
Magento Community Magento Community
Magento Community
Magento Community
 
jusspitti
Member
 
Avatar
Total Posts:  37
Joined:  2008-01-21
 

I would expect some sort of product listing on the home page as well, however if adding code is needed, I am not able to find documentation about this…

wickedbob where did you find “{{block type="catalog/product_list" category_id="CATEGORY NUMBER HERE"}}"

Is there any manual or wiki with this information?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
erwanpia
Member
 
Total Posts:  41
Joined:  2008-02-16
Locronan, Brittany
 

An easy way to deal with hom products is to create a hidden (not linked) category called ‘HOME’

and use that id for the categroy product block above

and select products (one checkbox to check and voilà) by category to promote them to home

 
Magento Community Magento Community
Magento Community
Magento Community
 
wickedbob
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2008-02-16
 

Nice erwanpia.
Simple and efficient.

jusspitti, I just searched this forum to find out that info.

 
Magento Community Magento Community
Magento Community
Magento Community
 
iblastoff
Sr. Member
 
Total Posts:  252
Joined:  2007-08-31
 

you can turn on tiny_mce wysiwyg editor for the cms pages if you wanted to.

just follow my post here http://www.magentocommerce.com/boards/viewreply/13492/

 
Magento Community Magento Community
Magento Community
Magento Community
 
jzmnz
Jr. Member
 
Total Posts:  9
Joined:  2008-01-18
 

I have tried post 2 but all I get is “There are no products matching the selection.” why is this I have used {{block type="catalog/product_list" category_id="136"}}

 
Magento Community Magento Community
Magento Community
Magento Community
 
hez
Sr. Member
 
Avatar
Total Posts:  103
Joined:  2008-02-02
 

Are you sure you have the category enabled?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Shimi
Jr. Member
 
Total Posts:  22
Joined:  2007-12-04
 

I have the same issue http://www.magentocommerce.com/boards/viewthread/3111/#t13706 have categories and product active but same message as ‘jzmnz’ “There are no products matching the selection.”

 
Magento Community Magento Community
Magento Community
Magento Community
 
Insidedesign
Member
 
Avatar
Total Posts:  73
Joined:  2007-11-20
Asheville, NC
 
erwanpia - 17 February 2008 01:28 AM

An easy way to deal with hom products is to create a hidden (not linked) category called ‘HOME’

and use that id for the categroy product block above

and select products (one checkbox to check and voilà) by category to promote them to home

Interesting, but how do you keep a category from being added to navigation automatically? I do not see this sort of option when creating a category.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Romain Fluttaz
Member
 
Avatar
Total Posts:  31
Joined:  2007-09-20
Chambery, France
 
wickedbob - 16 February 2008 02:13 PM

Try adding the following code in your homepage under the CMS section:

{{block type="catalog/product_list" category_id="CATEGORY NUMBER HERE"}}

You can find the category number by going to the Catalog section and clicking on URL Rewrite Management.

Nice trick ! And just a little question, there is any way, with a command like that to just put the “promo” (article with a Special Price) on a page !?

 
Magento Community Magento Community
Magento Community
Magento Community
 
sdb
Sr. Member
 
Avatar
Total Posts:  223
Joined:  2007-11-13
coastal California, USA
 
Shimi - 21 February 2008 11:38 AM

I have the same issue http://www.magentocommerce.com/boards/viewthread/3111/#t13706 have categories and product active but same message as ‘jzmnz’ “There are no products matching the selection.”

dito

 
Magento Community Magento Community
Magento Community
Magento Community
 
sdb
Sr. Member
 
Avatar
Total Posts:  223
Joined:  2007-11-13
coastal California, USA
 
wickedbob - 16 February 2008 02:13 PM

Try adding the following code in your homepage under the CMS section:

{{block type="catalog/product_list" category_id="CATEGORY NUMBER HERE"}}

You can find the category number by going to the Catalog section and clicking on URL Rewrite Management.

I found my problem
That URL Rewrite ID code wasn’t the right one to use. It told me 1.

Go to the Catalog Category management tab
If you hover over the category you want to show it says the category number
(its after edit in the status bar of your browser).

That time it told me the category was 3.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2