[TYPO3-commerce] Search inside tx-commerce

Luc Muller l.mul-nospam-ler at ameos.com
Mon Apr 23 17:50:34 CEST 2007


I got it

in class.wc_com_search.php

at line 82

added : $this->conf['overridePid'] = $this->conf['searchInPid'];

hope this helps

Luc =:0)

"Luc Muller" <l.mul-nospam-ler at ameos.com> a écrit dans le message de news: 
mailman.1.1177339636.14289.typo3-project-commerce at lists.netfielders.de...
> Hi list.
>
> I've installed the wc_com_search but I can't get any results when enabling 
> search in products.
> I setted the typoscript in my template as mentionned
>
> here it is
>
> ##
> ### Search extension for Commerce
> ###
> # This enables the search to be restricted to products
> plugin.tx_wccomsearch.searchInCommerce = 1
>
> # The product detail page id
> plugin.tx_wccomsearch.searchInPid = {$plugin.tx_commerce_lib.overridePid}
>
> # Template for the results
> plugin.tx_indexedsearch.templateFile = EXT:wc_com_search/template_css.tmpl
>
> ### Disable indexing by default, as we only want products
> config.index_enable = 0
>
> ### Enable indexing if we are viewing a product
> [globalVar = GP:tx_commerce_pi1|showUid > 0 ]
> config.index_enable = 1
> [end]
> [globalVar = GP:tx_commerce_pi1|basketHashValue > 0 ]
> config.index_enable = 0
> [end]
>
> I've just added the param to not index pages with basket hash value.
>
> If I set plugin.tx_wccomsearch.searchInCommerce = 1 to = 0
> then indexed pages are found.
>
> is there a special way to use this extension that I'm missing ?
>
> in another way.
> i f I set plugin.tx_wccomsearch.searchInCommerce = 0
> then the results for the indexed search are not the same if I'm logged or 
> not.
> Anyone got an idea about those issues ?
>
> "Sebastian Stanger" <typo3 at stanger.org> a écrit dans le message de news: 
> mailman.1.1175074257.29920.typo3-project-commerce at lists.netfielders.de...
>> Andreas Regneri wrote:
>>
>>> Is it possible to use index_search inside tx-commerce?
>>
>> Have a look at this:
>> http://bugs.typo3-commerce.org/view.php?id=204
>>
>> There you can find a solution for the problem.
>>
>> best regards,
>>
>> Sebastian
>
> 




More information about the TYPO3-project-commerce mailing list