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

Show attribute values on homepage
 
G Matthieu
Jr. Member
 
Total Posts:  5
Joined:  2008-09-10
 

Hi everybody,

In my project, I use an attribute which stores the type of a battery. I would like to list all the active values for this attribute on my homepage, as it is done for example on this website : http://www.artbambou.net/ (look at “Recherche par matière").

First I add a block to my homepage, tanks to the admin section :

<h1>Home page</h1>

{{block type=catalog/navigation template=homepage/galerie-accueil.phtml}}

In this file galerie-accueil.phtml, I put the following code :

<?php    $filter$this->getFilters() ;
var_dump ($filter); ?>

But it returns NULL, that would have been too easy ...
So if someone could take a few time to help me, I would really appreciate that. smile

Thanks,
Matthieu

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