Call-back icon  Sales: Call 800.374.8146 (N America)|757.278.0920 (International)

Magento

Open Source eCommerce Evolved

Magento Forum

   
ways to show products at the home page
 
mr_dimsum
Member
 
Avatar
Total Posts:  35
Joined:  2008-01-28
 

I haven’t given this a shot yet because the Modern Theme only provides a blank slate homepage. However, from what I’ve read, this does allow a user to set a limit to display right?

Also to mention.. Is this likely the preferred methods to display recently added products/featured products to the front page? I can envision it being so, but wanted some confirmation from those keeners who popped it onto their sites first. :D

Cheers!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dustin
Sr. Member
 
Total Posts:  117
Joined:  2008-03-13
Columbus, OH
 

I have this working currently.

Anyone know how to format the links it gives back to the seo freindly ones and not the, catalog/product/view/id/, ones?

 
Magento Community Magento Community
Magento Community
Magento Community
 
cshontz
Sr. Member
 
Avatar
Total Posts:  85
Joined:  2007-11-07
 

Anyone have any luck randomizing the attribute filter results? I haven’t messed with it since my last post.

 
Magento Community Magento Community
Magento Community
Magento Community
 
WeeJames
Jr. Member
 
Total Posts:  11
Joined:  2008-03-27
 

Got this code working great in my development store apart from one thing - when linking to a product the url doesn’t include the category.  Is there a way i can include the category as i’d like a single url for the product so that its not indexed twice etc.

ta

James

 
Magento Community Magento Community
Magento Community
Magento Community
 
jeff_fr
Jr. Member
 
Total Posts:  2
Joined:  2008-04-23
 
lusas - 03 April 2008 04:41 AM


Thanks for the script! It works perfectly.

I don’t have this chance ... You’re lucky rasberry
When I do exactly what is said in previous posts, I’ve in my home page some errors ....

Bienvenue sur poupeesetbebes.fr

