[TYPO3-commerce] Bug or intended?

Rik Willems rik at actiview.nl
Wed Aug 25 08:34:01 CEST 2010


There is something that relates to this. It is possible to add a product 
to multiple categories. But the link will always hold the catUid of the 
first category. This messes up the rootline and back links as you can 
imagine. Although I haven't worked out a solution for this I wanted to 
share it with you.

Cheers!

Op 24-8-2010 15:00, Ingo Schmitt schreef:
> Hi Frank,
>
> sounds reasonable. Could you please create a bug, patchfile and post it to the team-list?
>
> ingo
>> Hi,
>>
>> while working with commerce and the display of categories with their sub
>> products, I found a behavior of which I don't know whether this is intended.
>> Following situation:
>> Parent cat
>>>> Sub cat 1
>>>>>> Product 1
>>>>>> Product 2
>>>> Sub cat 2
>>>>>> Product 3
>>>>>> Product 4
>> When displaying the Parent cat with all sub products (thus Product 1 - 4)
>> grouped by category, the typolink for the products receives the
>> additionalParameter [catUid] with the ID of the Parent cat instead of the ID of
>> Sub cat 1 (for Product 1 - 2) respectively the ID of Sub cat 2 (for Product 3 -
>> 4).
>> For me this is not that logical. At least there should be an option to switch
>> between these two modes.
>>
>> The responsible line is in lib/tx_commerce_pibase.php #1536 (latest trunk
>> version):
>> $typoLinkConf['additionalParams'].=
>> ini_get('arg_separator.output').$this->prefixId.'[catUid]='.$cat;
>> Replacing $cat by $myProduct->getMasterparentCategorie() would be the easiest
>> solution in my opinion.
>>
>> What do you think?
>>
>> Greetings
>>
>> Franz Steinmetz
>>
>>
>> franzlst at yahoo.de
>> http://www.roboshow.de
>> http://www.jsg-abi2008.de
>> http://www.kalender.jsg-abi2008.de
>>
>>
>>
>> _______________________________________________
>> TYPO3-project-commerce mailing list
>> TYPO3-project-commerce at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>>
>>
>
>
> Mit freundlichen Gruessen
> Ingo Schmitt
>


More information about the TYPO3-project-commerce mailing list