[TYPO3-commerce] Bug or intended?

Ingo Schmitt is at marketing-factory.de
Tue Aug 24 15:00:40 CEST 2010


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

-- 
Marketing Factory Consulting GmbH  *   mailto:is at marketing-factory.de
Stephanienstrasse 36               *          Tel.: +49 211-361176-63
D-40211 Duesseldorf, Germany       *          Fax:  +49 211-361176-99
Amtsgericht Duesseldorf HRB 53971  * http://www.marketing-factory.de/

Geschaeftsfuehrer:    Peter Faisst   |   Katja Faisst
Karoline Steinfatt   |   Christoph Allefeld   |   Markus M. Kimmel



More information about the TYPO3-project-commerce mailing list