Warning
Mage_Core_Block_Template::include(/var/www/boutique/app/design/frontend/default/default/template/catalog/product/homepage.phtml[function.Mage-Core-Block-Template-include]failed to open streamNo such file or directory in /var/www/boutique/app/code/core/Mage/Core/Block/Template.php on line 120
[0] in Mage_Core_Block_Template
::fetchView() in /var/www/boutique/app/code/core/Mage/Core/Block/Template.php on line 120
[1] in Mage_Core_Block_Template
->fetchView("frontend/default/default/template/catalog/product/homepage.phtml"in /var/www/boutique/app/code/core/Mage/Core/Block/Template.php on line 152
[2] in Mage_Core_Block_Template
->renderView() in /var/www/boutique/app/code/core/Mage/Core/Block/Template.php on line 169
[3] in Mage_Core_Block_Template
->_toHtml() in /var/www/boutique/app/code/core/Mage/Core/Block/Abstract.php on line 553
[4] in Mage_Core_Block_Abstract
->toHtml() in /var/www/boutique/app/code/core/Mage/Core/Model/Email/Template/Filter.php on line 56
[5] in Mage_Core_Model_Email_Template_Filter
->blockDirective(Array[3])
[6] in call_user_func(Array[2]Array[3]in /var/www/boutique/lib/Varien/Filter/Template.php on line 121
[7] in Varien_Filter_Template
->filter("

I don’t inderstand why.
If someone has an idea ...

Thanks wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
finch8243
Member
 
Total Posts:  48
Joined:  2007-08-31
 

@dan_w

Thanks for a great modification of the New Products block.  I’m having fun customizing it for various attributes. 

One issue I have with both your block and the default product_new block is a glacial load time.  It’s so slow.  I turn on the profiler and can see that the homepage.phtml or new.phtml are taking up tons of time to load.  And I only have three products in my database. 

Thing is I notice that this long load time happens only after I’ve imported products—not particularly when I’ve manually entered them.  Any ideas why this would be happening?  Sometimes after an import I can’t even get the homepage to load up, the server times out.

 
Magento Community Magento Community
Magento Community
Magento Community
 
alkarim
Sr. Member
 
Total Posts:  250
Joined:  2008-04-10
 

hi,

this code :
{{block type="catalog/product_homepage" name="home.catalog.product.homepage" alias="product_homepage" template="catalog/product/homepage.phtml"}}

where should I place this code to ?

CMS -> homepage->content at admin ? or at the source code ? homepage.php ?

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
mytechfactory
Sr. Member
 
Avatar
Total Posts:  78
Joined:  2007-12-27
New York, NY
 
alkarim - 23 April 2008 09:44 PM

hi,

this code :
{{block type="catalog/product_homepage" name="home.catalog.product.homepage" alias="product_homepage" template="catalog/product/homepage.phtml"}}

where should I place this code to ?

CMS -> homepage->content at admin ? or at the source code ? homepage.php ?

thanks

CMS --> Manage Page --> Home Page --> Content Box

 Signature 

To Be Magento’d
http://www.mytechfactory.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
alkarim
Sr. Member
 
Total Posts:  250
Joined:  2008-04-10
 

hi mytechfactory,

I’ve added {{block type… }} into CMS->Manage Page->home page->content Box,
added file homepage.phtml into : app/design/frontend/default/default/template/catalog/product/
added file homepage.php into : app/code/core/Mage/Catalog/Block/Product/
and created attribute named : home_page_featured with yes/no feature

why I can’t show the product on homepage ?
thanks again

 
Magento Community Magento Community
Magento Community
Magento Community
 
jeff_fr
Jr. Member
 
Total Posts:  2
Joined:  2008-04-23
 
alkarim - 23 April 2008 11:03 PM

hi mytechfactory,

I’ve added {{block type… }} into CMS->Manage Page->home page->content Box,
added file homepage.phtml into : app/design/frontend/default/default/template/catalog/product/
added file homepage.php into : app/code/core/Mage/Catalog/Block/Product/
and created attribute named : home_page_featured with yes/no feature

why I can’t show the product on homepage ?
thanks again

Have you ever selected some products with “home_page_featured” to “yes” ?

+

 
Magento Community Magento Community
Magento Community
Magento Community
 
alkarim
Sr. Member
 
Total Posts:  250
Joined:  2008-04-10
 

oh yes, I’ve figure it out… and works fine

the problem is I save homepage.php using h lowercase, meanwhile it use H uppercase. when I changed , it works,....

I don’t know why.. ?  can you please tell me why ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
RyanAtBack40
Jr. Member
 
Total Posts:  15
Joined:  2008-02-13
 
cshontz - 23 April 2008 01:10 PM

Anyone have any luck randomizing the attribute filter results? I haven’t messed with it since my last post.

Just below >
$products = $product->setStoreId($storeId)->getCollection()
->addAttributeToFilter(’home_page_featured’, array(’yes’=>true))
->addAttributeToSelect(array(’name’, ‘price’, ‘small_image’, ‘description’), ‘inner’)
->addAttributeToSelect(array(’special_price’, ‘special_from_date’, ‘special_to_date’), ‘left’)
;
Add >
$products->getSelect()->order(’rand()’);

 
Magento Community Magento Community
Magento Community
Magento Community
 
patriciamg
Jr. Member
 
Total Posts:  12
Joined:  2008-03-14
 

Please HELP!!!!
I still haven´t fix this issue here:

I´ve set my homepage to display new products and it´s working fine, except when it comes to present the products in more than one line/row. I currently have 8 new products so, the ideal situation would be showing those 8 products in two rows 4+4. But if I adjust the product limit to 8, the products will be displayed in the same row!!!!!
Isn´t there a way to either display one row and have a “next page” button to show the rest? or at least have more than one row displayed???
I don´t understand why nowone else is getting this same problem....

(pic in attachment)

thanks

Image Attachments
1.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
joseph
Jr. Member
 
Total Posts:  11
Joined:  2007-12-19
Winnipeg, Manitoba, Canada
 

I have installed this module, and it works fine with one exception.  After selecting an item, it shows up in the list of featured products....even after I have later set the status to ‘no’.
The cache has been refreshed, but still no change.
Any ideas?  I’ll give a prize to whoever can help me. smile

 Signature 

WInnipeg Web Design & New Media Marketing
http://www.vinemultimedia.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
Kimura
Member
 
Avatar
Total Posts:  42
Joined:  2008-04-21
Hungary
 

have you got a filter to new.php, what’s doing this:

you can’t see the out of box products at the homepage ?

Thanks

 Signature 

sokkal szerényebben

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 800.374.8146 (North America) 757.278.0920 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
33438 users|320 users currently online|74335 forum posts