[TYPO3-shop] Problem with multiple language
Roderic Andara
marno at podlech.de
Mon Apr 9 12:28:27 CEST 2007
"Tapio Markula" <tapio.markula at atwebteam.com> schrieb im Newsbeitrag
news:mailman.1.1174475961.25926.typo3-project-tt-products at lists.netfielders.de...
> Stephan Petzl kirjoitti:
>> Tapio Markula schrieb:
>>> Hi
>>>
>>> Selecting alternative language, list shows
>>> the same item several times but.
>>> Both items and categories have alternative language.
>>> Only products in default language are listed correctly.
>>
>> you are right. just noticed that i have the same problem in listview.
>> thought that the multilanguage support is fully functional...
>>
>> please help!
>
> I proposed my customer giving up using multilingual category menu
> and use pages as categories instead. More pages and sys folders for
> products.
>
> Reason for this behavior seems to be
> language configuration for the table
>
> plugin.tt_products.conf.tt_products_cat.ALL.language.type = table
Hi,
Here is a quick and dirty patch for this. Just modify the file
"[extension_dir]/view/class.tx_ttproducts_list_view.php"
and add
$queryParts["GROUPBY"]="products.uid";
on line 480.
Don´t forget to add
"plugin.tt_products.conf.tt_products_cat.ALL.language.type = table" to your
TS.
This worked perfectly for me.
More information about the TYPO3-project-tt-products
mailing list