[TYPO3-commerce] fesearchintable showing DELIVERY and PAYMENT !!!!!!!!
Franz Koch
typo.removeformessage at fx-graefix.de
Tue Jan 22 10:49:27 CET 2008
Hi,
>> you can just index article_types 1.
>>
>
> Thanks Ingo. could you kindly mention where I should enter this value ?
in the TS that is generating the query in fesearchintable. But according
to the manual of fesearchintable that might not be possibe, because you
would have to include a second table (the articles table) in the query
to get a relation to the article_type.
As the payment and delivery articles are not varying, you could simply
exclude their uids from the query:
----
plugin.tx_fesearchintable_pi1 {
tx_commerce_products.selectAdditionalParams = AND uid NOT IN (1,2,3,4)
}
----
where '1,2,3,4' is the uid list you would like to exclude. Alternatively
you could try to use a very trick TS snipped here, because
selectAdditionalParams has stdWrap properties. You could create a
TSobject below selectAdditionalParams, perform a second query there,
that returns the uids that should not be included in the search and wrap
those uid with the propper WHERE condition.
I could tell you how that probably would work, but sorry, that's a bit
to much for now - you first have to try it yourself before I begin doing
your work. I write that, because I never used this extension before and
just had a look in the manual of that extension and the wiki to give you
the answer above. That's time I don't get paid for - but you do - and
therefor you have to show that you are willing to learn and not just
copy and paste.
--
Greetings,
Franz
More information about the TYPO3-project-commerce
mailing list