title: How can i create custom YMM in magento?
body: <p>We are developing a online store for car auto parts<br>
  So that we need to filter product on the base of year,make and model attribute. <br/> For that i create custom module  <br/> Modules block code goes here...<code>
  
  
  <pre><code> public function getYears(){
  
      $attribute = Mage::getModel('eav/config')-&gt;getAttribute('catalog_product', 'year'); 
      $option = $attribute-&gt;getSource()-&gt;getAllOptions(true);
      return  $option;
  }
   public function getMake(){
  
       $attribute = Mage::getModel('eav/config')-&gt;getAttribute('catalog_product', 'make'); 
       $option = $attribute-&gt;getSource()-&gt;getAllOptions(true);
       return     $option;
      }
  
   public function getModel(){
       $attribute = Mage::getModel('eav/config')-&gt;getAttribute('catalog_product', 'model'); 
       $option = $attribute-&gt;getSource()-&gt;getAllOptions(true);
       return $option;    
  }
  </code></pre>
  
  <p>}</p>
  
  <p></code><br/></p>
  
  <p>Via above function i get my configurable products attributes option and values depend on the basis of these attribute selection i want to show products on the home page? <br/>How can  i do?<br/>  >Thanks in advance..</p>