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 Layout with Search Resultlist
 
Daim
Sr. Member
 
Total Posts:  172
Joined:  2008-01-08
Germany
 

Hello,

i great an new Page Layout for CMS-Page. Now i will add a Resultlist at the bottom. The QueryString is fix in teh Sourcecode

$this->setData('query''test product');

$test = new Mage_CatalogSearch_Helper_Data();

 
$test->getProductListHtml();
echo 
"debug ".$test->getQueryText();

Any idea?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Daim
Sr. Member
 
Total Posts:  172
Joined:  2008-01-08
Germany
 

I use

$collection $this->getData('suggest_collection');
if (
is_null($collection)) {
    $collection 
Mage::getResourceModel('catalogsearch/query_collection')
        ->
setQueryFilter($this->getQueryText());
    
$this->setData('suggest_collection'$collection);
}

but this is not the right collection. The array contains only the name from the product.

Nobody can help?

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